From 387558fd20bc8ac5ac4cb58a61df3dd83e55c52f Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Wed, 15 Jan 2025 16:42:57 +0000 Subject: [PATCH] Release 1.8.2 (#1465) Bug Fixes * Fix ``httpx.get`` exception handling while emitting telemetry by @tatiana in #1439 * Fix (not) rendering detached tests in ``TestBehavior.NONE`` and ``AFTER_ALL`` by @tatiana in #1463 * Fix detached test tasks names so they do not exceed 250 chars by @tatiana in #1464 Enhancement * Allow users to opt-in or out (default) of detached test nodes by @tatiana in #1470. Learn more about this [here](https://astronomer.github.io/astronomer-cosmos/configuration/testing-behavior.html). Docs * Docs: Fix broken links and rendering by @pankajastro in #1437 * Update ``operator args`` docs to include ``install_deps`` by @tatiana in #1456 * Improve Cosmos ``select`` docs to include latest graph operator support by @tatiana in #1467 Others * Upgrade GitHub action artifacts upload-artifact & download-artifact to v4 by @pankajkoti in #1445 * Enable Depandabot to scan outdated Github Actions dependencies by @tatiana in #1446 * Pre-commit hook updates in #1459, #1441 * Dependabot Github action updates in #1451, #1452, #1453, #1454, #1455 --- CHANGELOG.rst | 27 +++++++++++++++++++++++++ cosmos/__init__.py | 2 +- docs/configuration/testing-behavior.rst | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 872d50f4b..d786ccda3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,33 @@ Changelog ========= +1.8.2 (2025-01-15) +-------------------- + +Bug Fixes + +* Fix ``httpx.get`` exception handling while emitting telemetry by @tatiana in #1439 +* Fix (not) rendering detached tests in ``TestBehavior.NONE`` and ``AFTER_ALL`` by @tatiana in #1463 +* Fix detached test tasks names so they do not exceed 250 chars by @tatiana in #1464 + +Enhancement + +* Allow users to opt-in or out (default) of detached test nodes by @tatiana in #1470. Learn more about this `here `_. + +Docs + +* Docs: Fix broken links and rendering by @pankajastro in #1437 +* Update ``operator args`` docs to include ``install_deps`` by @tatiana in #1456 +* Improve Cosmos ``select`` docs to include latest graph operator support by @tatiana in #1467 + +Others + +* Upgrade GitHub action artifacts upload-artifact & download-artifact to v4 by @pankajkoti in #1445 +* Enable Depandabot to scan outdated Github Actions dependencies by @tatiana in #1446 +* Pre-commit hook updates in #1459, #1441 +* Dependabot Github action updates in #1451, #1452, #1453, #1454, #1455 + + 1.8.1 (2024-12-30) -------------------- diff --git a/cosmos/__init__.py b/cosmos/__init__.py index 790319d91..91263f96b 100644 --- a/cosmos/__init__.py +++ b/cosmos/__init__.py @@ -6,7 +6,7 @@ Contains dags, task groups, and operators. """ -__version__ = "1.8.1" +__version__ = "1.8.2" from cosmos.airflow.dag import DbtDag diff --git a/docs/configuration/testing-behavior.rst b/docs/configuration/testing-behavior.rst index aff64e68e..86a9a877f 100644 --- a/docs/configuration/testing-behavior.rst +++ b/docs/configuration/testing-behavior.rst @@ -125,7 +125,7 @@ As an example, if there is a test that depends on multiple models (``model_a`` a While the standard behavior of Cosmos works for many cases, there are a few scenarios when the test fails unless both models run. To overcome this issue, starting in Cosmos 1.8.2, we introduced the parameter ``should_detach_multiple_parents_tests`` in ``RenderConfig``. By default, it is ``False``. If it is set to ``True`` and -``TestBehavior` is ``AFTER_EACH`` or ``BUILD``, Cosmos will identify all the test nodes that depend on multiple parents +``TestBehavior`` is ``AFTER_EACH`` or ``BUILD``, Cosmos will identify all the test nodes that depend on multiple parents and will create a standalone test task for each of them. Cosmos will attempt to name this task after the test's original name. However, since some test names can exceed 250 characters and Airflow does not support IDs longer than this limit, Cosmos will assign names like “detached_0_test,” incrementing the number as needed.