You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,27 @@
17
17
under the License.
18
18
-->
19
19
20
+
#v3.1.3
21
+
22
+
##New Features:
23
+
24
+
- Add query limit protection to prevent excessive database queries in DAG runs list endpoints ([#57450](https://github.com/apache/airflow/pull/57450))
25
+
- Change`extra` field type to`dict[str, JsonValue]` for Asset, AssetAlias, and AssetEvent models ([#57352](https://github.com/apache/airflow/pull/57352))
26
+
- Add`task_display_name` alias field to EventLogResponse for better task identification ([#55160](https://github.com/apache/airflow/pull/55160))
27
+
- Add`is_favorite` field to DAGs list API to support user-specific DAG favorites ([#56341](https://github.com/apache/airflow/pull/56341))
28
+
29
+
##Improvements:
30
+
31
+
- Enhance API documentation for sorting functionality ([#56617](https://github.com/apache/airflow/pull/56617))
32
+
- Improve API documentation for the`order_by` query parameter ([#55988](https://github.com/apache/airflow/pull/55988))
33
+
- Remove deprecated`dagReports` API endpoint ([#56609](https://github.com/apache/airflow/pull/56609))
34
+
35
+
##Bug Fixes:
36
+
37
+
- Fix logout functionality in airflow-core to properly handle session termination ([#57990](https://github.com/apache/airflow/pull/57990))
38
+
- Fix API endpoint for clearing task instances to properly support mapped task instances with specific map indexes ([#56346](https://github.com/apache/airflow/pull/56346))
name_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
1783
-
order_by:Optional[List[StrictStr]]=None,
1783
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name`")]=None,
1784
1784
_request_timeout:Union[
1785
1785
None,
1786
1786
Annotated[StrictFloat,Field(gt=0)],
@@ -1804,7 +1804,7 @@ def get_asset_aliases(
1804
1804
:type offset: int
1805
1805
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1806
1806
:type name_pattern: str
1807
-
:param order_by:
1807
+
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name`
1808
1808
:type order_by: List[str]
1809
1809
:param _request_timeout: timeout setting for this request. If one
name_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
1866
-
order_by:Optional[List[StrictStr]]=None,
1866
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name`")]=None,
name_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
1949
-
order_by:Optional[List[StrictStr]]=None,
1949
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name`")]=None,
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`")]=None,
2111
2111
asset_id:Optional[StrictInt]=None,
2112
2112
source_dag_id:Optional[StrictStr]=None,
2113
2113
source_task_id:Optional[StrictStr]=None,
@@ -2138,7 +2138,7 @@ def get_asset_events(
2138
2138
:type limit: int
2139
2139
:param offset:
2140
2140
:type offset: int
2141
-
:param order_by:
2141
+
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`")]=None,
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`")]=None,
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`
2372
2372
:type order_by: List[str]
2373
2373
:param asset_id:
2374
2374
:type asset_id: int
@@ -2902,7 +2902,7 @@ def get_assets(
2902
2902
uri_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
2903
2903
dag_ids:Optional[List[StrictStr]]=None,
2904
2904
only_active:Optional[StrictBool]=None,
2905
-
order_by:Optional[List[StrictStr]]=None,
2905
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`")]=None,
2906
2906
_request_timeout:Union[
2907
2907
None,
2908
2908
Annotated[StrictFloat,Field(gt=0)],
@@ -2932,7 +2932,7 @@ def get_assets(
2932
2932
:type dag_ids: List[str]
2933
2933
:param only_active:
2934
2934
:type only_active: bool
2935
-
:param order_by:
2935
+
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`
2936
2936
:type order_by: List[str]
2937
2937
:param _request_timeout: timeout setting for this request. If one
uri_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
2998
2998
dag_ids:Optional[List[StrictStr]]=None,
2999
2999
only_active:Optional[StrictBool]=None,
3000
-
order_by:Optional[List[StrictStr]]=None,
3000
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`")]=None,
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`
3031
3031
:type order_by: List[str]
3032
3032
:param _request_timeout: timeout setting for this request. If one
uri_pattern:Annotated[Optional[StrictStr],Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")]=None,
3093
3093
dag_ids:Optional[List[StrictStr]]=None,
3094
3094
only_active:Optional[StrictBool]=None,
3095
-
order_by:Optional[List[StrictStr]]=None,
3095
+
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`")]=None,
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`
3126
3126
:type order_by: List[str]
3127
3127
:param _request_timeout: timeout setting for this request. If one
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`")]=None,
1171
1171
_request_timeout:Union[
1172
1172
None,
1173
1173
Annotated[StrictFloat,Field(gt=0)],
@@ -1190,7 +1190,7 @@ def list_backfills(
1190
1190
:type limit: int
1191
1191
:param offset:
1192
1192
:type offset: int
1193
-
:param order_by:
1193
+
:param order_by: Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`
1194
1194
:type order_by: List[str]
1195
1195
:param _request_timeout: timeout setting for this request. If one
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`")]=None,
order_by:Annotated[Optional[List[StrictStr]],Field(description="Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`")]=None,