Skip to content

Commit e251191

Browse files
authored
Airflow 2.3.3 has been released (apache#24942)
1 parent a95c5e2 commit e251191

File tree

14 files changed

+149
-42
lines changed

14 files changed

+149
-42
lines changed

.github/ISSUE_TEMPLATE/airflow_bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ body:
2525
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
2626
multiple: false
2727
options:
28-
- "2.3.2 (latest released)"
28+
- "2.3.3 (latest released)"
29+
- "2.3.2"
2930
- "2.3.1"
3031
- "2.3.0"
3132
- "2.2.5"

.github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ body:
4646
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
4747
multiple: false
4848
options:
49-
- "2.3.2 (latest released)"
49+
- "2.3.3 (latest released)"
50+
- "2.3.2"
5051
- "2.3.1"
5152
- "2.3.0"
5253
- "2.2.5"

.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ body:
114114
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
115115
multiple: false
116116
options:
117-
- "2.3.2 (latest released)"
117+
- "2.3.3 (latest released)"
118+
- "2.3.2"
118119
- "2.3.1"
119120
- "2.3.0"
120121
- "2.2.5"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ARG AIRFLOW_UID="50000"
4444
ARG AIRFLOW_USER_HOME_DIR=/home/airflow
4545

4646
# latest released version here
47-
ARG AIRFLOW_VERSION="2.3.2"
47+
ARG AIRFLOW_VERSION="2.3.3"
4848

4949
ARG PYTHON_BASE_IMAGE="python:3.7-slim-bullseye"
5050

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Apache Airflow version life cycle:
270270

271271
| Version | Current Patch/Minor | State | First Release | Limited Support | EOL/Terminated |
272272
|-----------|-----------------------|-----------|-----------------|-------------------|------------------|
273-
| 2 | 2.3.2 | Supported | Dec 17, 2020 | TBD | TBD |
273+
| 2 | 2.3.3 | Supported | Dec 17, 2020 | TBD | TBD |
274274
| 1.10 | 1.10.15 | EOL | Aug 27, 2018 | Dec 17, 2020 | June 17, 2021 |
275275
| 1.9 | 1.9.0 | EOL | Jan 03, 2018 | Aug 27, 2018 | Aug 27, 2018 |
276276
| 1.8 | 1.8.2 | EOL | Mar 19, 2017 | Jan 03, 2018 | Jan 03, 2018 |

RELEASE_NOTES.rst

Lines changed: 133 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,139 @@
2121

2222
.. towncrier release notes start
2323

24+
25+
Airflow 2.3.3 (2022-07-05)
26+
--------------------------
27+
28+
Significant Changes
29+
^^^^^^^^^^^^^^^^^^^
30+
31+
We've upgraded Flask App Builder to a major version 4.* (#24399)
32+
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
33+
34+
Flask App Builder is one of the important components of Airflow Webserver, as
35+
it uses a lot of dependencies that are essential to run the webserver and integrate it
36+
in enterprise environments - especially authentication.
37+
38+
The FAB 4.* upgrades a number of dependencies to major releases, which upgrades them to versions
39+
that have a number of security issues fixed. A lot of tests were performed to bring the dependencies
40+
in a backwards-compatible way, however the dependencies themselves implement breaking changes in their
41+
internals so it might be that some of those changes might impact the users in case they are using the
42+
libraries for their own purposes.
43+
44+
One important change that you likely will need to apply to Oauth configuration is to add
45+
``server_metadata_url`` or ``jwks_uri`` and you can read about it more
46+
in `this issue <https://github.com/dpgaspar/Flask-AppBuilder/issues/1861>`_.
47+
48+
Here is the list of breaking changes in dependencies that comes together with FAB 4:
49+
50+
* ``Flask`` from 1.X to 2.X `breaking changes <https://flask.palletsprojects.com/en/2.0.x/changes/#version-2-0-0>`__
51+
52+
* ``flask-jwt-extended`` 3.X to 4.X `breaking changes: <https://flask-jwt-extended.readthedocs.io/en/stable/v4_upgrade_guide/>`__
53+
54+
* ``Jinja2`` 2.X to 3.X `breaking changes: <https://jinja.palletsprojects.com/en/3.0.x/changes/#version-3-0-0>`__
55+
56+
* ``Werkzeug`` 1.X to 2.X `breaking changes <https://werkzeug.palletsprojects.com/en/2.0.x/changes/#version-2-0-0>`__
57+
58+
* ``pyJWT`` 1.X to 2.X `breaking changes: <https://pyjwt.readthedocs.io/en/stable/changelog.html#v2-0-0>`__
59+
60+
* ``Click`` 7.X to 8.X `breaking changes: <https://click.palletsprojects.com/en/8.0.x/changes/#version-8-0-0>`__
61+
62+
* ``itsdangerous`` 1.X to 2.X `breaking changes <https://github.com/pallets/itsdangerous/blob/main/CHANGES.rst#version-200>`__
63+
64+
Bug Fixes
65+
^^^^^^^^^
66+
67+
- Fix exception in mini task scheduler (#24865)
68+
- Fix cycle bug with attaching label to task group (#24847)
69+
- Fix timestamp defaults for ``sensorinstance`` (#24638)
70+
- Move fallible ``ti.task.dag`` assignment back inside ``try/except`` block (#24533) (#24592)
71+
- Add missing types to ``FSHook`` (#24470)
72+
- Mask secrets in ``stdout`` for ``airflow tasks test`` (#24362)
73+
- ``DebugExecutor`` use ``ti.run()`` instead of ``ti._run_raw_task`` (#24357)
74+
- Fix bugs in ``URI`` constructor for ``MySQL`` connection (#24320)
75+
- Missing ``scheduleinterval`` nullable true added in ``openapi`` (#24253)
76+
- Unify ``return_code`` interface for task runner (#24093)
77+
- Handle occasional deadlocks in trigger with retries (#24071)
78+
- Remove special serde logic for mapped ``op_kwargs`` (#23860)
79+
- ``ExternalTaskSensor`` respects ``soft_fail`` if the external task enters a ``failed_state`` (#23647)
80+
- Fix ``StatD`` timing metric units (#21106)
81+
- Add ``cache_ok`` flag to sqlalchemy TypeDecorators. (#24499)
82+
- Allow for ``LOGGING_LEVEL=DEBUG`` (#23360)
83+
- Fix grid date ticks (#24738)
84+
- Debounce status highlighting in Grid view (#24710)
85+
- Fix Grid vertical scrolling (#24684)
86+
- don't try to render child rows for closed groups (#24637)
87+
- Do not calculate grid root instances (#24528)
88+
- Maintain grid view selection on filtering upstream (#23779)
89+
- Speed up ``grid_data`` endpoint by 10x (#24284)
90+
- Apply per-run log templates to log handlers (#24153)
91+
- Don't crash scheduler if exec config has old k8s objects (#24117)
92+
- ``TI.log_url`` fix for ``map_index`` (#24335)
93+
- Fix migration ``0080_2_0_2`` - Replace null values before setting column not null (#24585)
94+
- Patch ``sql_alchemy_conn`` if old Postgres schemes used (#24569)
95+
- Seed ``log_template`` table (#24511)
96+
- Fix deprecated ``log_id_template`` value (#24506)
97+
- Fix toast messages (#24505)
98+
- Add indexes for CASCADE deletes for ``task_instance`` (#24488)
99+
- Return empty dict if Pod JSON encoding fails (#24478)
100+
- Improve grid rendering performance with a custom tooltip (#24417, #24449)
101+
- Check for ``run_id`` for grid group summaries (#24327)
102+
- Optimize calendar view for cron scheduled DAGs (#24262)
103+
- Use ``get_hostname`` instead of ``socket.getfqdn`` (#24260)
104+
- Check that edge nodes actually exist (#24166)
105+
- Fix ``useTasks`` crash on error (#24152)
106+
- Do not fail re-queued TIs (#23846)
107+
- Reduce grid view API calls (#24083)
108+
- Rename Permissions to Permission Pairs. (#24065)
109+
- Replace ``use_task_execution_date`` with ``use_task_logical_date`` (#23983)
110+
- Grid fix details button truncated and small UI tweaks (#23934)
111+
- Add TaskInstance State ``REMOVED`` to finished states and success states (#23797)
112+
- Fix mapped task immutability after clear (#23667)
113+
- Fix permission issue for dag that has dot in name (#23510)
114+
- Fix closing connection ``dbapi.get_pandas_df`` (#23452)
115+
- Check bag DAG ``schedule_interval`` match timetable (#23113)
116+
- Parse error for task added to multiple groups (#23071)
117+
- Fix flaky order of returned dag runs (#24405)
118+
- Migrate ``jsx`` files that affect run/task selection to ``tsx`` (#24509)
119+
- Fix links to sources for examples (#24386)
120+
- Set proper ``Content-Type`` and ``chartset`` on ``grid_data`` endpoint (#24375)
121+
122+
Doc only changes
123+
^^^^^^^^^^^^^^^^
124+
125+
- Update templates doc to mention ``extras`` and format Airflow ``Vars`` / ``Conns`` (#24735)
126+
- Document built in Timetables (#23099)
127+
- Alphabetizes two tables (#23923)
128+
- Clarify that users should not use Maria DB (#24556)
129+
- Add imports to deferring code samples (#24544)
130+
- Add note about image regeneration in June 2022 (#24524)
131+
- Small cleanup of ``get_current_context()`` chapter (#24482)
132+
- Fix default 2.2.5 ``log_id_template`` (#24455)
133+
- Update description of installing providers separately from core (#24454)
134+
- Mention context variables and logging (#24304)
135+
136+
Misc/Internal
137+
^^^^^^^^^^^^^
138+
139+
- Remove internet explorer support (#24495)
140+
- Removing magic status code numbers from ``api_connexion`` (#24050)
141+
- Upgrade FAB to ``4.1.2`` (#24619)
142+
- Switch Markdown engine to ``markdown-it-py`` (#19702)
143+
- Update ``rich`` to latest version across the board. (#24186)
144+
- Get rid of ``TimedJSONWebSignatureSerializer`` (#24519)
145+
- Update flask-appbuilder ``authlib``/ ``oauth`` dependency (#24516)
146+
- Upgrade to ``webpack`` 5 (#24485)
147+
- Add ``typescript`` (#24337)
148+
- The JWT claims in the request to retrieve logs have been standardized: we use ``nbf`` and ``aud`` claims for
149+
maturity and audience of the requests. Also "filename" payload field is used to keep log name. (#24519)
150+
- Address all ``yarn`` test warnings (#24722)
151+
- Upgrade to react 18 and chakra 2 (#24430)
152+
- Refactor ``DagRun.verify_integrity`` (#24114)
153+
- Upgrade FAB to ``4.1.1`` (#24399)
154+
- We now need at least ``Flask-WTF 0.15`` (#24621)
155+
156+
24157
Airflow 2.3.2 (2022-06-04)
25158
--------------------------
26159

@@ -7842,7 +7975,6 @@ There are five roles created for Airflow by default: Admin, User, Op, Viewer, an
78427975
Breaking changes
78437976
~~~~~~~~~~~~~~~~
78447977

7845-
78467978
* AWS Batch Operator renamed property queue to job_queue to prevent conflict with the internal queue from CeleryExecutor - AIRFLOW-2542
78477979
* Users created and stored in the old users table will not be migrated automatically. FAB's built-in authentication support must be reconfigured.
78487980
* Airflow dag home page is now ``/home`` (instead of ``/admin``\ ).

airflow/utils/db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"2.3.0": "b1b348e02d07",
9494
"2.3.1": "1de7bc13c950",
9595
"2.3.2": "3c94c427fdf6",
96+
"2.3.3": "f5fcbda3e651",
9697
}
9798

9899

docs/apache-airflow/installation/supported-versions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Apache Airflow version life cycle:
2929
========= ===================== ========= =============== ================= ================
3030
Version Current Patch/Minor State First Release Limited Support EOL/Terminated
3131
========= ===================== ========= =============== ================= ================
32-
2 2.3.2 Supported Dec 17, 2020 TBD TBD
32+
2 2.3.3 Supported Dec 17, 2020 TBD TBD
3333
1.10 1.10.15 EOL Aug 27, 2018 Dec 17, 2020 June 17, 2021
3434
1.9 1.9.0 EOL Jan 03, 2018 Aug 27, 2018 Aug 27, 2018
3535
1.8 1.8.2 EOL Mar 19, 2017 Jan 03, 2018 Jan 03, 2018

docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}"
2626
cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}"
2727

2828
# [START build]
29-
export AIRFLOW_VERSION=2.3.2
29+
export AIRFLOW_VERSION=2.3.3
3030
export DEBIAN_VERSION="bullseye"
3131
export DOCKER_BUILDKIT=1
3232

docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}"
2626
cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}"
2727

2828
# [START build]
29-
export AIRFLOW_VERSION=2.3.2
29+
export AIRFLOW_VERSION=2.3.3
3030
export DOCKER_BUILDKIT=1
3131

3232
docker build . \

0 commit comments

Comments
 (0)