Skip to content

Commit 8072964

Browse files
authored
Release 1.7.2 (#297)
* Update changelog for 1.7.2. * Fix dependabot alert by upgrading Jinja2 to 3.1.6.
1 parent 5f02b64 commit 8072964

11 files changed

+27
-13
lines changed

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,36 @@
33
This is the changelog for the Infrahub SDK.
44
All notable changes to this project will be documented in this file.
55

6-
Issue tracking is located in [Github](https://github.com/opsmill/infrahub/issues).
6+
Issue tracking is located in [GitHub](https://github.com/opsmill/infrahub/issues).
77

88
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the changes for the upcoming release can be found in <https://github.com/opsmill/infrahub/tree/develop/infrahub/python_sdk/changelog/>.
1111

1212
<!-- towncrier release notes start -->
1313

14+
## [1.7.2](https://github.com/opsmill/infrahub-sdk-python/tree/v1.7.2) - 2025-03-07
15+
16+
### Added
17+
18+
- Added logger to `InfrahubGenerator` class to allow users use built-in logging (`self.logger`) to show logging within Infrahub CI pipeline.
19+
20+
### Changed
21+
22+
- Aligned the environment variables used by `infrahubctl` with the environment variables used by the SDK.
23+
- Allowed the `infrahubctl transform` command to return a regular string that does not get converted to a JSON string.
24+
- Changed InfrahubNode/InfrahubNodeSync `artifact_fetch` and `artifact_generate` methods to use the name of the artifact instead of the name of the artifact definition.
25+
26+
### Fixed
27+
28+
- `protocols` CTL command properly gets default branch setting from environment variable. ([#104](https://github.com/opsmill/infrahub-sdk-python/issues/104))
29+
- Fixed typing for Python 3.9 and removed support for Python 3.13. ([#251](https://github.com/opsmill/infrahub-sdk-python/issues/251))
30+
- Removed default value "main" for branch parameter from all Infrahub CTL commands. ([#264](https://github.com/opsmill/infrahub-sdk-python/issues/264))
31+
32+
### Housekeeping
33+
34+
- Moved the function `read_file` from the ctl module to the SDK.
35+
1436
## [1.7.1](https://github.com/opsmill/infrahub-sdk-python/tree/v1.7.1) - 2025-01-30
1537

1638
### Removed

changelog/+add-logger-to-generator-class.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+align-infrahubctl-env-vars.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+artifact_methods.changed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+ctl-transform-return-string.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+move-read-file.housekeeping.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/104.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/251.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/264.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)