From 183e75a96c9af45b0bb89c2f705811cf594353cd Mon Sep 17 00:00:00 2001 From: Ephraim Anierobi Date: Sat, 4 Jun 2022 21:51:59 +0100 Subject: [PATCH] `2.3.2` has been released (#24182) --- .github/ISSUE_TEMPLATE/airflow_bug_report.yml | 3 +- .../airflow_helmchart_bug_report.yml | 3 +- .../airflow_providers_bug_report.yml | 3 +- Dockerfile | 2 +- README.md | 14 +++---- RELEASE_NOTES.rst | 39 +++++++++++++++++++ airflow/utils/db.py | 1 + .../installation/supported-versions.rst | 2 +- .../customizing/pypi-extras-and-deps.sh | 2 +- .../customizing/pypi-selected-version.sh | 2 +- .../pre_commit_supported_versions.py | 2 +- 11 files changed, 58 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/airflow_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_bug_report.yml index fc8cf8f324bc3..27d0a33745f80 100644 --- a/.github/ISSUE_TEMPLATE/airflow_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/airflow_bug_report.yml @@ -25,7 +25,8 @@ body: discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead! multiple: false options: - - "2.3.1 (latest released)" + - "2.3.2 (latest released)" + - "2.3.1" - "2.3.0" - "2.2.5" - "2.2.4" diff --git a/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml index dc3d788b848ea..b7923dd76d790 100644 --- a/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml @@ -46,7 +46,8 @@ body: discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead! multiple: false options: - - "2.3.1 (latest released)" + - "2.3.2 (latest released)" + - "2.3.1" - "2.3.0" - "2.2.5" - "2.2.4" diff --git a/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml index 10bf533ac98a9..70f1a27e7b108 100644 --- a/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml @@ -112,7 +112,8 @@ body: discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead! multiple: false options: - - "2.3.1 (latest released)" + - "2.3.2 (latest released)" + - "2.3.1" - "2.3.0" - "2.2.5" - "2.2.4" diff --git a/Dockerfile b/Dockerfile index cab46244ae954..14d3f28137215 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ ARG AIRFLOW_UID="50000" ARG AIRFLOW_USER_HOME_DIR=/home/airflow # latest released version here -ARG AIRFLOW_VERSION="2.3.1" +ARG AIRFLOW_VERSION="2.3.2" ARG PYTHON_BASE_IMAGE="python:3.7-slim-bullseye" diff --git a/README.md b/README.md index 3acb883dc4ba8..3f38a69808222 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,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 (2.3.1) | +| | Main version (dev) | Stable version (2.3.2) | |---------------------|------------------------------|------------------------------| | Python | 3.7, 3.8, 3.9, 3.10 | 3.7, 3.8, 3.9, 3.10 | | Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) | @@ -160,15 +160,15 @@ them to the appropriate format and workflow that your tool requires. ```bash -pip install 'apache-airflow==2.3.1' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.1/constraints-3.7.txt" +pip install 'apache-airflow==2.3.2' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.2/constraints-3.7.txt" ``` 2. Installing with extras (i.e., postgres, google) ```bash -pip install 'apache-airflow[postgres,google]==2.3.1' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.1/constraints-3.7.txt" +pip install 'apache-airflow[postgres,google]==2.3.2' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.2/constraints-3.7.txt" ``` For information on installing provider packages, check @@ -273,7 +273,7 @@ Apache Airflow version life cycle: | Version | Current Patch/Minor | State | First Release | Limited Support | EOL/Terminated | |-----------|-----------------------|-----------|-----------------|-------------------|------------------| -| 2 | 2.3.1 | Supported | Dec 17, 2020 | TBD | TBD | +| 2 | 2.3.2 | Supported | Dec 17, 2020 | TBD | TBD | | 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 | | 1.8 | 1.8.2 | EOL | Mar 19, 2017 | Jan 03, 2018 | Jan 03, 2018 | @@ -303,7 +303,7 @@ They are based on the official release schedule of Python and Kubernetes, nicely 2. The "oldest" supported version of Python/Kubernetes is the default one until we decide to switch to later version. "Default" is only meaningful in terms of "smoke tests" in CI PRs, which are run using this default version and the default reference image available. Currently `apache/airflow:latest` - and `apache/airflow:2.3.1` images are Python 3.7 images. This means that default reference image will + and `apache/airflow:2.3.2` images are Python 3.7 images. This means that default reference image will become the default at the time when we start preparing for dropping 3.7 support which is few months before the end of life for Python 3.7. diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 87319b55aaebb..366fbc8def3ac 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -21,6 +21,45 @@ .. towncrier release notes start +Airflow 2.3.2 (2021-06-04) +-------------------------- + +No significant changes + +Bug Fixes +^^^^^^^^^ + +- Run the ``check_migration`` loop at least once +- Fix grid view for mapped tasks (#24059) +- Icons in grid view for different DAG run types (#23970) +- Faster grid view (#23951) +- Disallow calling expand with no arguments (#23463) +- Add missing ``is_mapped`` field to Task response. (#23319) +- DagFileProcessorManager: Start a new process group only if current process not a session leader (#23872) +- Mask sensitive values for not-yet-running TIs (#23807) +- Add cascade to ``dag_tag`` to ``dag`` foreign key (#23444) +- Use ``--subdir`` argument value for standalone dag processor. (#23864) +- Highlight task states by hovering on legend row (#23678) +- Fix and speed up grid view (#23947) +- Prevent UI from crashing if grid task instances are null (#23939) +- Remove redundant register exit signals in ``dag-processor`` command (#23886) +- Add ``__wrapped__`` property to ``_TaskDecorator`` (#23830) +- Fix UnboundLocalError when ``sql`` is empty list in DbApiHook (#23816) +- Enable clicking on DAG owner in autocomplete dropdown (#23804) +- Simplify flash message for ``_airflow_moved`` tables (#23635) +- Exclude missing tasks from the gantt view (#23627) + +Doc only changes +^^^^^^^^^^^^^^^^ + +- Add column names for DB Migration Reference (#23853) + +Misc/Internal +^^^^^^^^^^^^^ + +- Remove pinning for xmltodict (#23992) + + Airflow 2.3.1 (2022-05-25) -------------------------- diff --git a/airflow/utils/db.py b/airflow/utils/db.py index c289e7366ad15..c3262318c1cec 100644 --- a/airflow/utils/db.py +++ b/airflow/utils/db.py @@ -92,6 +92,7 @@ "2.2.5": "587bdf053233", "2.3.0": "b1b348e02d07", "2.3.1": "1de7bc13c950", + "2.3.2": "3c94c427fdf6", } diff --git a/docs/apache-airflow/installation/supported-versions.rst b/docs/apache-airflow/installation/supported-versions.rst index ad6672eeaeb5d..11ce85f00ea00 100644 --- a/docs/apache-airflow/installation/supported-versions.rst +++ b/docs/apache-airflow/installation/supported-versions.rst @@ -29,7 +29,7 @@ Apache Airflow version life cycle: ========= ===================== ========= =============== ================= ================ Version Current Patch/Minor State First Release Limited Support EOL/Terminated ========= ===================== ========= =============== ================= ================ -2 2.3.1 Supported Dec 17, 2020 TBD TBD +2 2.3.2 Supported Dec 17, 2020 TBD TBD 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 1.8 1.8.2 EOL Mar 19, 2017 Jan 03, 2018 Jan 03, 2018 diff --git a/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh b/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh index aeb40a6370f1c..86ed94b252160 100755 --- a/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh +++ b/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh @@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}" cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}" # [START build] -export AIRFLOW_VERSION=2.3.1 +export AIRFLOW_VERSION=2.3.2 export DEBIAN_VERSION="bullseye" export DOCKER_BUILDKIT=1 diff --git a/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh b/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh index c73f10fc4eaa5..950effa69dcf2 100755 --- a/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh +++ b/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh @@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}" cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}" # [START build] -export AIRFLOW_VERSION=2.3.1 +export AIRFLOW_VERSION=2.3.2 export DOCKER_BUILDKIT=1 docker build . \ diff --git a/scripts/ci/pre_commit/pre_commit_supported_versions.py b/scripts/ci/pre_commit/pre_commit_supported_versions.py index 199c7fe4dba85..f8603f25a6101 100755 --- a/scripts/ci/pre_commit/pre_commit_supported_versions.py +++ b/scripts/ci/pre_commit/pre_commit_supported_versions.py @@ -25,7 +25,7 @@ HEADERS = ("Version", "Current Patch/Minor", "State", "First Release", "Limited Support", "EOL/Terminated") SUPPORTED_VERSIONS = ( - ("2", "2.3.1", "Supported", "Dec 17, 2020", "TBD", "TBD"), + ("2", "2.3.2", "Supported", "Dec 17, 2020", "TBD", "TBD"), ("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"), ("1.8", "1.8.2", "EOL", "Mar 19, 2017", "Jan 03, 2018", "Jan 03, 2018"),