Apache Airflow 2.9.1
Significant Changes
Stackdriver logging bugfix requires Google provider 10.17.0 or later (#38071)
If you use Stackdriver logging, you must use Google provider version 10.17.0 or later. Airflow 2.9.1 now passes gcp_log_name to the StackdriverTaskHandler instead of name, and this will fail on earlier provider versions.
This fixes a bug where the log name configured in [logging] remove_base_log_folder was overridden when Airflow configured logging, resulting in task logs going to the wrong destination.
Bug Fixes
- Make task log messages include run_id (#39280)
- Copy menu_item
hreffor nav bar (#39282) - Fix trigger kwarg encryption migration (#39246, #39361, #39374)
- Add workaround for datetime-local input in
firefox(#39261) - Add Grid button to Task Instance view (#39223)
- Get served logs when remote or executor logs not available for non-running task try (#39177)
- Fixed side effect of menu filtering causing disappearing menus (#39229)
- Use grid view for Task Instance's
log_url(#39183) - Improve task filtering
UX(#39119) - Improve rendered_template
uxin react dag page (#39122) - Graph view improvements (#38940)
- Check that the dataset<>task exists before trying to render graph (#39069)
- Hostname was "redacted", not "redact"; remove it when there is no context (#39037)
- Check whether
AUTH_ROLE_PUBLICis set incheck_authentication(#39012) - Move rendering of
map_index_templateso it renders for failed tasks as long as it was defined before the point of failure (#38902) UndeprecateBaseXCom.get_onemethod for now (#38991)- Add
inherit_cacheattribute forCreateTableAscustom SA Clause (#38985) - Don't wait for DagRun lock in mini scheduler (#38914)
- Fix calendar view with no DAG Run (#38964)
- Changed the background color of external task in graph (#38969)
- Fix dag run selection (#38941)
- Fix
SAWarning'Coercing Subquery object into a select() for use in IN()' (#38926) - Fix implicit
cartesianproduct in AirflowSecurityManagerV2 (#38913) - Fix problem that links in legacy log view can not be clicked (#38882)
- Fix dag run link params (#38873)
- Use async db calls in WorkflowTrigger (#38689)
- Fix audit log events filter (#38719)
- Use
methodtools.lru_cacheinstead offunctools.lru_cachein class methods (#37757) - Raise deprecated warning in
airflow dags backfillonly if-I/--ignore-first-depends-on-pastprovided (#38676)
Miscellaneous
TriggerDagRunOperatordeprecateexecution_datein favor oflogical_date(#39285)- Force to use Airflow Deprecation warnings categories on
@deprecateddecorator (#39205) - Add warning about run/import Airflow under the Windows (#39196)
- Update
is_authorized_custom_viewfrom auth manager to handle custom actions (#39167) - Add in Trove classifiers Python 3.12 support (#39004)
- Use debug level for
minischedulerskip (#38976) - Bump
undicifrom5.28.3 to 5.28.4in/airflow/www(#38751)
Doc Only Changes
- Fix supported k8s version in docs (#39172)
- Dynamic task mapping
PythonOperatorop_kwargs (#39242) - Add link to
userandrolecommands (#39224) - Add
k8s 1.29to supported version in docs (#39168) - Data aware scheduling docs edits (#38687)
- Update
DagBagclass docstring to include all params (#38814) - Correcting an example taskflow example (#39015)
- Remove decorator from rendering fields example (#38827)