Skip to content

Commit 826c188

Browse files
committed
Merge remote-tracking branch 'origin/develop' into infrahub-develop
2 parents e59e6a5 + 7c65729 commit 826c188

18 files changed

+81
-17
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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

@@ -21,6 +21,18 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
2121

2222
- Changes InfrahubNode/InfrahubNodeSync `artifact_fetch` and `artifact_generate` methods to use the name of the artifact instead of the name of the artifact definition.
2323

24+
## [1.7.2](https://github.com/opsmill/infrahub-sdk-python/tree/v1.7.2) - 2025-03-07
25+
26+
### Added
27+
28+
- Added logger to `InfrahubGenerator` class to allow users use built-in logging (`self.logger`) to show logging within Infrahub CI pipeline.
29+
30+
### Changed
31+
32+
- Aligned the environment variables used by `infrahubctl` with the environment variables used by the SDK.
33+
- Allowed the `infrahubctl transform` command to return a regular string that does not get converted to a JSON string.
34+
- Changed InfrahubNode/InfrahubNodeSync `artifact_fetch` and `artifact_generate` methods to use the name of the artifact instead of the name of the artifact definition.
35+
2436
### Fixed
2537

2638
- `protocols` CTL command properly gets default branch setting from environment variable. ([#104](https://github.com/opsmill/infrahub-sdk-python/issues/104))
@@ -32,6 +44,12 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
3244
### Housekeeping
3345

3446
- Move the function `read_file` from the ctl module to the SDK.
47+
- Fixed typing for Python 3.9 and removed support for Python 3.13. ([#251](https://github.com/opsmill/infrahub-sdk-python/issues/251))
48+
- Removed default value "main" for branch parameter from all Infrahub CTL commands. ([#264](https://github.com/opsmill/infrahub-sdk-python/issues/264))
49+
50+
### Housekeeping
51+
52+
- Moved the function `read_file` from the ctl module to the SDK.
3553

3654
## [1.7.1](https://github.com/opsmill/infrahub-sdk-python/tree/v1.7.1) - 2025-01-30
3755

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.

docs/docs/python-sdk/reference/config.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ The following settings can be defined in the `Config` class
150150
**Default value**: False<br />
151151
**Environment variable**: `INFRAHUB_RETRY_ON_FAILURE`<br />
152152
<!-- vale off -->
153+
## max_retry_duration
154+
155+
**Property**: max_retry_duration<br />
156+
<!-- vale on -->
157+
**Description**: Maximum duration until we stop attempting to retry if enabled.<br />
158+
**Type**: `integer`<br />
159+
**Default value**: 300<br />
160+
**Environment variable**: `INFRAHUB_MAX_RETRY_DURATION`<br />
161+
<!-- vale off -->
153162
## schema_converge_timeout
154163

155164
**Property**: schema_converge_timeout<br />

0 commit comments

Comments
 (0)