You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Add create_diff method to create a diff summary between two timestamps
Update get_diff_summary to accept optional time range parameters (#529)
Add the ability to perform range expansions in object files. This feature allows users to define patterns in string fields that will be expanded into multiple objects, facilitating bulk object creation and management. The implementation includes validation to ensure that all expanded lists have the same length, preventing inconsistencies. Documentation has been updated to explain how to use this feature, including examples of valid and invalid configurations. (#560)
Add convert_object_type method to allow converting an object to another type.
Add graph_version and status properties to Branch
Add infrahubctl graphql commands to export schema and generate Pydantic types from GraphQL queries
Added deprecation warnings when loading or checking schemas
Changed
Deprecate the use of raise_for_error=False across several methods, using a try/except pattern is preferred. (#493)
Fixed
Respect default branch for client.query_gql_query() and client.set_context_properties() (#236)
Fix branch creation with the sync client while setting wait_until_completion=False (#374)
Replaced the Sync word in the protocol schema name so that the correct kind can be gotten from the cache (#380)
Fix infrahubctl info command when run as an anonymous user (#398)
JsonDecodeError now includes server response content in error message when JSON decoding fails, providing better debugging information for non-JSON server responses. (#473)
Allow unsetting optional relationship of cardinality one by setting its value to None (#479)
Fixed issue with improperly escaped special characters in hfid fields and other string values in GraphQL mutations by implementing proper JSON-style string escaping
Housekeeping
Handle error gracefully when loading schema instead of failing with an exception (#464)
Replace toml package with tomllib and tomli optionally for when Python version is less than 3.11 (#528)