From cd7d5209ac1ec2174bc789557309579ec28ffcd8 Mon Sep 17 00:00:00 2001 From: Ephraim Anierobi Date: Wed, 25 May 2022 12:13:53 +0100 Subject: [PATCH] `2.3.1` has been released --- .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 | 81 +++++++++++++++++++ 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, 100 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/airflow_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_bug_report.yml index 2f04888a4eb60..fc8cf8f324bc3 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.0 (latest released)" + - "2.3.1 (latest released)" + - "2.3.0" - "2.2.5" - "2.2.4" - "2.2.3" diff --git a/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml index 779f6a1517c95..dc3d788b848ea 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.0 (latest released)" + - "2.3.1 (latest released)" + - "2.3.0" - "2.2.5" - "2.2.4" - "2.2.3" diff --git a/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml b/.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml index 2e5b0267b0ae7..10bf533ac98a9 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.0 (latest released)" + - "2.3.1 (latest released)" + - "2.3.0" - "2.2.5" - "2.2.4" - "2.2.3" diff --git a/Dockerfile b/Dockerfile index 4c567927ab40d..9ee41274c1089 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.0" +ARG AIRFLOW_VERSION="2.3.1" ARG PYTHON_BASE_IMAGE="python:3.7-slim-bullseye" diff --git a/README.md b/README.md index b7282212cb539..3acb883dc4ba8 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.0) | +| | Main version (dev) | Stable version (2.3.1) | |---------------------|------------------------------|------------------------------| | 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.0' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.0/constraints-3.7.txt" +pip install 'apache-airflow==2.3.1' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.1/constraints-3.7.txt" ``` 2. Installing with extras (i.e., postgres, google) ```bash -pip install 'apache-airflow[postgres,google]==2.3.0' \ - --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.0/constraints-3.7.txt" +pip install 'apache-airflow[postgres,google]==2.3.1' \ + --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.3.1/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.0 | Supported | Dec 17, 2020 | TBD | TBD | +| 2 | 2.3.1 | 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.0` images are Python 3.7 images. This means that default reference image will + and `apache/airflow:2.3.1` 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 876fe5c91ce89..87319b55aaebb 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -21,6 +21,87 @@ .. towncrier release notes start +Airflow 2.3.1 (2022-05-25) +-------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ +No significant changes. + +Bug Fixes +^^^^^^^^^ + +- Automatically reschedule stalled queued tasks in ``CeleryExecutor`` (#23690) +- Fix expand/collapse all buttons (#23590) +- Grid view status filters (#23392) +- Expand/collapse all groups (#23487) +- Fix retrieval of deprecated non-config values (#23723) +- Fix secrets rendered in UI when task is not executed. (#22754) +- Fix provider import error matching (#23825) +- Fix regression in ignoring symlinks (#23535) +- Fix ``dag-processor`` fetch metadata database config (#23575) +- Fix auto upstream dep when expanding non-templated field (#23771) +- Fix task log is not captured (#23684) +- Add ``reschedule`` to the serialized fields for the ``BaseSensorOperator`` (#23674) +- Modify db clean to also catch the ProgrammingError exception (#23699) +- Remove titles from link buttons (#23736) +- Fix grid details header text overlap (#23728) +- Ensure ``execution_timeout`` as timedelta (#23655) +- Don't run pre-migration checks for downgrade (#23634) +- Add index for event column in log table (#23625) +- Implement ``send_callback`` method for ``CeleryKubernetesExecutor`` and ``LocalKubernetesExecutor`` (#23617) +- Fix ``PythonVirtualenvOperator`` templated_fields (#23559) +- Apply specific ID collation to ``root_dag_id`` too (#23536) +- Prevent ``KubernetesJobWatcher`` getting stuck on resource too old (#23521) +- Fix scheduler crash when expanding with mapped task that returned none (#23486) +- Fix broken dagrun links when many runs start at the same time (#23462) +- Fix: Exception when parsing log #20966 (#23301) +- Handle invalid date parsing in webserver views. (#23161) +- Pools with negative open slots should not block other pools (#23143) +- Move around overflow, position and padding (#23044) +- Change approach to finding bad rows to LEFT OUTER JOIN. (#23528) +- Only count bad refs when ``moved`` table exists (#23491) +- Visually distinguish task group summary (#23488) +- Remove color change for highly nested groups (#23482) +- Optimize 2.3.0 pre-upgrade check queries (#23458) +- Add backward compatibility for ``core__sql_alchemy_conn__cmd`` (#23441) +- Fix literal cross product expansion (#23434) +- Fix broken task instance link in xcom list (#23367) +- Fix connection test button (#23345) +- fix cli ``airflow dags show`` for mapped operator (#23339) +- Hide some task instance attributes (#23338) +- Don't show grid actions if server would reject with permission denied (#23332) +- Use run_id for ``ti.mark_success_url`` (#23330) +- Fix update user auth stats (#23314) +- Use ``