This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new f3fec1b3b9a Update main with Airflow 3.0.5 release details (#54754) f3fec1b3b9a is described below commit f3fec1b3b9a9cbd4043aa62313d270f4a9a68f3e Author: Kaxil Naik <kaxiln...@apache.org> AuthorDate: Wed Aug 20 22:53:02 2025 +0100 Update main with Airflow 3.0.5 release details (#54754) --- .github/ISSUE_TEMPLATE/1-airflow_bug_report.yml | 2 +- Dockerfile | 2 +- README.md | 14 ++--- RELEASE_NOTES.rst | 59 ++++++++++++++++++++++ .../docs/installation/supported-versions.rst | 2 +- dev/breeze/src/airflow_breeze/global_constants.py | 2 +- docs/spelling_wordlist.txt | 1 + generated/PYPI_README.md | 10 ++-- reproducible_build.yaml | 4 +- scripts/ci/prek/supported_versions.py | 2 +- 10 files changed, 79 insertions(+), 19 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-airflow_bug_report.yml b/.github/ISSUE_TEMPLATE/1-airflow_bug_report.yml index fcb1e7b5d23..96db827404f 100644 --- a/.github/ISSUE_TEMPLATE/1-airflow_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1-airflow_bug_report.yml @@ -25,7 +25,7 @@ body: the latest release or main to see if the issue is fixed before reporting it. multiple: false options: - - "3.0.4" + - "3.0.5" - "2.11.0" - "main (development)" - "Other Airflow 2 version (please specify below)" diff --git a/Dockerfile b/Dockerfile index aacae17784d..ff0d112a150 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ ARG AIRFLOW_UID="50000" ARG AIRFLOW_USER_HOME_DIR=/home/airflow # latest released version here -ARG AIRFLOW_VERSION="3.0.4" +ARG AIRFLOW_VERSION="3.0.5" ARG PYTHON_BASE_IMAGE="python:3.10-slim-bookworm" diff --git a/README.md b/README.md index 52e432c57f8..3e22ea4b6cd 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Airflow is not a streaming solution, but it is often used to process real-time d Apache Airflow is tested with: -| | Main version (dev) | Stable version (3.0.4) | +| | Main version (dev) | Stable version (3.0.5) | |------------|------------------------|------------------------| | Python | 3.10, 3.11, 3.12, 3.13 | 3.9, 3.10, 3.11, 3.12 | | Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) | @@ -177,15 +177,15 @@ them to the appropriate format and workflow that your tool requires. ```bash -pip install 'apache-airflow==3.0.4' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.4/constraints-3.10.txt" +pip install 'apache-airflow==3.0.5' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.5/constraints-3.10.txt" ``` 2. Installing with extras (i.e., postgres, google) ```bash -pip install 'apache-airflow[postgres,google]==3.0.4' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.4/constraints-3.10.txt" +pip install 'apache-airflow[postgres,google]==3.0.5' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.5/constraints-3.10.txt" ``` For information on installing provider distributions, check @@ -275,7 +275,7 @@ packages: Changing limits for versions of Airflow dependencies is not a breaking change on its own. * **Airflow Providers**: SemVer rules apply to changes in the particular provider's code only. SemVer MAJOR and MINOR versions for the packages are independent of the Airflow version. - For example, `google 4.1.0` and `amazon 3.0.4` providers can happily be installed + For example, `google 4.1.0` and `amazon 3.0.5` providers can happily be installed with `Airflow 2.1.2`. If there are limits of cross-dependencies between providers and Airflow packages, they are present in providers as `install_requires` limitations. We aim to keep backwards compatibility of providers with all previously released Airflow 2 versions but @@ -299,7 +299,7 @@ Apache Airflow version life cycle: | Version | Current Patch/Minor | State | First Release | Limited Maintenance | EOL/Terminated | |-----------|-----------------------|-----------|-----------------|-----------------------|------------------| -| 3 | 3.0.4 | Supported | Apr 22, 2025 | TBD | TBD | +| 3 | 3.0.5 | Supported | Apr 22, 2025 | TBD | TBD | | 2 | 2.11.0 | Supported | Dec 17, 2020 | Oct 22, 2025 | Apr 22, 2026 | | 1.10 | 1.10.15 | EOL | Aug 27, 2018 | Dec 17, 2020 | June 17, 2021 | | 1.9 | 1.9.0 | EOL | Jan 03, 2018 | Aug 27, 2018 | Aug 27, 2018 | diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 1fe94d1381f..9ce241dc1e8 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -24,6 +24,65 @@ .. towncrier release notes start + +Airflow 3.0.5 (2025-08-20) +-------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +No significant changes. + +Bug Fixes +""""""""" + +- UI: Fix JSON field display in dark mode when using system OS theme detection (#54260) +- Restore proper DAG callback execution context (#53684) +- Restore ``get_previous_dagrun`` functionality for task context (#53655) +- Fix scheduler crashes with ``DetachedInstanceError`` when processing executor events (#54334) +- Fix ``DetachedInstanceError`` when accessing ``DagRun.created_dag_version`` (#54362) +- Fix Task SDK to respect custom default queue configuration from config settings (#52786) +- Fix: Cannot edit or delete pools with ``"/"`` in the name in the UI (#54268) +- Fix: Validate and handle invalid ``extra`` field in connections UI and API (#53963, #54034, #54235) +- Fix: Apply DAG permission filter to dashboard (#54215) +- Fix API validation error when DAG runs have bundle_version but no created_dag_version (#54010) +- Fix task configuration defaults not being read from configuration settings (#52871) +- Fix duplicate task group prefixes in task IDs when unmapping ``MappedOperators`` within ``TaskGroups`` (#53532) +- Fix custom ``XCom`` backends not being used when ``BaseXCom.get_all()`` is called (#53814) +- Fix ``xcom_pull`` ignoring ``include_prior_dates`` parameter when ``map_indexes`` is not specified (#53809) +- Allow setting and deleting Variables and XComs from triggers (#53514) +- Fix ``AttributeError`` when reading logs for previous task attempts with ``TaskInstanceHistory`` (#54114) +- Skip database queries for spans and metrics when tracing/metrics are disabled (#54404) +- UI: Fix Graph view edge rendering issues for nested task groups with excessive bends and misalignment (#54412) +- Allow database downgrade from Airflow 3.x to 2.11 (#54399, #54508) +- Reduce excessive warning logs when multiple deferred tasks are queued in triggerer (#54441) +- Fix log retrieval failures for in-progress tasks by properly configuring JWT authentication (#54444) +- Fix DAG import errors for invalid access control roles to persist consistently in UI (#54432) +- Fix task failure callbacks missing ``end_date`` and ``duration`` by populating ``TaskInstance`` data before invoking callbacks (#54458) +- Fix task retry overflow errors when calculating next retry datetime by capping delay to maximum configured value (#54460) +- Add missing ordering to ``AssetEvent`` queries in scheduler to maintain consistent event processing order (#52231) +- Fix XCom lookup failures in nested mapped task groups by correctly resolving ``map_index`` for upstream tasks (#54249) +- UI: Fix task name indentation in Graph view for deeply nested task groups beyond 5 levels (#54419) +- Run failure callbacks for task instances that get stuck in queued state and fail after requeue attempts (#54401) +- Make secrets masking work when connections are loaded from secrets backends (#54574, #54612) + +Miscellaneous +""""""""""""" + +- Set minimum version for ``common.messaging`` to ``1.0.3`` (#54176) +- Add IP validation to example_dag_decorator DAG (#54208) + +Doc Only Changes +"""""""""""""""" + +- Fix doc redirects for operators moved to the standard provider (#54251) +- Add FAQ entry about testing connections and "Canary" Dag (#54151) +- Add note about ruff rules and preview flag (#53331) +- Fix broken link in advanced logging config docs (#53460) +- Update dag bundles docs; add s3, fix git classpath (#53473) +- Fix example to use proper task context and logging instead of ``dag.log`` (#54463) +- Improve documentation navigation by hiding Public Interface subsections from sidebar while preserving page links (#54465) + Airflow 3.0.4 (2025-08-08) -------------------------- diff --git a/airflow-core/docs/installation/supported-versions.rst b/airflow-core/docs/installation/supported-versions.rst index 9ff6ed02aa7..e06a0302b0b 100644 --- a/airflow-core/docs/installation/supported-versions.rst +++ b/airflow-core/docs/installation/supported-versions.rst @@ -29,7 +29,7 @@ Apache Airflow® version life cycle: ========= ===================== ========= =============== ===================== ================ Version Current Patch/Minor State First Release Limited Maintenance EOL/Terminated ========= ===================== ========= =============== ===================== ================ -3 3.0.4 Supported Apr 22, 2025 TBD TBD +3 3.0.5 Supported Apr 22, 2025 TBD TBD 2 2.11.0 Supported Dec 17, 2020 Oct 22, 2025 Apr 22, 2026 1.10 1.10.15 EOL Aug 27, 2018 Dec 17, 2020 June 17, 2021 1.9 1.9.0 EOL Jan 03, 2018 Aug 27, 2018 Aug 27, 2018 diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index a3417e376a2..4238854c0aa 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -762,7 +762,7 @@ PROVIDERS_COMPATIBILITY_TESTS_MATRIX: list[dict[str, str | list[str]]] = [ }, { "python-version": "3.10", - "airflow-version": "3.0.4", + "airflow-version": "3.0.5", "remove-providers": "", "run-unit-tests": "true", }, diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index da6c1427116..3084e1ffa52 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -1508,6 +1508,7 @@ repos repr req reqs +requeue requeued Reserialize reserialize diff --git a/generated/PYPI_README.md b/generated/PYPI_README.md index 3cf25c26f44..ddc5f01d9b3 100644 --- a/generated/PYPI_README.md +++ b/generated/PYPI_README.md @@ -56,7 +56,7 @@ Use Airflow to author workflows (Dags) that orchestrate tasks. The Airflow sched Apache Airflow is tested with: -| | Main version (dev) | Stable version (3.0.4) | +| | Main version (dev) | Stable version (3.0.5) | |------------|------------------------|------------------------| | Python | 3.10, 3.11, 3.12, 3.13 | 3.9, 3.10, 3.11, 3.12 | | Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) | @@ -130,15 +130,15 @@ them to the appropriate format and workflow that your tool requires. ```bash -pip install 'apache-airflow==3.0.4' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.4/constraints-3.10.txt" +pip install 'apache-airflow==3.0.5' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.5/constraints-3.10.txt" ``` 2. Installing with extras (i.e., postgres, google) ```bash -pip install 'apache-airflow[postgres,google]==3.0.4' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.4/constraints-3.10.txt" +pip install 'apache-airflow[postgres,google]==3.0.5' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.5/constraints-3.10.txt" ``` For information on installing provider distributions, check diff --git a/reproducible_build.yaml b/reproducible_build.yaml index cb6d69dc3e5..fc5fa68a62a 100644 --- a/reproducible_build.yaml +++ b/reproducible_build.yaml @@ -1,2 +1,2 @@ -release-notes-hash: 7d92b412ef3766e215d66d4c1557fcad -source-date-epoch: 1754857151 +release-notes-hash: 21d5aade8af7377d50d9b089d32bed62 +source-date-epoch: 1755722980 diff --git a/scripts/ci/prek/supported_versions.py b/scripts/ci/prek/supported_versions.py index b275d72089d..02f2808cf3c 100755 --- a/scripts/ci/prek/supported_versions.py +++ b/scripts/ci/prek/supported_versions.py @@ -34,7 +34,7 @@ HEADERS = ( ) SUPPORTED_VERSIONS = ( - ("3", "3.0.4", "Supported", "Apr 22, 2025", "TBD", "TBD"), + ("3", "3.0.5", "Supported", "Apr 22, 2025", "TBD", "TBD"), ("2", "2.11.0", "Supported", "Dec 17, 2020", "Oct 22, 2025", "Apr 22, 2026"), ("1.10", "1.10.15", "EOL", "Aug 27, 2018", "Dec 17, 2020", "June 17, 2021"), ("1.9", "1.9.0", "EOL", "Jan 03, 2018", "Aug 27, 2018", "Aug 27, 2018"),