Skip to content

Releases: opsmill/infrahub-sdk-python

Version 1.15.0b1

20 Oct 22:07
2dcc1db

Choose a tag to compare

Version 1.15.0b1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v1.14.0...v1.15.0b1

Version 1.15.0b0

07 Oct 13:15
cea3266

Choose a tag to compare

Version 1.15.0b0 Pre-release
Pre-release

What's Changed

Added

  • Add create_diff to the clients to manually create a diff between two times. by @minitriga in #531
  • Add convert_object_type method by @LucasG0 in #554
  • Add support for clearing optional attributes by @minitriga in #548
  • Add support for clearing cardinality one relationships by @gmazoyer in #515
  • Add default_value to object conversion input for destination attributes by @LucasG0 in #558
  • Add Object file range expansion by @minitriga in #561
  • Add support for display_label property on schema nodes by @gmazoyer in #556

Fixed

  • Deprecate using raise_for_error = False on SDK client methods by @gmazoyer in #508
  • Use new mutation names for allocting IPAddress and IPPrefix resources from a pool by @gmazoyer in #465
  • Support .infrahub.yml and .infrahub.yaml as repository configuration files by @petercrocker in #492
  • Do not fail info command when user not set by @gmazoyer in #524
  • Fix branch creation with sync client by @gmazoyer in #527
  • Fix filters include parameter by @LucasG0 in #513
  • Respect default branch for client.query_gql_query() by @ogenstad in #518
  • Fix issue with render ctl command not using branch environment variables by @minitriga in #536
  • Fix return types by @ogenstad in #541
  • Remove unnecessary assignments before return statement by @ogenstad in #542
  • Fix typing for substract params by @ogenstad in #540
  • Clean up typing for proxy config by @ogenstad in #539
  • fix improperly escaped special characters in HFID by @BeArchiTek in #547
  • Fix schema load failure exception by @solababs in #555
  • Fix JsonDecodeError to include server response content in error message by @Copilot in #553

Housekeeping

Full Changelog: v1.14.0...v1.15.0b0

Version 1.14.0

27 Aug 06:43
4f7725b

Choose a tag to compare

Added

  • Added infrahubctl repository init command to allow the initialization of an Infrahub repository using infrahub-template. (#466)
  • add support for NumberPool attributes in generated protocols

Fixed

  • Fix value lookup using a flat notation like foo__bar__value with relationships of cardinality one (#6882)
  • Create a new batch while fetching relationships instead of using the reusing the same one.
  • Update internal calls to count to include the branch parameter so that the query is performed on the correct branch
  • Update offset in process_page() which was causing a race condition in rare case. (#514)

Version 1.13.5

23 Jul 04:58
64a7957

Choose a tag to compare

Fixed

  • Respect ordering when loading files from a directory

Version 1.13.4

22 Jul 20:26
ef7fc07

Choose a tag to compare

Fixed

  • Fix processing of relationship during nodes retrieval using the Sync Client, when prefecthing related_nodes. (#461)
  • Fix schema loading to ignore non-YAML files in folders. (#462)
  • Fix ignored node variable in filters(). (#469)
  • Fix use of parallel with filters for Infrahub Client Sync.
  • Avoid sending empty list to infrahub if no valids schemas are found.

Version 1.13.3

30 Jun 18:24
560238a

Choose a tag to compare

Fixed

  • Update InfrahubNode creation to include __typename, display_label, and kind from a RelatedNode (#455)

Version 1.13.2

27 Jun 12:26
b904ad5

Choose a tag to compare

Fixed

  • Re-enable specifying a cardinality-one relationship using a RelatedNode when creating an InfrahubNode (#452)
  • Fixes the import path of the Attribute class

Version 1.13.1

20 Jun 08:25
9a5b3ae

Choose a tag to compare

Fixed

  • Fix the import path of the Attribute class #448

Version 1.13.0

11 Jun 16:06
55e933f

Choose a tag to compare

This release adds support for the new NumberPool attribute and loading object and menu files from external repositories in Infrahub 1.3.

Added

  • Added NumberPool as a new attribute kind, for support in Infrahub 1.3
  • Added support for object and menu files in the .infrahub repository configuration file
  • Defined ordering in which object files are loaded

Housekeeping

  • Refactor InfrahubNode to avoid the creation of a dynamic Python class for each object defined

Version 1.12.3

10 Jun 13:33
9c70cb0

Choose a tag to compare

Fixed

  • fix Python transforms tests in the resource testing framework by @ogenstad in #433
  • add unit test for Python transforms test for the resource testing framework @wvandeun in #435

Changed

  • loosen requirement for the optional Rich dependency from v12.0.0 up to but not including v14.0.0 by @wvandeun in #434