Release 1.12.0#2149
Conversation
1bae44f to
241a502
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2149 +/- ##
=======================================
Coverage 97.85% 97.85%
=======================================
Files 94 94
Lines 6058 6058
=======================================
Hits 5928 5928
Misses 130 130 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR removes an unused import from the watcher module as part of running pre-commit hooks. The change addresses automatic formatting issues that were being flagged by pre-commit in the release PR #2149
Co-authored-by: Tatiana Al-Chueyr <tatiana.alchueyr@gmail.com>
✅ Deploy Preview for sunny-pastelito-5ecb04 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for astronomer-cosmos canceled.
|
There was a problem hiding this comment.
Pull request overview
This PR releases version 1.12.0 of Cosmos, updating the version number from the alpha pre-release (1.12.0a3) to the stable release and consolidating the changelog entries. The release includes breaking changes (dropping Python 3.9 and Airflow 2.4/2.5 support), new features for the ExecutionMode.WATCHER functionality, various enhancements, bug fixes, and documentation updates.
Key Changes:
- Version bump from 1.12.0a3 to 1.12.0 in the package metadata
- Comprehensive changelog consolidation with properly formatted entries across all categories
- Release date set to 2025-12-18
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cosmos/init.py | Updates version string from pre-release to stable release version |
| CHANGELOG.rst | Consolidates and formats all changelog entries for the 1.12.0 release with proper categorization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Breaking changes
airflow/graph.pyto simplify code-base #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_convertersargumentFeatures
node_converterat a task level instead of task group level by @anyapriya in Support applyingnode_converterat a task level instead of task group level #1759DbtProducerWatcherOperatorparameters viaExecutionConfig.setup_operator_argsby @pankajastro in Addsetup_operator_argsin ExecutionConfig #2133ExecutionMode.WATCHERby @pankajastro in Add deferrable support for Watcher Sensor #2084ExecutionMode.WATCHERandInvocationMode.SUBPROCESSby @pankajastro in Support real-time consumer updates when usingExecutionMode.WATCHERandInvocationMode.SUBPROCESS#2152Enhancements
constants.pyby @tatiana in Unify airflow version handling intoconstants.py#2089airflow/graph.pyto simplify the code base by @tatiana in Refactorairflow/graph.pyto simplify code-base #2080ExecutionMode.WATCHERconsumer sensors immediately when the producer fails using Airflow context by @pankajkoti in Fail consumer sensors when producer task failure observed using Airflow context #2126ExecutonMode.WATCHER: fetch producer status asynchronously from the Airflow runtime so deferrable sensors fail immediately when the producer task fails by @pankajkoti in Watcher: fetch async producer status from Airflow runtime #2144ExecutionMode.WATCHERInvocationMode.SUBPROCESSlog parser by @tatiana in Refactor WatcherInvocationMode.SUBPROCESSlog parser #2183map_indexwithis_mapped_taskboolean in task telemetry #2210Bug fixes
ExecutionMode.WATCHERdeferrable failure messaging by @pankajkoti in Clarify watcher deferrable failure messaging #2124DbtProducerWatcherOperatordbt buildflags by @michal-mrazek in Fix forwardingDbtProducerWatcherOperatordbt build flags #2127packages-install-pathwhen it usesenv_varby @tatiana in Fix resolution ofpackages-install-pathwhen it usesenv_var#2194template_fieldsinDbtConsumerWatcherSensorto includeDbtRunLocalOperatortemplate_fields`` by @tiovader and @emanuel-luis in Emit more metrics on task operators from Scarf telemetry task operator listener #2209dag_run_idfrom telemetry tests #2213Docs
ExecutionMode.AIRFLOW_ASYNCby @varaprasadregani in docs: add limitation on dataset events missing in AIRFLOW_ASYNC mode #2143ExecutionMode.KUBERNETESguidance by @tatiana in Improve docs onExecutionMode.KUBERNETES#2139DbtConsumerWatcherSensorby @pankajastro in Add docs for deferrableDbtConsumerWatcherSensor#2115setup_operator_argsparam by @pankajastro in Add docs forsetup_operator_argsparam #2136ExecutionMode.AIRFLOW_ASYNCby @pankajastro in Doc: Remove experimental for async execution mode #2153ExecutionMode.AIRFLOW_ASYNCdataset limits by @pankajkoti in Docs: clarify AIRFLOW_ASYNC dataset limits. #2167PRIVACY_NOTICE.rst#2212Others
jaffle_shop_kubernetes.pyby @tatiana in Improve example DAGjaffle_shop_kubernetes.py#2140ExecutionMode.WATCHERby @pankajkoti in Watcher: drop unused producer state xcom #2145ExecutionMode.WATCHERmodules by @pankajkoti in Run pre-commit on watcher modules #2150pydantic<2.0for Airflow 2.6 compatibility by @pankajastro in Pin the pydantic<2.0 for Airflow 2.6 #2172dbt-duckdbdependency by @pankajastro in Remove duplicatedbt-duckdbdependency #2170type: ignorefor untyped decorators to fixmypyerrors by @pankajastro in Add targeted type: ignore for untyped decorators to fix mypy errors #2174load_method_from_modulefrom_utils/importer.pyby @pankajastro in Refactor to reuse load_method_from_module from _utils/importer.py #2176pyupgradeinpre-commitconfig by @pankajastro in Update Python version for pyupgrade in pre-commit #2190dependabotconfig by @pankajastro in Add cooldown config in dependabot #2189pre-commitso Python 3.10 or higher can be used #2196actions/checkoutfrom5.0.0to5.0.1by @dependabot in Bump actions/checkout from 5.0.0 to 5.0.1 #2135actions/checkoutto6.0.0in GitHub workflows by @dependabot in Bump actions/checkout from 5.0.1 to 6.0.0 #2147zizmorcore/zizmor-actionfrom0.2.0to0.3.0by @dependabot in Bump zizmorcore/zizmor-action from 0.2.0 to 0.3.0 #2156actions/checkoutfrom5.0.1to6.0.0by @dependabot in Bump actions/checkout from 5.0.1 to 6.0.0 #2155actions/checkoutfrom6.0.0to6.0.1by @dependabot in Bump actions/checkout from 6.0.0 to 6.0.1 #2178codecov/codecov-actionfrom5.5.1to5.5.2by @dependabot in Bump codecov/codecov-action from 5.5.1 to 5.5.2 #2208closes: https://github.com/astronomer/oss-integrations-private/issues/275