Repository navigation
Releases
Apache Airflow Python Client 3.4.0
New Features:
- Let plugins add their own actions to Dag, run and task instance rows (#75427)
- Add an API endpoint comparing two stored Dag versions (#73322)
- Allow filtering the Dag runs list by Dag tags (#70861)
- Add a draining state for graceful Dag pausing (#72407)
- Add bulk pause, drain and unpause actions to the Dags list (#73055)
- Add a Dag bundle detail endpoint listing the files in a bundle (#73009)
- Add an
is_scheduledfilter to the REST API (#72029) - Add an API endpoint for backfill Dag run entries (#67381)
- Add a bundle-version parameter to the Dag run trigger endpoint (#61550)
- Add an exact-match
urifilter toGET /assets(#69489) - Add
partition_keyandpartition_key_regexp_patternfilters for asset events (#64610) - Add extra-field filtering for asset events (#64611)
- Add filters and pagination to the jobs list (#68616)
- Add an Asset Tab plugin (#69986)
- Add React plugin support to Dag and task overviews (#69992)
- Add
owner_display_namesubstring and prefix filters to the Dag list (#70583) - Add a team column and filter to the Dag run and task instance lists (#70241)
- Add a team column and filter to the jobs list (#73295)
- Add a team column and filter to the XComs list (#72158)
- Add a team column and filter to the audit log (#71916)
- Add a team filter to the Human-in-the-loop task instances listing (#73726)
- Add Task Loops: expose loop iterations and outcomes via
loop_id/iterationfilters and aLoopIterationResponse(#74354) - Read current task executions by exact loop region (
region_id/region_index) and try (#74350) - Clear selected task-loop work and regenerate only what was replaced (#74349)
- Describe a task at a specific Dag version via the task endpoint (#74365)
- Filter task instances by
loop_idand a single loop pass (#74931)
Improvements:
- Expose the retry deadline on task instances and reset run fields when a retry starts (#76028)
- Surface the retry-policy decision on task instances (#73030)
- Attribute log, asset-event and asset-state writes to the task attempt (#74347)
- Expose an
in_loopflag on task instances (#74352) - Give every mapped expansion a loop region, including a
409on region conflicts (#74346) - Let loop gates record human-readable decisions (#74932)
- Number task loop iterations from one instead of zero (#75260)
- Deprecate cyclic TaskGroup dependencies, adding a
task group cycleDag warning (#73746) - Scope plugin views on any entity field, not a fixed criteria set (#74278)
- Allow scoping plugin tabs to specific Dags and tasks (#69148)
- Add a
team_nameattribute to plugins for multi-team (#69502) - Allow a Job to be associated with several teams (#73561)
- Expand the health endpoint reporting (#70416)
- Add
source_referenceandlanguageto the warning, import-error and Dag source models (#72474) - Add a
duplicate dag idDag warning type (#68791) - Show Dag bundle versions and refresh times (#72909)
- Show the owning team in asset dependencies (#71446)
- Show the owning team on Dag, Dag run and task instance detail responses (#70312)
- Add
owner_display_nameto the audit log (#68833) - Return a
file_tokenon Dag import errors for requesting a reparse (#72896) - Allow explicit runs to drain a paused Dag (#73763)
- Type
asset_expressionin the REST API so consumers need not cast through unknown (#67725) - Document HTTP statuses that route helpers raise (#74027)
- Keep OpenAPI error responses in sync with the statuses routes raise (#71647)
- Document favorite Dag's 409 and return a readable conflict message (#73411)
- Make
latest_dag_versiona required field on the Dag details response (#74247)
Bug Fixes:
- Clear retry-policy state when a task instance is cleared (#75646)
- Reject non-positive
max_active_runswhen creating a backfill (#75320) - Reject blank pool names and variable keys in the REST API (#75258)
- Fix HTTP 500 when ordering the Dag list by state or start date (#75148)
- Refuse a Human-in-the-loop response for a request the task has since replaced (#74982)
- Filter the jobs
is_alivecheck in SQL so pagination stays correct (#73684) - Discard a task instance's stored task-state values when it is cleared (#72100)
- Clear all task instances in a task group, not just the first page (#73547)
- Require a request body on the asset materialize endpoint (#73328)
- Hide unreadable assets in the asset expression served by
next_run_assets(#72864) - Stop reporting components as degraded after an instance restart (#73222)
- Return asset events for Dag runs without a start date (#71379)
- Fix the Dag detail HTTP 500 for Dags without a
fileloc(#69110)
Apache Airflow Python Client 3.3.2
Improvements:
- Document HTTP statuses that API routes raise but never declared (#71622)
Bug Fixes:
- Revoke every credential presented to the logout endpoint, not just the session cookie (#72933)
- Restore counts on the Dag Run and Task Instance lists (#72739)
- Return HTTP 404 from task state store endpoints for unknown task instances (#71860)
- Mark only a run's most recent asset event as triggering it (#71547)
Apache Airflow Python Client 3.3.1
Bug Fixes:
- Allow filtering Dag runs by partition date in the API (#70304)
- Simplify the API docs on pattern search (#70509)
- Document the 409 response from the XCom create endpoint (#71128)
- API: Return 503 when SQLite locks during backfill creation (#69659)
- Reject invalid partition keys in the create asset events API (#69581)
Apache Airflow Python Client 3.3.0
New Features:
- AIP-103: Add Core API endpoints for task state and asset state (#67041)
- AIP-103: Add patch task state core API and support for
expires_atin set API (#67319) - Add
awaiting_inputtask state for Human-in-the-loop (#68028) - Return dag-specified results in the dag run wait API (#64577)
- Add
POST /dags/{dag_id}/clearDagRunsbulk endpoint (#67709) - Add bulk delete Dag Runs (#67095)
- Add bulk update to mark Dag runs as success/failed (#67948)
- Clear, mark success/failed and delete multiple task instances (#64141)
- Add partition clear support to the REST API matching the CLI (#68702)
- Propagate
partition_dateto consumers of partitioned assets (#67285) - Add consumer-team asset filtering API endpoint support (#68034)
- Add Dag runs filters for Consuming Asset (#63624)
- Add async connection testing via workers for security isolation (#62343)
- Add
nav_top_leveloption for plugin nav items (#67084) - Implement patching of task group instances in the API (#62812)
- Add cursor-based pagination for the
get_dag_runsendpoint (#65604) - Add cursor-based pagination for the
get_task_instancesendpoint (#64845) - Support ordering
XComentries in the REST API (#65418) - Enable queueing up new tasks (#63484)
- Add the "is backfillable" property for Dags (#64644)
- Add
DagRunTypefor operator (#63733) - Pass
try_numberto the extra links API (#65661) - Add
rerun_with_latest_versionconfig hierarchy for clear/rerun behavior (#63884)
Improvements:
- Record writer info for every asset-store write for better cross-linkage (#67902)
- Apply note when clearing a Dag Run / task instances (#67639)
- Update search parameters to better leverage DB indexes (#64963)
- Filter task instances by rendered map index (#66008)
- Handle undecryptable Variable values gracefully in the Stable REST API (#65452)
- Surface import errors on deactivated Dags (#65687)
- Align Dag capitalization from "DAG" to "Dag" in the API (#66211, #66099, #66112)
Bug Fixes:
- Stop exposing trigger kwargs in the REST API response (#67868)
- Fix Dag run partition-key filter breaking on composite keys with
|(#68459) - Fix sort order for mapped task instances (#67551)
- Fix using the Dag form when materializing an asset (#64211)
- Fix
GET /auth/loginmissing 400 in the OpenAPI spec (#67571) - Fix
GET /poolslist endpoint incorrectly documenting 404 in the OpenAPI spec (#67570) - Fix backfill params not overriding existing Dag run conf (#64939)
- Fix
PATCH /dagspagination bug and document wildcarddag_id_pattern(#63665)
Apache Airflow Python Client 3.2.2
Improvements:
- UI: Filter task instances by rendered map index (#66008) (#67163)
- UI: Enable queue up new tasks (#63484) (#66869)
- Pass
try_numberto extra links API (#65661) (#66171) - Update search parameters to better leverage DB indexes (#64963) (#65964)
- Add cursor-based pagination for
get_dag_runsendpoint (#65604) (#65746) - Support ordering
XComentries in the REST API and UI (#65418) (#65600) - UI: Add Dag runs filters for Consuming Asset (#63624) (#65306)
- Align Dag capitalization from "DAG" to "Dag" in
core_api(#66211) (#66304)
Bug Fixes:
- Fix backfill params not overriding existing Dag run conf (#64939) (#65599)
- Fix
PATCH /dagspagination bug and document wildcarddag_id_pattern(#65309)
Apache Airflow Python Client 3.2.1
Bug Fixes:
- Fix: use Dag form when materializing asset (#64211
Apache Airflow Python Client 3.2.0
New Features:
- Add Asset Partitioning support: backfill for partitioned DAGs (#61464)
- Add
partition_keytoDagRunAssetReference(#61725) - Add partition key column and filter to DAG Runs list (#61939)
- Add
DagRunTypefor asset materializations (#62276) - Add
allowed_run_typesto allowlist specific DAG run types (#61833) - Add DAG runs filters by
bundleVersion(#62810) - Expose
timetable_partitionedin UI API (#62777) - Add base React plugin destination (#62530)
- Add
team_nameto Pool APIs (#60952) - Add
team_nameto connection public APIs (#59336) - Add
team_idto variable APIs (#57102) - Add team selector to list variables and list connections pages (#60995)
- Support OR operator in search parameters (#60008)
- Add wildcard support for
dag_idanddag_run_idin bulk task instance endpoint (#57441) - Add
operator_name_pattern,pool_pattern,queue_patternas search filters for task instances (#57571) - Add filters to Task Instances tab (#56920)
- Add API support for filtering DAGs by timetable type (#58852)
- Enable triggerer queues (#59239)
- Add ability to add, edit, and delete XComs directly from UI (#58921)
- Add HITL detail history (#55952, #56760)
- Add update_mask support for bulk PATCH APIs (#54597)
- Introduce named asset watchers (#55643)
- Add DAG ID pattern search functionality to DAG Runs and Task Instances (#55691)
- Add UI to allow creation of DAG Runs with partition key (#58004)
- Support retry multiplier parameter (#56866)
- Display active DAG runs count in header with auto-refresh (#58332)
- Add checkbox before clear task confirmation to prevent rerun of tasks in Running state (#56351)
Improvements:
- Upgrade FastAPI and conform OpenAPI schema changes (#61476)
- Use SQLAlchemy native
Uuid/JSONtypes instead ofsqlalchemy-utils(#61532) - Remove team ID and use team name as primary key (#59109)
- Update
BulkDeleteActionto use generic type (#59207) - Add link to API docs (#53346)
Bug Fixes:
Apache Airflow Python Client 3.1.8
Bug Fixes:
- Fix: 404 queued asset events from API server logs (apache/airflow#62934)
- Fix executor slots showing negative infinity (apache/airflow#61140)
- Fix Pool API slots validation (apache/airflow#61071)
- Add run_after alias to XComResponse for backward compatibility (apache/airflow#61443)
Apache Airflow Python Client 3.1.6
Bug Fixes:
- Update refresh token flow (apache/airflow#55506, apache/airflow#58649)
- Patch pools should have an optional description (apache/airflow#58066, apache/airflow#58169)
- Add task group ID filtering support to task instance query (apache/airflow#59511)
- Fix backfill run_on_latest_version defaulting to False instead of True (apache/airflow#59328)
3.1.3
New Features
Add query limit protection to prevent excessive database queries in DAG runs list endpoints (#57450)
Change extra field type to dict[str, JsonValue] for Asset, AssetAlias, and AssetEvent models (#57352)
Add task_display_name alias field to EventLogResponse for better task identification (#55160)
Add is_favorite field to DAGs list API to support user-specific DAG favorites (#56341)
Improvements
Enhance API documentation for sorting functionality (#56617)
Improve API documentation for the order_by query parameter (#55988)
Remove deprecated dagReports API endpoint (#56609)
Bug Fixes
Fix logout functionality in airflow-core to properly handle session termination (#57990)
Fix API endpoint for clearing task instances to properly support mapped task instances with specific map indexes (#56346)