Skip to content

Commit

Permalink
Release 1.8.2 (#1465)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tatiana authored Jan 15, 2025
1 parent 104f8d4 commit 387558f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -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 <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


1.8.1 (2024-12-30)
--------------------

Expand Down
2 changes: 1 addition & 1 deletion cosmos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Contains dags, task groups, and operators.
"""

__version__ = "1.8.1"
__version__ = "1.8.2"


from cosmos.airflow.dag import DbtDag
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/testing-behavior.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 387558f

Please sign in to comment.