Releases: opsmill/infrahub-sdk-python
Releases · opsmill/infrahub-sdk-python
Version 1.9.0
1.9.0 - 2025-03-21
Added
- Add 'schema_hash' parameter to client.schema.all to only optionally refresh the schema if the provided hash differs from what the client has already cached. (#152)
Changed
- CoreStandardGroups created or updated by a generator in Infrahub are now stored as a member of the CoreGeneratorGroup. Previously they were being stored as children of the CoreGeneratorGroup.
Fixed
- The SDK client query methods (get, filters, all) default behaviour has changed. The query methods will store the retrieved nodes in the internal store by default, where previously this behaviour had to be enabled explicitly using the
populate_storeargument. (#15)
Version 1.8.0
1.8.0 - 2025-03-19
Deprecated
- Timestamp: Direct access to
objandadd_deltahave been deprecated and will be removed in a future version. (#255)
Added
- Added support for Enum in GraphQL query and mutation. (#18)
Fixed
- Refactored Timestamp to use
wheneverinstead ofpendulumand extend Timestamp withadd(),subtract(), andto_datetime(). (#255) - Fixed support for Python 3.13 as it's no longer required to have Rust installed on the system.
Version 1.7.2
1.7.2 - 2025-03-07
Added
- Added logger to
InfrahubGeneratorclass to allow users use built-in logging (self.logger) to show logging within Infrahub CI pipeline.
Changed
- Aligned the environment variables used by
infrahubctlwith the environment variables used by the SDK. - Allowed the
infrahubctl transformcommand to return a regular string that does not get converted to a JSON string. - Changed InfrahubNode/InfrahubNodeSync
artifact_fetchandartifact_generatemethods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocolsCTL command properly gets default branch setting from environment variable. (#104)- Fixed typing for Python 3.9 and removed support for Python 3.13. (#251)
- Removed default value "main" for branch parameter from all Infrahub CTL commands. (#264)
Housekeeping
- Moved the function
read_filefrom the ctl module to the SDK.
Version 1.8.0b2
1.8.0b2 - 2025-03-04
Deprecated
- Timestamp: Direct access to
objandadd_deltahave been deprecated and will be removed in a future version. (#255)
Changed
- Changes InfrahubNode/InfrahubNodeSync
artifact_fetchandartifact_generatemethods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocolsCTL command properly gets default branch setting from environment variable. (#104)- Fix typing for Python 3.9 (#251)
- Refactor Timestamp to use
wheneverinstead ofpendulumand extend Timestamp with add(), subtract(), and to_datetime(). (#255) - Remove default value "main" for branch parameter from all Infrahub CTL commands. (#264)
- Fixed support for Python 3.13, it's no longer required to have Rust installed on the system.
Housekeeping
- Move the function
read_filefrom the ctl module to the SDK.
Version 1.8.0b1
1.8.0b1 - 2025-02-28
Deprecated
- Timestamp: Direct access to
objandadd_deltahave been deprecated and will be removed in a future version. (#255)
Changed
- Changes InfrahubNode
artifact_fetchandartifact_generatemethods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocolsCTL command properly gets default branch setting from environment variable. (#104)- Fix typing for Python 3.9 (#251)
- Refactor Timestamp to use
wheneverinstead ofpendulumand extend Timestamp with add(), subtract(), and to_datetime(). (#255) - Remove default value "main" for branch parameter from all Infrahub CTL commands. (#264)
- Fixed support for Python 3.13, it's no longer required to have Rust installed on the system.
Housekeeping
- Move the function
read_filefrom the ctl module to the SDK.
Version 1.8.0rc0
1.8.0rc0 - 2025-02-23
Changed
- Changes InfrahubNode
artifact_fetchandartifact_generatemethods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocolsCTL command properly gets default branch setting from environment variable. (#104)- Fix typing for Python 3.9 and remove support for Python 3.13. (#251)
- Remove default value "main" for branch parameter from all Infrahub CTL commands. (#264)
Housekeeping
- Move the function
read_filefrom the ctl module to the SDK.
Version 1.7.1
Version 1.7.0
Version 1.6.1
1.6.1 - 2025-01-16
Note This release resolves an issues with the 1.6.0 release that targeted an incorrect commit in the tree.
Added
- Replace GitPython with dulwich (#130)
Changed
- Added possibility to use filters for the SDK client's count method
Fixed
- Fixes issue where using
parallelquery execution could lead to excessive and unneeded GraphQL queries