diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c115e6a..1ce592d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,31 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [1.11.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.11.0) - 2025-04-17 + +### Deprecated + +- The 'timeout' parameter while creating a node or fetching the schema has been deprecated. the default_timeout will be used instead. + +### Added + +- Add support for object Template when generating protocols ([#329](https://github.com/opsmill/infrahub-sdk-python/issues/329)) +- Add a Guide related to Python Typing +- Add method `client.schema.set_cache()` to populate the cache manually (primarily for unit testing) +- By default, schema.fetch will now populate the cache (this behavior can be changed with `populate_cache`) +- Add `menu validate` command to validate the format of menu files. + +### Fixed + +- Raise a proper branch not found error when requesting a node or schema for a branch that doesn't exist. ([#286](https://github.com/opsmill/infrahub-sdk-python/issues/286)) +- Fix support for Sync when generating Python Protocols + +### Housekeeping + +- Add `invoke lint-doc` command to help run the docs linters locally +- Add a fixture to always reset some environment variables before running tests +- Update Pytest-httpx and set all responses as reusable + ## [1.10.2](https://github.com/opsmill/infrahub-sdk-python/tree/v1.10.2) - 2025-04-11 ### Fixed diff --git a/changelog/+docs-tasks.housekeeping.md b/changelog/+docs-tasks.housekeeping.md deleted file mode 100644 index 84ed59da..00000000 --- a/changelog/+docs-tasks.housekeeping.md +++ /dev/null @@ -1 +0,0 @@ -Add `invoke lint-doc` command to help run the docs linters locally \ No newline at end of file diff --git a/changelog/+guide-typing.added.md b/changelog/+guide-typing.added.md deleted file mode 100644 index e2fa4b89..00000000 --- a/changelog/+guide-typing.added.md +++ /dev/null @@ -1 +0,0 @@ -Add a Guide related to Python Typing \ No newline at end of file diff --git a/changelog/+menu-validate.added.md b/changelog/+menu-validate.added.md deleted file mode 100644 index 0f24afc4..00000000 --- a/changelog/+menu-validate.added.md +++ /dev/null @@ -1 +0,0 @@ -Add `menu validate` command to validate the format of menu files. \ No newline at end of file diff --git a/changelog/+protocol-sync.fixed.md b/changelog/+protocol-sync.fixed.md deleted file mode 100644 index 52aea2e2..00000000 --- a/changelog/+protocol-sync.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix support for Sync when generating Python Protocols \ No newline at end of file diff --git a/changelog/+pytest-httpx.housekeeping.md b/changelog/+pytest-httpx.housekeeping.md deleted file mode 100644 index c53aabc5..00000000 --- a/changelog/+pytest-httpx.housekeeping.md +++ /dev/null @@ -1 +0,0 @@ -Update Pytest-httpx and set all responses as reusable \ No newline at end of file diff --git a/changelog/+pytest.housekeeping.md b/changelog/+pytest.housekeeping.md deleted file mode 100644 index 51076069..00000000 --- a/changelog/+pytest.housekeeping.md +++ /dev/null @@ -1 +0,0 @@ -Add a fixture to always reset some environment variables before running tests \ No newline at end of file diff --git a/changelog/+schema-fetch.added.md b/changelog/+schema-fetch.added.md deleted file mode 100644 index 52399a47..00000000 --- a/changelog/+schema-fetch.added.md +++ /dev/null @@ -1 +0,0 @@ -By default, schema.fetch will now populate the cache (this behavior can be changed with `populate_cache`) diff --git a/changelog/+schema-set-cache.added.md b/changelog/+schema-set-cache.added.md deleted file mode 100644 index 1dcb4ce4..00000000 --- a/changelog/+schema-set-cache.added.md +++ /dev/null @@ -1 +0,0 @@ -Add method `client.schema.set_cache()` to populate the cache manually (primarily for unit testing) \ No newline at end of file diff --git a/changelog/+schema-timeout.deprecated.md b/changelog/+schema-timeout.deprecated.md deleted file mode 100644 index 788ba67c..00000000 --- a/changelog/+schema-timeout.deprecated.md +++ /dev/null @@ -1 +0,0 @@ -The 'timeout' parameter while creating a node or fetching the schema has been deprecated. the default_timeout will be used instead. \ No newline at end of file diff --git a/changelog/286.fixed.md b/changelog/286.fixed.md deleted file mode 100644 index a8f0f14d..00000000 --- a/changelog/286.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Raise a proper branch not found error when requesting a node or schema for a branch that doesn't exist. diff --git a/changelog/329.added.md b/changelog/329.added.md deleted file mode 100644 index 6f03f404..00000000 --- a/changelog/329.added.md +++ /dev/null @@ -1 +0,0 @@ -Add support for object Template when generating protocols \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e8e4e50e..c4b929e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "infrahub-sdk" -version = "1.10.2" +version = "1.11.0" description = "Python Client to interact with Infrahub" authors = ["OpsMill "] readme = "README.md"