Breaking changes
- Introduced in the PR #2080. The following functions are expected to be used internally only to Cosmos, so we hope these won't impact end-users, but we are documenting the changes just in case:
generate_task_or_groupreceivesrender_configinstead of its individual configurations, such astest_behavior,source_rendering_behaviorandenable_owner_inheritancecreate_task_metadatareceivesrender_configinstead of its individual configurations, such astest_behavior,source_rendering_behaviorandenable_owner_inheritancecreate_task_metadatanow expects thenode_convertersargument
- Drop Python 3.9 support by @pankajastro in #2118
Features
- Support applying
node_converterat a task level instead of task group level by @anyapriya in #1759 - Allow overriding
DbtProducerWatcherOperatorparameters viaExecutionConfig.setup_operator_argsby @pankajastro in #2133 - Use deferrable sensors by default in
ExecutionMode.WATCHERby @pankajastro in #2084
Enhancements
- Unify Airflow version handling into
constants.pyby @tatiana in #2089 - Refactor
airflow/graph.pyto simplify the code base by @tatiana in #2080 - Force watcher producer retries to zero by @pankajkoti in #2114
- Fail
ExecutionMode.WATCHERconsumer sensors immediately when the producer fails using Airflow context by @pankajkoti in #2126 ExecutonMode.Watcher: fetch producer status asynchronously from the Airflow runtime so deferrable sensors fail immediately when the producer task fails by @pankajkoti in #2144
Bug fixes
- Clarify watcher deferrable failure messaging by @pankajkoti in #2124
- Remove empty test tasks when all tests are detached by @anyapriya in #2010
- Fix forwarding
DbtProducerWatcherOperatordbt buildflags by @michal-mrazek in #2127
Docs
- Document dataset-event limitation when using
ExecutionMode.AIRFLOW_ASYNCby @varaprasadregani in #2143 - Expand
ExecutionMode.KUBERNETESguidance by @pankajastro in #2139 - Add docs for deferrable
DbtConsumerWatcherSensorby @pankajastro in #2115 - Fix reStructuredText formatting by @dnskr in #2132
Others
- Retry flaky Telemetry success test to stabilise CI by @pankajkoti in #2138
- Drop unused producer state xcom handling in
ExecutionMode.WATCHERby @pankajkoti in #2145 - Drop Python 3.9 support by @pankajastro in #2118
- Remove unused Python3.9 uses from Github action CI by @pankajastro in #2117
- Bump
actions/checkoutfrom5.0.0to5.0.1by @dependabot in #2135 - Bump
actions/checkoutto6.0.0in GitHub workflows by @dependabot in #2147 - pre-commit autoupdate by @pre-commit-ci[bot] in #2134
Release prepared via PR: #2149 (branch: https://github.com/astronomer/astronomer-cosmos/tree/release-1.12)