Skip to content

Releases: astronomer/astronomer-cosmos

v1.11.3

Choose a tag to compare

@tatiana tatiana released this 16 Dec 14:25
803f998

Bug Fixes

  • (back-ported) Fix resolution of packages-install-path when it uses env_var by @tatiana in #2194

v1.10.3

Choose a tag to compare

@tatiana tatiana released this 16 Dec 14:24
38d2a2a

Bug Fixes

  • (back-ported) Fix resolution of packages-install-path when it uses env_var by @tatiana in #2194

v1.12.0a4

v1.12.0a4 Pre-release
Pre-release

Choose a tag to compare

@pankajkoti pankajkoti released this 09 Dec 16:10
6487f85

Everything in v1.12.0a3 and additionally:

Breaking changes

Features

  • Support real-time consumer updates when using ExecutionMode.WATCHER and InvocationMode.SUBPROCESS by @pankajastro in #2152

Enhancements

  • Refactor ExecutionMode.WATCHER InvocationMode.SUBPROCESS log parser by @tatiana in #2183

Bug fixes

Docs

Others

Release prepared via PR: #2149 (branch: https://github.com/astronomer/astronomer-cosmos/tree/release-1.12)

v1.11.2

Choose a tag to compare

Bug fixes

  • Force DbtProducerWatcherOperator retries to zero by @pankajkoti in #2114
  • Fail DbtConsumerWatcherSensor tasks immediately when the DbtProducerWatcherOperator fails using Airflow context by @pankajkoti in #2126
  • Fix forwarding DbtProducerWatcherOperator dbt build flags by by @michal-mrazek in #2127

Documentation

v1.12.0a3

v1.12.0a3 Pre-release
Pre-release

Choose a tag to compare

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_group receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata now expects the node_converters argument
  • Drop Python 3.9 support by @pankajastro in #2118

Features

  • Support applying node_converter at a task level instead of task group level by @anyapriya in #1759
  • Allow overriding DbtProducerWatcherOperator parameters via ExecutionConfig.setup_operator_args by @pankajastro in #2133
  • Use deferrable sensors by default in ExecutionMode.WATCHER by @pankajastro in #2084

Enhancements

  • Unify Airflow version handling into constants.py by @tatiana in #2089
  • Refactor airflow/graph.py to simplify the code base by @tatiana in #2080
  • Force watcher producer retries to zero by @pankajkoti in #2114
  • Fail ExecutionMode.WATCHER consumer 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

Docs

Others

Release prepared via PR: #2149 (branch: https://github.com/astronomer/astronomer-cosmos/tree/release-1.12)

v1.11.1

Choose a tag to compare

@tatiana tatiana released this 12 Nov 20:00

Bug fixes

  • Fix ExecutionMode.WATCHER deadlock in Airflow 3.0 & 3.1 by @tatiana in #2087
  • Fix ExecutionMode.AIRFLOW_ASYNC TaskGroup XCom issue by @tatiana in #2088
  • Guard watcher callback exceptions to avoid hanging producer tasks by @pankajkoti in #2101
  • Fix SQL templated field rendering for dynamically mapped tasks in Airflow 2 by @tatiana in #2119
  • Fix ExecutionMode.WATCHER to use install_dbt_deps from ProjectConfig by @michal-mrazek in #2112

Enhancements

  • Remove usage of contextmanager in plugins for accessing connections in Airflow >= 3.1.2 by @pankajkoti in #2073

Docs

  • Improve ExecutionMode.AIRFLOW_ASYNC docs by @tatiana in #2103
  • Add note about experimenting threads count for the Watcher Execution mode by @pankajkoti in #2083
  • Fix minor documentation formatting issue by @dnskr in #2098
  • Correct example YAML key from operator_args to operator_kwargs by @jx2lee in #2091

Others

  • Fix broken CI due to fastapi incompatibility with cadwyn for Airflow 3 by @pankajkoti in #2076
  • pre-commit autoupdate in #2078, #2104

v1.11.1a1

v1.11.1a1 Pre-release
Pre-release

Choose a tag to compare

Bug fixes

  • Fix ExecutionMode.WATCHER deadlock in Airflow 3.0 & 3.1 by @tatiana in #2087
  • Fix ExecutionMode.AIRFLOW_ASYNC TaskGroup XCom issue by @tatiana in #2088

Enhancements

  • Remove usage of contextmanager in plugins for accessing connections in Airflow >= 3.1.2 by @pankajkoti in #2073

Others

  • Fix broken CI due to fastapi incompatibility with cadwyn for Airflow 3 by @pankajkoti in #2076
  • pre-commit autoupdate in #2078

v1.12.0a1

v1.12.0a1 Pre-release
Pre-release

Choose a tag to compare

@tatiana tatiana released this 04 Nov 14:43

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_group receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata now expects the node_converters argument

Features

  • Support applying node_converter at a task level instead of task group level by @anyapriya in #1759

Enhancements

  • Remove usage of contextmanager in plugins for accessing connections in Airflow >= 3.1.2 by @pankajkoti in #2073
  • Refactor airflow/graph.py to simplify code-base by @tatiana in #2080

Others

  • Fix broken CI due to fastapi incompatibility with cadwyn for Airflow 3 by @pankajkoti in #2076

v1.12.0a2

v1.12.0a2 Pre-release
Pre-release

Choose a tag to compare

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_group receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata receives render_config instead of its individual configurations, such as test_behavior, source_rendering_behavior and enable_owner_inheritance
    • create_task_metadata now expects the node_converters argument

Features

  • Support applying node_converter at a task level instead of task group level by @anyapriya in #1759

Enhancements

  • Remove usage of contextmanager in plugins for accessing connections in Airflow >= 3.1.2 by @pankajkoti in #2073
  • Refactor airflow/graph.py to simplify code-base by @tatiana in #2080

Others

  • Fix broken CI due to fastapi incompatibility with cadwyn for Airflow 3 by @pankajkoti in #2076
  • Pre-commit updates: #2078

v1.11.0

Choose a tag to compare

@tatiana tatiana released this 29 Oct 14:03
205f912

Features

  • Introduce ExecutionMode.WATCHER to reduce DAG run time by 1/5 in several PRs. Learn more about it here. This feature was implemented via multiple PRs, including:

    • Expose new execution mode by @tatiana @pankajastro @pankajkoti in #1999
    • Add DbtProducerWatcherOperator for the proposed ExecutionMode.WATCHER by @pankajkoti in #1982
    • Add DbtConsumerWatcherSensor for the proposed ExecutionMode.WATCHER by @pankajastro in #1998
    • Push producer's task completion status to XCOM by @pankajkoti in #2000
    • Add default priority_weight for DbtProducerWatcherOperator by @pankajkoti in #1995
    • Add sample dbt events for the dbt watcher execution mode by @pankajkoti in #1952
    • Add compiled_sql as a template fields on ExecutionMode.WATCHER when using run_results.json by @pankajastro in #2070
    • Set push_run_results_to_xcom kwargs correctly for invocation mode subprocess and Watcher mode by @pankajastro in #2067
    • Store compiled SQL as template field for dbt callback events in ExecutionMode.WATCHER by @pankajkoti in #2068
    • Add initial documentation for ExecutionMode.WATCHER by @tatiana in #2046
    • Support running State.UPSTREAM_FAILED tasks when WATCHER consumer upstream tasks fail by @tatiana in #2062
    • Fail sensor tasks immediately if the ExecutionMode.WATCHER producer task fails by @pankajastro in #2040
    • Add ``WATCHER``` to GitHub issue template by @tatiana in #2056
    • Add support for TestBehavior.AFTER_ALL with ExecutionMode.WATCHER by @pankajastro in #2049
    • Add support for TestBehavior.NONE with ExecutionMode.WATCHER by @pankajastro in #2047
    • Fix ExecutionMode.WATCHER behaviour with DbtTaskGroup by @tatiana in #2044
    • Fix Cosmos behaviour when using watcher with InvocationMode.DBT_RUNNER by @tatiana in #2048
  • Add Airflow 3 plugin for dbt docs with multiple dbt projects support by @pankajkoti in #2009, check the documentation.

  • Initial support to dbt Fusion by @tatiana in #1803. More details here.

  • Support to prune sources without downstream references in dbt projects by @corsettigyg in #1988

  • Allow to set task display name as a user-defined function by @corsettigyg in #1761

  • Add dbt project's hash to dag docs to support dag versioning in Airflow 3 by @pankajkoti in #1907

  • feat: Add Jinja templating support for dbt_cmd_flags by @skillicinski in #1899

  • Add Scarf metric to collect the execution mode uses by @pankajastro in #1981

  • Support Airflow 3.1 by @tatiana in #1980

  • Add MySQL profile mapping by @Lee2532 in #1977

  • Add sqlserver profile mapping by @pankajastro in #1737

Enhancement

  • Improved the runtime speed of ExecutionMode.AIRFLOW_ASYNC by 36% , via the following tickets:
    • Use XCom to store sql when using ExecutionMode.AIRFLOW_ASYNC by @pankajastro in #1934
    • Refactor AIRFLOW_ASYNC teardown so it doesn't install the virtualenv by @pankajastro in #1938
    • Reuse the virtual env for AIRFLOW_ASYNC setup task by @pankajastro in #1939
  • Improve dataset/asset experience in Cosmos by @tatiana in #2030
  • Add downstreams to DbtNode by @wornjs in #2028

Bug fixes

Documentation

  • Add documentation for Airflow 3 Plugin supporting dbt docs for multiple dbt projects by @pankajkoti in #2063
  • Add Cosmos Deferrable Operator Guide by @pankajastro in #1922
  • Add dbt Fusion documentation by @tatiana in #1824 #1830
  • Update dbt-fusion.rst to explicitly highlight it is in alpha by @tatiana in #1838
  • Fix a bunch of docs build errors and warnings by @pankajkoti in #1886
  • Add docs note for param virtualenv_dir for async execution mode by @pankajastro in #1969
  • Use pepy.tech downloads badge in README by @pankajkoti in #1920
  • Correct the default value of cache_dir by @seokyun.ha in #2027

Others

Co-authored-by: Pankaj Koti pankaj.koti@astronomer.io
Co-authored-by: Pankaj Singh pankaj.singh@astronomer.io