diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 0d27630b70800..146c661c84ffa 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -21,13 +21,65 @@ .. towncrier release notes start +Airflow 2.10.4 (2024-12-09) +--------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +TaskInstance ``priority_weight`` is capped in 32-bit signed integer ranges (#43611) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +Some database engines are limited to 32-bit integer values. As some users reported errors in +weight rolled-over to negative values, we decided to cap the value to the 32-bit integer. Even +if internally in python smaller or larger values to 64 bit are supported, ``priority_weight`` is +capped and only storing values from -2147483648 to 2147483647. + +Bug Fixes +^^^^^^^^^ + +- Fix stats of dynamic mapped tasks after automatic retries of failed tasks (#44300) +- Fix wrong display of multi-line messages in the log after filtering (#44457) +- Allow "/" in metrics validator (#42934) (#44515) +- Fix gantt flickering (#44488) (#44517) +- Fix problem with inability to remove fields from Connection form (#40421) (#44442) +- Check pool_slots on partial task import instead of execution (#39724) (#42693) +- Avoid grouping task instance stats by try_number for dynamic mapped tasks (#44300) (#44319) +- Re-queue task when they are stuck in queued (#43520) (#44158) +- Suppress the warnings where we check for sensitive values (#44148) (#44167) +- Fix get_task_instance_try_details to return appropriate schema (#43830) (#44133) +- Log message source details are grouped (#43681) (#44070) +- Fix duplication of Task tries in the UI (#43891) (#43950) +- Add correct mime-type in OpenAPI spec (#43879) (#43901) +- Disable extra links button if link is null or empty (#43844) (#43851) +- Disable XCom list ordering by execution_date (#43680) (#43696) +- Fix venv numpy example which needs to be 1.26 at least to be working in Python 3.12 (#43659) +- Fix Try Selector in Mapped Tasks also on Index 0 (#43590) (#43591) +- Prevent using ``trigger_rule="always"`` in a dynamic mapped task (#43810) +- Prevent using ``trigger_rule=TriggerRule.ALWAYS`` in a task-generated mapping within bare tasks (#44751) + +Doc Only Changes +"""""""""""""""" +- Update XCom docs around containers/helm (#44570) (#44573) + +Miscellaneous +""""""""""""" +- Raise deprecation warning when accessing inlet or outlet events through str (#43922) + + Airflow 2.10.3 (2024-11-04) --------------------------- Significant Changes ^^^^^^^^^^^^^^^^^^^ -No significant changes. +Enhancing BashOperator to Execute Templated Bash Scripts as Temporary Files (44641) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +Bash script files (``.sh`` and ``.bash``) with Jinja templating enabled (without the space after the file +extension) are now rendered into a temporary file, and then executed. Instead of being directly executed +as inline command. + Bug Fixes """"""""" @@ -62,6 +114,7 @@ Bug Fixes - Ensure total_entries in /api/v1/dags (#43377) (#43429) - Include limit and offset in request body schema for List task instances (batch) endpoint (#43479) - Don't raise a warning in ExecutorSafeguard when execute is called from an extended operator (#42849) (#43577) +- Double-check TaskInstance state if it differs from the Executor state.(#43063) Miscellaneous """"""""""""" diff --git a/airflow/reproducible_build.yaml b/airflow/reproducible_build.yaml index 921cef1c89adf..253e4e793cff1 100644 --- a/airflow/reproducible_build.yaml +++ b/airflow/reproducible_build.yaml @@ -1,2 +1,2 @@ -release-notes-hash: 6aa54b840e9fc2e48cf7046507e6930b -source-date-epoch: 1730460817 +release-notes-hash: 0867869dba7304e7ead28dd0800c5c4b +source-date-epoch: 1733822937 diff --git a/newsfragments/43191.improvement.rst b/newsfragments/43191.improvement.rst deleted file mode 100644 index eb6a2181bd06f..0000000000000 --- a/newsfragments/43191.improvement.rst +++ /dev/null @@ -1 +0,0 @@ -Bash script files (``.sh`` and ``.bash``) with Jinja templating enabled (without the space after the file extension) are now rendered into a temporary file, and then executed. Instead of being directly executed as inline command. diff --git a/newsfragments/43611.significant.rst b/newsfragments/43611.significant.rst deleted file mode 100644 index e25fb2a5bba4b..0000000000000 --- a/newsfragments/43611.significant.rst +++ /dev/null @@ -1,6 +0,0 @@ -TaskInstance ``priority_weight`` is capped in 32-bit signed integer ranges. - -Some database engines are limited to 32-bit integer values. As some users reported errors in -weight rolled-over to negative values, we decided to cap the value to the 32-bit integer. Even -if internally in python smaller or larger values to 64 bit are supported, ``priority_weight`` is -capped and only storing values from -2147483648 to 2147483647. diff --git a/newsfragments/44300.bugfix.rst b/newsfragments/44300.bugfix.rst deleted file mode 100644 index ffd4b07b2ab0d..0000000000000 --- a/newsfragments/44300.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix stats of dynamic mapped tasks after automatic retries of failed tasks