You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,15 @@
1
1
Changelog
2
2
=========
3
3
4
-
1.9.0a5 (2025-02-03)
4
+
1.9.1a1 (2025-02-20)
5
+
--------------------
6
+
7
+
Bug Fixes
8
+
9
+
* Fix import error in dbt bigquery adapter mock for ``dbt-bigquery<1.8`` for ``ExecutionMode.AIRFLOW_ASYNC`` by @pankajkoti in #1548
10
+
11
+
12
+
1.9.0 (2025-02-19)
5
13
--------------------
6
14
7
15
Breaking changes
@@ -19,23 +27,43 @@ Features
19
27
* Add structure to support multiple db for async operator execution by @pankajastro in #1483
20
28
* Support overriding the ``profile_config`` per dbt node or folder using config by @tatiana in #1492. More information `here <https://astronomer.github.io/astronomer-cosmos/profiles/#profile-customise-per-node>`_.
21
29
* Create and run accurate SQL statements when using ``ExecutionMode.AIRFLOW_ASYNC`` by @pankajkoti, @tatiana and @pankajastro in #1474
30
+
* Add AWS ECS task run execution mode by @CarlosGitto and @aoelvp94 in #1507
31
+
* Add support for running ``DbtSourceOperator`` individually by @victormacaubas in #1510
32
+
* Add setup task for async executions by @pankajastro in #1518
33
+
* Add teardown task for async executions by @pankajastro in #1529
34
+
* Add ``ProjectConfig.install_dbt_deps`` & change operator ``install_deps=True`` as default by @tatiana in #1521
35
+
* Extend Virtualenv operator and mock dbt adapters for setup & teardown tasks in ``ExecutionMode.AIRFLOW_ASYNC`` by @pankajkoti, @tatiana and @pankajastro in #1544
22
36
23
37
Bug Fixes
24
38
25
39
* Fix select complex intersection of three tag-based graph selectors by @tatiana in #1466
40
+
* Fix custom selector behaviour when the model name contains periods by @yakovlevvs and @60098727 in #1499
41
+
* Filter dbt and non-dbt kwargs correctly for async operator by @pankajastro in #1526
26
42
27
43
Enhancement
28
44
29
45
* Fix OpenLineage deprecation warning by @CorsettiS in #1449
30
46
* Move ``DbtRunner`` related functions into ``dbt/runner.py`` module by @tatiana in #1480
31
47
* Add ``on_warning_callback`` to ``DbtSourceKubernetesOperator`` and refactor previous operators by @LuigiCerone in #1501
48
+
* Gracefully error when users set incompatible ``RenderConfig.dbt_deps`` and ``operator_args`` ``install_deps`` by @tatiana in #1505
49
+
* Store compiled SQL as template field for ``ExecutionMode.AIRFLOW_ASYNC`` by @pankajkoti in #1534
50
+
51
+
Docs
32
52
53
+
* Improve ``RenderConfig`` arguments documentation by @tatiana in #1514
54
+
* Improve callback documentation by @tatiana in #1516
55
+
* Improve partial parsing docs by @tatiana in #1520
56
+
* Fix typo in selecting & excluding docs by @pankajastro in #1523
57
+
* Document ``async_py_requirements`` added in ``ExecutionConfig`` for ``ExecutionMode.AIRFLOW_ASYNC`` by @pankajkoti in #1545
33
58
34
59
Others
35
60
36
61
* Ignore dbt package tests when running Cosmos tests by @tatiana in #1502
62
+
* Refactor to consolidate async dbt adapter code by @pankajkoti in #1509
63
+
* Log elapsed time for sql file(s) upload/download by @pankajastro in #1536
64
+
* Remove the fallback operator for async task by @pankajastro in #1538
Copy file name to clipboardExpand all lines: cosmos/config.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@ class ProjectConfig:
152
152
:param snapshots_relative_path: The relative path to the dbt snapshots directory within the project. Defaults to
153
153
snapshots
154
154
:param manifest_path: The absolute path to the dbt manifest file. Defaults to None
155
+
:param manifest_conn_id: Name of the Airflow connection used to access the manifest file if it is not stored locally. Defaults to None
155
156
:param project_name: Allows the user to define the project name.
156
157
Required if dbt_project_path is not defined. Defaults to the folder name of dbt_project_path.
157
158
:param env_vars: Dictionary of environment variables that are used for both rendering and execution. Rendering with
@@ -175,6 +176,7 @@ class ProjectConfig:
175
176
def__init__(
176
177
self,
177
178
dbt_project_path: str|Path|None=None,
179
+
install_dbt_deps: bool=True,
178
180
models_relative_path: str|Path="models",
179
181
seeds_relative_path: str|Path="seeds",
180
182
snapshots_relative_path: str|Path="snapshots",
@@ -228,6 +230,7 @@ def __init__(
228
230
self.env_vars=env_vars
229
231
self.dbt_vars=dbt_vars
230
232
self.partial_parse=partial_parse
233
+
self.install_dbt_deps=install_dbt_deps
231
234
232
235
defvalidate_project(self) ->None:
233
236
"""
@@ -398,6 +401,8 @@ class ExecutionConfig:
398
401
:param dbt_project_path: Configures the DBT project location accessible at runtime for dag execution. This is the project path in a docker container for ExecutionMode.DOCKER or ExecutionMode.KUBERNETES. Mutually Exclusive with ProjectConfig.dbt_project_path
399
402
:param virtualenv_dir: Directory path to locate the (cached) virtual env that
400
403
should be used for execution when execution mode is set to `ExecutionMode.VIRTUALENV`
404
+
:param async_py_requirements: A list of Python packages to install when `ExecutionMode.AIRFLOW_ASYNC`(Experimental) is used. This parameter is required only if both `enable_setup_async_task` and `enable_teardown_async_task` are set to `True`.
0 commit comments