Skip to content

Releases: opsmill/infrahub-sdk-python

Version 0.14.0

04 Oct 16:38
656b382
Compare
Choose a tag to compare

0.14.0 - 2024-10-04

Removed

  • Removed depreceted methods InfrahubClient.init and InfrahubClientSync.init (#33)

Changed

  • Query filters are not validated locally anymore, the validation will be done on the server side instead. (#9)

  • Method client.get() can now return None instead of raising an exception when raise_when_missing is set to False

    response = await clients.get(
        kind="CoreRepository", name__value="infrahub-demo", raise_when_missing=False
    )
    ``` ([#11](https://github.com/opsmill/infrahub-sdk-python/issues/11))

Fixed

  • prefix and address attribute filters are now available in the Python SDK (#10)
  • Queries using isnull as a filter are now supported by the Python SDK (#30)
  • execute_graphql method for InfrahubClient(Sync) now properly considers the default_branch setting (#46)

Version 0.13.1

24 Sep 19:15
f2a19e0
Compare
Choose a tag to compare

0.13.1 - 2024-09-24

Added

  • Allow id filters to be combined when executing a query (#3)

Fixed

  • Add ability to construct HFIDs from payload for upsert mutations (#45)
  • Fix pytest plugin integration tests unable to run because we were not properly setting the api_token configuration setting for the SDK.