From 3d1c426a447e71ad16c943dd70ca2b9fce7a60af Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Fri, 13 Oct 2023 20:08:31 +0100 Subject: [PATCH] Release 1.2.0 --- CHANGELOG.rst | 23 +++++++++++++++++++++++ cosmos/__init__.py | 2 +- cosmos/dbt/graph.py | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 911aba526..6f645e7db 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,29 @@ Changelog ========= +1.2.0 (2023-10-13) +------------------ + +Features + +* Add support to model versioning available since dbt 1.6 by @binhnq94 in #516 +* Add AWS Athena profile mapping by @benjamin-awd in #578 +* Support customizing how dbt nodes are converted to Airflow by @tatiana in #503 +* Make the arg ``dbt_project_path`` in the ``ProjectConfig`` optional by @MrBones757 in #581 + +Bug fixes + +* Fix Cosmos custom selector to support filtering a single model by @jlaneve and @harels in #576 +* Fix using ``GoogleCloudServiceAccountDictProfileMapping`` together with ``LoadMethod.DBT_LS`` by @joppevos in #587 +* Fix using the ``full_refresh`` argument in projects that contain tests by @EgorSemenov and @tatiana in #590 + +Others + +* Docs: add reference to original Jaffle Shop project by @erdos2n in #583 +* Docs: retries & note about DagBag error by @TJaniF in #592 +* pre-commit updates in #575 and #585 + + 1.1.3 (2023-09-28) ------------------ diff --git a/cosmos/__init__.py b/cosmos/__init__.py index 70b272a97..38fc2e2f1 100644 --- a/cosmos/__init__.py +++ b/cosmos/__init__.py @@ -5,7 +5,7 @@ Contains dags, task groups, and operators. """ -__version__ = "1.2.0a1" +__version__ = "1.2.0" from cosmos.airflow.dag import DbtDag from cosmos.airflow.task_group import DbtTaskGroup diff --git a/cosmos/dbt/graph.py b/cosmos/dbt/graph.py index af41770fc..889948fdd 100644 --- a/cosmos/dbt/graph.py +++ b/cosmos/dbt/graph.py @@ -165,7 +165,7 @@ def load_via_dbt_ls(self) -> None: # This allows us to run the dbt command from within the temporary directory, outputting any necessary # artifact and also allow us to run `dbt deps` tmpdir_path = Path(tmpdir) - ignore_paths = (DBT_LOG_DIR_NAME, DBT_TARGET_DIR_NAME, "profiles.yml") + ignore_paths = (DBT_LOG_DIR_NAME, DBT_TARGET_DIR_NAME, "dbt_packages", "profiles.yml") for child_name in os.listdir(self.project.dir): if child_name not in ignore_paths: os.symlink(self.project.dir / child_name, tmpdir_path / child_name)