This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi 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 d1084a1d48 Apache Airflow 2.6.1 has been released (#31319)
d1084a1d48 is described below
commit d1084a1d48119a12797b574a00cfb224878ba9c4
Author: Ephraim Anierobi <[email protected]>
AuthorDate: Tue May 16 21:10:13 2023 +0100
Apache Airflow 2.6.1 has been released (#31319)
---
.github/ISSUE_TEMPLATE/airflow_bug_report.yml | 2 +-
Dockerfile | 2 +-
README.md | 14 ++---
RELEASE_NOTES.rst | 68 ++++++++++++++++++++++
airflow/utils/db.py | 1 +
.../installation/supported-versions.rst | 2 +-
newsfragments/28846.misc.rst | 1 -
newsfragments/31277.significant.rst | 8 ---
.../ci/pre_commit/pre_commit_supported_versions.py | 2 +-
9 files changed, 80 insertions(+), 20 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/airflow_bug_report.yml
b/.github/ISSUE_TEMPLATE/airflow_bug_report.yml
index ace3f3186c..a6852a4c21 100644
--- a/.github/ISSUE_TEMPLATE/airflow_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/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:
- - "2.6.0"
+ - "2.6.1"
- "main (development)"
- "Other Airflow 2 version (please specify below)"
validations:
diff --git a/Dockerfile b/Dockerfile
index 58b19ae25d..ade09d91df 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.6.0"
+ARG AIRFLOW_VERSION="2.6.1"
ARG PYTHON_BASE_IMAGE="python:3.7-slim-bullseye"
diff --git a/README.md b/README.md
index 942dd5241a..2ead0706bc 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,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.6.0) |
+| | Main version (dev) | Stable version (2.6.1) |
|------------|------------------------|------------------------|
| Python | 3.7, 3.8, 3.9, 3.10 | 3.7, 3.8, 3.9, 3.10 |
| Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) |
@@ -158,15 +158,15 @@ them to the appropriate format and workflow that your
tool requires.
```bash
-pip install 'apache-airflow==2.6.0' \
- --constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-2.6.0/constraints-3.7.txt"
+pip install 'apache-airflow==2.6.1' \
+ --constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-2.6.1/constraints-3.7.txt"
```
2. Installing with extras (i.e., postgres, google)
```bash
-pip install 'apache-airflow[postgres,google]==2.6.0' \
- --constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-2.6.0/constraints-3.7.txt"
+pip install 'apache-airflow[postgres,google]==2.6.1' \
+ --constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-2.6.1/constraints-3.7.txt"
```
For information on installing provider packages, check
@@ -275,7 +275,7 @@ Apache Airflow version life cycle:
| Version | Current Patch/Minor | State | First Release | Limited
Support | EOL/Terminated |
|-----------|-----------------------|-----------|-----------------|-------------------|------------------|
-| 2 | 2.6.0 | Supported | Dec 17, 2020 | TBD
| TBD |
+| 2 | 2.6.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 |
@@ -305,7 +305,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.6.0` images are Python 3.7 images. This means that
default reference image will
+ and `apache/airflow:2.6.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 d09fcb7e1a..8f209f8cee 100644
--- a/RELEASE_NOTES.rst
+++ b/RELEASE_NOTES.rst
@@ -21,6 +21,69 @@
.. towncrier release notes start
+Airflow 2.6.1 (2023-05-16)
+--------------------------
+
+Significant Changes
+^^^^^^^^^^^^^^^^^^^
+
+Clarifications of the external Health Check mechanism and using ``Job``
classes (#31277).
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+In the past SchedulerJob and other ``*Job`` classes are known to have been
used to perform
+external health checks for Airflow components. Those are, however, Airflow DB
ORM related classes.
+The DB models and database structure of Airflow are considered as internal
implementation detail, following
+`public interface
<https://airflow.apache.org/docs/apache-airflow/stable/public-airflow-interface.html>`_).
+Therefore, they should not be used for external health checks. Instead, you
should use the
+``airflow jobs check`` CLI command (introduced in Airflow 2.1) for that
purpose.
+
+Bug Fixes
+^^^^^^^^^
+- Fix calculation of health check threshold for SchedulerJob (#31277)
+- Fix timestamp parse failure for k8s executor pod tailing (#31175)
+- Make sure that DAG processor job row has filled value in ``job_type`` column
(#31182)
+- Fix section name reference for ``api_client_retry_configuration`` (#31174)
+- Ensure the KPO runs pod mutation hooks correctly (#31173)
+- Remove worrying log message about redaction from the OpenLineage plugin
(#31149)
+- Move ``interleave_timestamp_parser`` config to the logging section (#31102)
+- Ensure that we check worker for served logs if no local or remote logs found
(#31101)
+- Fix ``MappedTaskGroup`` import in taskinstance file (#31100)
+- Format DagBag.dagbag_report() Output (#31095)
+- Mask task attribute on task detail view (#31125)
+- Fix template error when iterating None value and fix params documentation
(#31078)
+- Fix ``apache-hive`` extra so it installs the correct package (#31068)
+- Fix issue with zip files in DAGs folder when pre-importing Airflow modules
(#31061)
+- Move TaskInstanceKey to a separate file to fix circular import (#31033,
#31204)
+- Fix deleting DagRuns and TaskInstances that have a note (#30987)
+- Fix ``airflow providers get`` command output (#30978)
+- Fix Pool schema in the OpenAPI spec (#30973)
+- Add support for dynamic tasks with template fields that contain
``pandas.DataFrame`` (#30943)
+- Use the Task Group explicitly passed to 'partial' if any (#30933)
+- Fix ``order_by`` request in list DAG rest api (#30926)
+- Include node height/width in center-on-task logic (#30924)
+- Remove print from dag trigger command (#30921)
+- Improve task group UI in new graph (#30918)
+- Fix mapped states in grid view (#30916)
+- Fix problem with displaying graph (#30765)
+- Fix backfill KeyError when try_number out of sync (#30653)
+- Re-enable clear and setting state in the TaskInstance UI (#30415)
+- Prevent DagRun's ``state`` and ``start_date`` from being reset when clearing
a task in a running DagRun (#30125)
+
+Misc/Internal
+"""""""""""""
+- Upper bind dask until they solve a side effect in their test suite (#31259)
+- Show task instances affected by clearing in a table (#30633)
+- Fix missing models in API documentation (#31021)
+
+Doc only changes
+""""""""""""""""
+- Improve description of the ``dag_processing.processes`` metric (#30891)
+- Improve Quick Start instructions (#30820)
+- Add section about missing task logs to the FAQ (#30717)
+- Mount the ``config`` directory in docker compose (#30662)
+- Update ``version_added`` config field for ``might_contain_dag`` and
``metrics_allow_list`` (#30969)
+
+
Airflow 2.6.0 (2023-04-30)
--------------------------
@@ -90,6 +153,11 @@ Move Hive macros to the provider (#28538)
The Hive Macros (``hive.max_partition``, ``hive.closest_ds_partition``) are
available only when Hive Provider is
installed. Please install Hive Provider > 5.1.0 when using those macros.
+Updated app to support configuring the caching hash method for FIPS v2 (#30675)
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+Various updates for FIPS-compliance when running Airflow in Python 3.9+. This
includes a new webserver option, ``caching_hash_method``,
+for changing the default flask caching method.
+
New Features
^^^^^^^^^^^^
- AIP-50 Trigger DAG UI Extension with Flexible User Form Concept
(#27063,#29376)
diff --git a/airflow/utils/db.py b/airflow/utils/db.py
index 16a5a71a91..27ad2ee152 100644
--- a/airflow/utils/db.py
+++ b/airflow/utils/db.py
@@ -81,6 +81,7 @@ REVISION_HEADS_MAP = {
"2.5.2": "290244fb8b83",
"2.5.3": "290244fb8b83",
"2.6.0": "98ae134e6fff",
+ "2.6.1": "98ae134e6fff",
}
diff --git a/docs/apache-airflow/installation/supported-versions.rst
b/docs/apache-airflow/installation/supported-versions.rst
index 9d398fb5d6..00607489a4 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.6.0 Supported Dec 17, 2020 TBD
TBD
+2 2.6.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
diff --git a/newsfragments/28846.misc.rst b/newsfragments/28846.misc.rst
deleted file mode 100644
index 14d072c877..0000000000
--- a/newsfragments/28846.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Various updates for FIPS-compliance when running Airflow in Python 3.9+. This
includes a new webserver option, ``caching_hash_method``, for changing the
default flask caching method.
diff --git a/newsfragments/31277.significant.rst
b/newsfragments/31277.significant.rst
deleted file mode 100644
index d65329a6bc..0000000000
--- a/newsfragments/31277.significant.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-Clarifications of the external Health Check mechanism and using ``Job``
classes.
-
-In the past SchedulerJob and other ``*Job`` classes are known to have been
used to perform
-external health checks for Airflow components. Those are, however, Airflow DB
ORM related classes.
-The DB models and database structure of Airflow are considered as internal
implementation detail, following
-`public interface
<https://airflow.apache.org/docs/apache-airflow/stable/public-airflow-interface.html>`_).
-Therefore, they should not be used for external health checks. Instead, you
should use the
-``airflow jobs check`` CLI command (introduced in Airflow 2.1) for that
purpose.
diff --git a/scripts/ci/pre_commit/pre_commit_supported_versions.py
b/scripts/ci/pre_commit/pre_commit_supported_versions.py
index 876d4f4a78..8430ad8a6f 100755
--- a/scripts/ci/pre_commit/pre_commit_supported_versions.py
+++ b/scripts/ci/pre_commit/pre_commit_supported_versions.py
@@ -27,7 +27,7 @@ AIRFLOW_SOURCES =
Path(__file__).resolve().parent.parent.parent.parent
HEADERS = ("Version", "Current Patch/Minor", "State", "First Release",
"Limited Support", "EOL/Terminated")
SUPPORTED_VERSIONS = (
- ("2", "2.6.0", "Supported", "Dec 17, 2020", "TBD", "TBD"),
+ ("2", "2.6.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"),