Releases: opsmill/infrahub-sdk-python
Releases · opsmill/infrahub-sdk-python
Version 1.15.0b1
What's Changed
- Use new mutation names for getting pool resources by @gmazoyer in #465
- Add protocols for Infrahub 1.4 by @ogenstad in #488
- Support infrahub.yml or infrahub.yaml configuration files by @petercrocker in #492
- Upgrade
infrahub-testcontainersby @gmazoyer in #516 - IHS-152 Allow unsetting one-to-one relationship by @gmazoyer in #515
- Bump docs dependencies by @minitriga in #520
- IHS-154 Deprecate using
raise_for_error = Falseby @gmazoyer in #508 - fix(docs): broken links to .infrahub.yml by @fatih-acar in #522
- Do not fail
infocommand when user not set by @gmazoyer in #524 - Fix branch creation with sync client by @gmazoyer in #527
- Fix filters
includeparameter by @LucasG0 in #513 - Respect default branch for client.query_gql_query() by @ogenstad in #518
- Add
create_diffto the clients to manually create a diff between two times. by @minitriga in #531 - Fix issue with
renderctl command not using branch environment variables by @minitriga in #536 - Fix return types by @ogenstad in #541
- Remove unnecessary assignments before
returnstatement by @ogenstad in #542 - Fix typing for substract params by @ogenstad in #540
- Clean up typing for proxy config by @ogenstad in #539
- add livestream to docs by @petercrocker in #544
- fix improperly escaped special characters in
HFIDby @BeArchiTek in #547 - IFC-1811: Replace toml package with tomllib and tomli optionally by @solababs in #551
- Add convert_object_type method by @LucasG0 in #554
- Add support for clearing optional attributes by @minitriga in #548
- IHS-147: Fix schema load failure exception by @solababs in #555
- Add to object conversion input by @LucasG0 in #558
- Fix JsonDecodeError to include server response content in error message by @Copilot in #553
- Object file range expansion by @minitriga in #561
- IHS-163 Add required change for IFC-1820 (display_label) by @gmazoyer in #556
- Increase default timeouts for transform/checks from 10 to 60. by @FragmentedPacket in #563
- Range Expansion Imrovements by @minitriga in #571
- IHS-170: Disable rich console print markup causing regex reformatting by @solababs in #574
- update docusaurus by @petercrocker in #567
- fixed broken link by @vsurresh in #474
- Add command to generate Pydantic model based on a GraphQL query by @dgarros in #546
- Add flags to
CoreGeneratorDefinitionto control when each generator should be executed by @dgarros in #578
New Contributors
Full Changelog: v1.14.0...v1.15.0b1
Version 1.15.0b0
What's Changed
Added
- Add
create_diffto the clients to manually create a diff between two times. by @minitriga in #531 - Add
convert_object_typemethod 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_valueto object conversion input for destination attributes by @LucasG0 in #558 - Add Object file range expansion by @minitriga in #561
- Add support for
display_labelproperty on schema nodes by @gmazoyer in #556
Fixed
- Deprecate using
raise_for_error = Falseon 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
infocommand when user not set by @gmazoyer in #524 - Fix branch creation with sync client by @gmazoyer in #527
- Fix filters
includeparameter by @LucasG0 in #513 - Respect default branch for client.query_gql_query() by @ogenstad in #518
- Fix issue with
renderctl command not using branch environment variables by @minitriga in #536 - Fix return types by @ogenstad in #541
- Remove unnecessary assignments before
returnstatement 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
HFIDby @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
- add livestream to docs by @petercrocker in #544
- fix(docs): broken links to .infrahub.yml by @fatih-acar in #522
- Upgrade
infrahub-testcontainersby @gmazoyer in #516 - Bump docs dependencies by @minitriga in #520
- Add protocols for Infrahub 1.4 by @ogenstad in #488
- IFC-1811: Replace toml package with tomllib and tomli optionally by @solababs in #551
- Prepare release v1.15.0b0 by @wvandeun in #568
Full Changelog: v1.14.0...v1.15.0b0
Version 1.14.0
Added
- Added
infrahubctl repository initcommand 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__valuewith relationships of cardinality one (#6882) - Create a new batch while fetching relationships instead of using the reusing the same one.
- Update internal calls to
countto 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
Fixed
- Respect ordering when loading files from a directory
Version 1.13.4
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
Fixed
- Update InfrahubNode creation to include __typename, display_label, and kind from a RelatedNode (#455)
Version 1.13.2
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
Fixed
- Fix the import path of the Attribute class #448
Version 1.13.0
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
.infrahubrepository 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