Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,53 @@
under the License.
-->

# v3.2.0

## New Features:

- Add Asset Partitioning support: backfill for partitioned DAGs ([#61464](https://github.com/apache/airflow/pull/61464))
- Add `partition_key` to `DagRunAssetReference` ([#61725](https://github.com/apache/airflow/pull/61725))
- Add partition key column and filter to DAG Runs list ([#61939](https://github.com/apache/airflow/pull/61939))
- Add `DagRunType` for asset materializations ([#62276](https://github.com/apache/airflow/pull/62276))
- Add `allowed_run_types` to allowlist specific DAG run types ([#61833](https://github.com/apache/airflow/pull/61833))
- Add DAG runs filters by `bundleVersion` ([#62810](https://github.com/apache/airflow/pull/62810))
- Expose `timetable_partitioned` in UI API ([#62777](https://github.com/apache/airflow/pull/62777))
- Add base React plugin destination ([#62530](https://github.com/apache/airflow/pull/62530))
- Add `team_name` to Pool APIs ([#60952](https://github.com/apache/airflow/pull/60952))
- Add `team_name` to connection public APIs ([#59336](https://github.com/apache/airflow/pull/59336))
- Add `team_id` to variable APIs ([#57102](https://github.com/apache/airflow/pull/57102))
- Add team selector to list variables and list connections pages ([#60995](https://github.com/apache/airflow/pull/60995))
- Support OR operator in search parameters ([#60008](https://github.com/apache/airflow/pull/60008))
- Add wildcard support for `dag_id` and `dag_run_id` in bulk task instance endpoint ([#57441](https://github.com/apache/airflow/pull/57441))
- Add `operator_name_pattern`, `pool_pattern`, `queue_pattern` as search filters for task instances ([#57571](https://github.com/apache/airflow/pull/57571))
- Add filters to Task Instances tab ([#56920](https://github.com/apache/airflow/pull/56920))
- Add API support for filtering DAGs by timetable type ([#58852](https://github.com/apache/airflow/pull/58852))
- Enable triggerer queues ([#59239](https://github.com/apache/airflow/pull/59239))
- Add ability to add, edit, and delete XComs directly from UI ([#58921](https://github.com/apache/airflow/pull/58921))
- Add HITL detail history ([#55952](https://github.com/apache/airflow/pull/55952), [#56760](https://github.com/apache/airflow/pull/56760))
- Add update_mask support for bulk PATCH APIs ([#54597](https://github.com/apache/airflow/pull/54597))
- Introduce named asset watchers ([#55643](https://github.com/apache/airflow/pull/55643))
- Add DAG ID pattern search functionality to DAG Runs and Task Instances ([#55691](https://github.com/apache/airflow/pull/55691))
- Add UI to allow creation of DAG Runs with partition key ([#58004](https://github.com/apache/airflow/pull/58004))
- Support retry multiplier parameter ([#56866](https://github.com/apache/airflow/pull/56866))
- Display active DAG runs count in header with auto-refresh ([#58332](https://github.com/apache/airflow/pull/58332))
- Add checkbox before clear task confirmation to prevent rerun of tasks in Running state ([#56351](https://github.com/apache/airflow/pull/56351))

## Improvements:

- Upgrade FastAPI and conform OpenAPI schema changes ([#61476](https://github.com/apache/airflow/pull/61476))
- Use SQLAlchemy native `Uuid`/`JSON` types instead of `sqlalchemy-utils` ([#61532](https://github.com/apache/airflow/pull/61532))
- Remove team ID and use team name as primary key ([#59109](https://github.com/apache/airflow/pull/59109))
- Update `BulkDeleteAction` to use generic type ([#59207](https://github.com/apache/airflow/pull/59207))
- Add link to API docs ([#53346](https://github.com/apache/airflow/pull/53346))

## Bug Fixes:

- Fix null `dag_run_conf` in `BackfillResponse` serialization ([#63259](https://github.com/apache/airflow/pull/63259))
- Fix missing `dag_id` filter on DAG Run query ([#62750](https://github.com/apache/airflow/pull/62750))
- Fix `HITLResponse` data model name ([#57795](https://github.com/apache/airflow/pull/57795))
- Remove unused parameter in logout ([#58045](https://github.com/apache/airflow/pull/58045))

# v3.1.8

## Bug Fixes:
Expand Down
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,6 @@

# Apache Airflow Python Client

> [!NOTE]
> Code in this repository is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)
> project using Open-API specification from the Apache Airflow repository.
>
> The process of generating the code is described in the
> [Python Client Readme](https://github.com/apache/airflow/blob/main/clients/README.md).
> We enabled [GitHub discussions](https://github.com/apache/airflow-client-python/discussions)
> in the `airflow-client-python` repository, and we encourage you to start discussions if you have any questions
> or suggestions to improve the client. However, in case the discussions result in a need to create an
> actionable issuee, the issues in this repo are deliberately not enabled.
>
> Instead, you should create GitHub issues or even PRs improving the client
> in the main [Apache Airflow repository](https://github.com/apache/airflow) and test it by generating the
> client locally following the instructions from the repo.


# Overview

To facilitate management, Apache Airflow supports a range of REST API endpoints across its
Expand All @@ -49,7 +33,6 @@ Content-type: application/json
Accept: application/json
```


## Resources

The term `resource` refers to a single type of object in the Airflow metadata. An API is broken up by its
Expand Down Expand Up @@ -647,6 +630,7 @@ You can also set it by env variable: `export AIRFLOW__CORE__LOAD_EXAMPLES=True`

* optionally expose configuration (NOTE! that this is dangerous setting). The script will happily run with
the default setting, but if you want to see the configuration, you need to expose it.
Note that sensitive configuration values are always masked.
In the `[api]` section of your `airflow.cfg` set:

```ini
Expand Down
12 changes: 11 additions & 1 deletion airflow_client/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "3.1.8"
__version__ = "3.2.0"

# Define package exports
__all__ = [
Expand Down Expand Up @@ -65,6 +65,7 @@
"AssetEventCollectionResponse",
"AssetEventResponse",
"AssetResponse",
"AssetWatcherResponse",
"BackfillCollectionResponse",
"BackfillPostBody",
"BackfillResponse",
Expand Down Expand Up @@ -132,6 +133,9 @@
"DryRunBackfillCollectionResponse",
"DryRunBackfillResponse",
"EntitiesInner",
"EntitiesInner1",
"EntitiesInner2",
"EntitiesInner3",
"EventLogCollectionResponse",
"EventLogResponse",
"ExternalLogUrlResponse",
Expand All @@ -141,6 +145,7 @@
"FastAPIRootMiddlewareResponse",
"HITLDetail",
"HITLDetailCollection",
"HITLDetailHistory",
"HITLDetailResponse",
"HITLUser",
"HTTPExceptionResponse",
Expand Down Expand Up @@ -255,6 +260,7 @@
from airflow_client.client.models.asset_event_collection_response import AssetEventCollectionResponse as AssetEventCollectionResponse
from airflow_client.client.models.asset_event_response import AssetEventResponse as AssetEventResponse
from airflow_client.client.models.asset_response import AssetResponse as AssetResponse
from airflow_client.client.models.asset_watcher_response import AssetWatcherResponse as AssetWatcherResponse
from airflow_client.client.models.backfill_collection_response import BackfillCollectionResponse as BackfillCollectionResponse
from airflow_client.client.models.backfill_post_body import BackfillPostBody as BackfillPostBody
from airflow_client.client.models.backfill_response import BackfillResponse as BackfillResponse
Expand Down Expand Up @@ -322,6 +328,9 @@
from airflow_client.client.models.dry_run_backfill_collection_response import DryRunBackfillCollectionResponse as DryRunBackfillCollectionResponse
from airflow_client.client.models.dry_run_backfill_response import DryRunBackfillResponse as DryRunBackfillResponse
from airflow_client.client.models.entities_inner import EntitiesInner as EntitiesInner
from airflow_client.client.models.entities_inner1 import EntitiesInner1 as EntitiesInner1
from airflow_client.client.models.entities_inner2 import EntitiesInner2 as EntitiesInner2
from airflow_client.client.models.entities_inner3 import EntitiesInner3 as EntitiesInner3
from airflow_client.client.models.event_log_collection_response import EventLogCollectionResponse as EventLogCollectionResponse
from airflow_client.client.models.event_log_response import EventLogResponse as EventLogResponse
from airflow_client.client.models.external_log_url_response import ExternalLogUrlResponse as ExternalLogUrlResponse
Expand All @@ -331,6 +340,7 @@
from airflow_client.client.models.fast_api_root_middleware_response import FastAPIRootMiddlewareResponse as FastAPIRootMiddlewareResponse
from airflow_client.client.models.hitl_detail import HITLDetail as HITLDetail
from airflow_client.client.models.hitl_detail_collection import HITLDetailCollection as HITLDetailCollection
from airflow_client.client.models.hitl_detail_history import HITLDetailHistory as HITLDetailHistory
from airflow_client.client.models.hitl_detail_response import HITLDetailResponse as HITLDetailResponse
from airflow_client.client.models.hitl_user import HITLUser as HITLUser
from airflow_client.client.models.http_exception_response import HTTPExceptionResponse as HTTPExceptionResponse
Expand Down
Loading
Loading