Repository navigation
Releases: apache/airflow-client-python
Release list
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)
3.1.0
New Features:
- Add
map_indexfilter to TaskInstance API queries (#55614) - Add
has_import_errorsfilter to Core API GET /dags endpoint (#54563) - Add
dag_versionfilter to get_dag_runs endpoint (#54882) - Implement pattern search for event log endpoint (#55114)
- Add asset-based filtering support to DAG API endpoint (#54263)
- Add Greater Than and Less Than range filters to DagRuns and Task Instance list (#54302)
- Add
try_numberas filter to task instances (#54695) - Add filters to Browse XComs endpoint (#54049)
- Add Filtering by DAG Bundle Name and Version to API routes (#54004)
- Add search filter for DAG runs by triggering user name (#53652)
- Enable multi sorting (AIP-84) (#53408)
- Add
run_on_latest_versionsupport for backfill and clear operations (#52177) - Add
run_id_patternsearch for Dag Run API (#52437) - Add tracking of triggering user to Dag runs (#51738)
- Expose DAG parsing duration in the API (#54752)
New API Endpoints:
- Add Human-in-the-Loop (HITL) endpoints for approval workflows (#52868, #53373, #53376, #53885, #53923, #54308, #54310, #54723, #54773, #55019, #55463, #55525, #55535, #55603, #55776)
- Add endpoint to watch dag run until finish (#51920)
- Add TI bulk actions endpoint (#50443)
- Add Keycloak Refresh Token Endpoint (#51657)
Deprecations:
- Mark
DagDetailsResponse.concurrencyas deprecated (#55150)
Bug Fixes:
- Fix dag import error modal pagination (#55719)