Releases: opsmill/infrahub-sdk-python
Releases · opsmill/infrahub-sdk-python
Version 1.8.0b2
1.8.0b2 - 2025-03-04
Deprecated
- Timestamp: Direct access to
obj
andadd_delta
have been deprecated and will be removed in a future version. (#255)
Changed
- Changes InfrahubNode/InfrahubNodeSync
artifact_fetch
andartifact_generate
methods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocols
CTL command properly gets default branch setting from environment variable. (#104)- Fix typing for Python 3.9 (#251)
- Refactor Timestamp to use
whenever
instead ofpendulum
and 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_file
from the ctl module to the SDK.
Version 1.8.0b1
1.8.0b1 - 2025-02-28
Deprecated
- Timestamp: Direct access to
obj
andadd_delta
have been deprecated and will be removed in a future version. (#255)
Changed
- Changes InfrahubNode
artifact_fetch
andartifact_generate
methods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocols
CTL command properly gets default branch setting from environment variable. (#104)- Fix typing for Python 3.9 (#251)
- Refactor Timestamp to use
whenever
instead ofpendulum
and 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_file
from the ctl module to the SDK.
Version 1.8.0rc0
1.8.0rc0 - 2025-02-23
Changed
- Changes InfrahubNode
artifact_fetch
andartifact_generate
methods to use the name of the artifact instead of the name of the artifact definition.
Fixed
protocols
CTL 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_file
from 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
parallel
query execution could lead to excessive and unneeded GraphQL queries
Version 1.6.0
Version 1.5.0
1.5.0 - 2025-01-09
Added
- Adds
infrahubctl info
command to display information of the connectivity status of the SDK. (#109) - Add
count
method to both sync and async clients to retrieve the number of objects of a given kind (#158) - Add the ability to batch API queries for
all
andfilter
functions. (#159) client.all
andclient.filters
now supportorder
parameter allowing to disable order of retrieve nodes in order to enhance performances
Version 1.4.1
1.4.1 - 2025-01-05
Fixed
- Fixes an issue introduced in 1.4 that would prevent a node with relationship of cardinality one from being updated.
Version 1.4.0
1.4.0 - 2025-01-03
Changed
- The inclusion of properties for Attribute and Relationships by default has been disabled when querying nodes from Infrahub.
it can be enabled by using the parameterproperty
inclient.get|all|filters
method (#191) - Fix an issue with python-transform-unit-process failing to run (#198)
- Add processing of nodes when no variable are passed into the command to run generators (#176)