From 44901c989cd8324d0d2a4492344fb06523a35ace Mon Sep 17 00:00:00 2001 From: Damien Garros Date: Tue, 1 Apr 2025 13:19:00 +0200 Subject: [PATCH] Prep release 1.10.0 --- CHANGELOG.md | 17 +++++++++++++++++ changelog/+5660f1dc.added.md | 1 - changelog/+get_by_hfid.deprecated.md | 1 - changelog/+internal_id.added.md | 1 - changelog/+store.added.md | 1 - changelog/+store_init.deprecated.md | 1 - changelog/331.fixed.md | 1 - pyproject.toml | 2 +- 8 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 changelog/+5660f1dc.added.md delete mode 100644 changelog/+get_by_hfid.deprecated.md delete mode 100644 changelog/+internal_id.added.md delete mode 100644 changelog/+store.added.md delete mode 100644 changelog/+store_init.deprecated.md delete mode 100644 changelog/331.fixed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b8e9608e..d4f8a7d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,23 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [1.10.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.10.0) - 2025-04-01 + +### Deprecated + +- The method `get_by_hfid` on the object Store has been deprecated, use `get(key=[hfid])` instead +- Using a Store without specifying a default branch is now deprecated and will be removed in a future version. + +### Added + +- All nodes generated by the SDK will now be assigned an `internal_id` (`_internal_id`). This ID has no significance outside of the SDK. +- Jinja2 templating has been refactored to allow for filters within Infrahub. Builtin filters as well as those from Netutils are available. +- The object store has been refactored to support more use cases in the future and it now properly support branches. + +### Fixed + +- Fix node processing, when using fragment with `prefetch_relationships`. ([#331](https://github.com/opsmill/infrahub-sdk-python/issues/331)) + ## [1.9.2](https://github.com/opsmill/infrahub-sdk-python/tree/v1.9.2) - 2025-03-26 ### Changed diff --git a/changelog/+5660f1dc.added.md b/changelog/+5660f1dc.added.md deleted file mode 100644 index 0d51a3d9..00000000 --- a/changelog/+5660f1dc.added.md +++ /dev/null @@ -1 +0,0 @@ -Refactored management of Jinja2 templating to allow for filters within Infrahub. Builtin filters as well as those from Netutils are available. diff --git a/changelog/+get_by_hfid.deprecated.md b/changelog/+get_by_hfid.deprecated.md deleted file mode 100644 index afedbae0..00000000 --- a/changelog/+get_by_hfid.deprecated.md +++ /dev/null @@ -1 +0,0 @@ -The method `get_by_hfid` on the object Store has been deprecated, use `get(key=[hfid])` instead diff --git a/changelog/+internal_id.added.md b/changelog/+internal_id.added.md deleted file mode 100644 index 902a0fb0..00000000 --- a/changelog/+internal_id.added.md +++ /dev/null @@ -1 +0,0 @@ -All nodes generated by the SDK will now be assigned an `internal_id` (`_internal_id`). This ID has no significance outside of the SDK. \ No newline at end of file diff --git a/changelog/+store.added.md b/changelog/+store.added.md deleted file mode 100644 index a2f2ad23..00000000 --- a/changelog/+store.added.md +++ /dev/null @@ -1 +0,0 @@ -The object store has been refactored to support more use cases in the future and it now properly support branches. \ No newline at end of file diff --git a/changelog/+store_init.deprecated.md b/changelog/+store_init.deprecated.md deleted file mode 100644 index 6630edec..00000000 --- a/changelog/+store_init.deprecated.md +++ /dev/null @@ -1 +0,0 @@ -Using a Store without specifying a default branch is now deprecated and will be removed in a future version. \ No newline at end of file diff --git a/changelog/331.fixed.md b/changelog/331.fixed.md deleted file mode 100644 index e67d6182..00000000 --- a/changelog/331.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix node processing, when using fragment with `prefetch_relationships`. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d28289cd..bc262f4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "infrahub-sdk" -version = "1.9.2" +version = "1.10.0" description = "Python Client to interact with Infrahub" authors = ["OpsMill "] readme = "README.md"