Skip to content

Commit b93c3db

Browse files
committed
Update RELEASE_NOTES.rst
1 parent 37f6218 commit b93c3db

File tree

9 files changed

+55
-20
lines changed

9 files changed

+55
-20
lines changed

RELEASE_NOTES.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,59 @@
2121

2222
.. towncrier release notes start
2323

24+
Airflow 2.10.5 (2025-02-06)
25+
---------------------------
26+
27+
Significant Changes
28+
^^^^^^^^^^^^^^^^^^^
29+
30+
Ensure teardown tasks are executed when DAG run is set to failed (#45530)
31+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
32+
33+
Previously when a DAG run was manually set to "failed" or to "success" state the terminal state was set to all tasks.
34+
But this was a gap for cases when setup- and teardown tasks were defined: If teardown was used to clean-up infrastructure
35+
or other resources, they were also skipped and thus resources could stay allocated.
36+
37+
As of now when setup tasks had been executed before and the DAG is manually set to "failed" or "success" then teardown
38+
tasks are executed. Teardown tasks are skipped if the setup was also skipped.
39+
40+
As a side effect this means if the DAG contains teardown tasks, then the manual marking of DAG as "failed" or "success"
41+
will need to keep the DAG in running state to ensure that teardown tasks will be scheduled. They would not be scheduled
42+
if the DAG is directly set to "failed" or "success".
43+
44+
45+
Bug Fixes
46+
"""""""""
47+
48+
- Prevent using ``trigger_rule=TriggerRule.ALWAYS`` in a task-generated mapping within bare tasks (#44751)
49+
- Fix ShortCircuitOperator mapped tasks (#44912)
50+
- Fix premature evaluation of tasks with certain trigger rules (e.g. ``ONE_DONE``) in a mapped task group (#44937)
51+
- Fix task_id validation in BaseOperator (#44938) (#44938)
52+
- Allow fetching XCom with forward slash from the API and escape it in the UI (#45134)
53+
- Fix ``FileTaskHandler`` only read from default executor (#46000)
54+
- Fix empty task instance for log (#45702) (#45703)
55+
- Remove ``skip_if`` and ``run_if`` decorators before TaskFlow virtualenv tasks are run (#41832) (#45680)
56+
- Fix request body for json requests in event log (#45546) (#45560)
57+
- Ensure teardown tasks are executed when DAG run is set to failed (#45530) (#45581)
58+
- Do not update DR on TI update after task execution (#45348)
59+
- Fix object and array DAG params that have a None default (#45313) (#45315)
60+
- Fix endless sensor rescheduling (#45224) (#45250)
61+
- Evaluate None in SQLAlchemy's extended JSON type decorator (#45119) (#45120)
62+
- Allow dynamic tasks to be filtered by ``rendered_map_index`` (#45109) (#45122)
63+
- Handle relative paths when sanitizing URLs (#41995) (#45080)
64+
- Set Autocomplete Off on Login Form (#44929) (#44940)
65+
- Add Webserver parameters ``max_form_parts``, ``max_form_memory_size`` (#46243) (#45749)
66+
- Fixed accessing thread local variable in BaseOperators ``execute`` safeguard mechanism (#44646) (#46280)
67+
- Add map_index parameter to extra links API (#46337)
68+
69+
70+
Miscellaneous
71+
"""""""""""""
72+
73+
- Add traceback log output when SIGTERMs was sent (#44880) (#45077)
74+
- Removed the ability for Operators to specify their own "scheduling deps" (#45713) (#45742)
75+
- Deprecate ``conf`` from Task Context (#44993)
76+
2477
Airflow 2.10.4 (2024-12-09)
2578
---------------------------
2679

airflow/reproducible_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
release-notes-hash: 4c64543422c2823b475306f5e634d598
2-
source-date-epoch: 1737575461
1+
release-notes-hash: 8e5657e541a0bf44f777a4ec3ee442e3
2+
source-date-epoch: 1738582969

newsfragments/44751.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/44912.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/44937.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/44938.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/44968.misc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/45134.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/45530.significant.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)