Skip to content

Commit 7d3878c

Browse files
authored
Merge pull request #619 from opsmill/stable
Merge stable into develop
2 parents 5e90f25 + d9ead2d commit 7d3878c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+550
-334
lines changed

.vale.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ BasedOnStyles = Infrahub
1111
;(```.*?```\n) to ignore code block in .mdx
1212
BlockIgnores = (?s) *((import.*?\n)|(```.*?```\n))
1313

14+
[*.toml]
15+
# Ignore all rules for toml files, to prevent false positives
16+
# in files like pyproject.toml
17+
BasedOnStyles =
18+
1419
[*]
1520
BasedOnStyles = Infrahub

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,41 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
1111

1212
<!-- towncrier release notes start -->
1313

14+
## [1.15.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.15.0) - 2025-11-10
15+
16+
### Added
17+
18+
- Add `create_diff` method to create a diff summary between two timestamps
19+
Update `get_diff_summary` to accept optional time range parameters ([#529](https://github.com/opsmill/infrahub-sdk-python/issues/529))
20+
- 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](https://github.com/opsmill/infrahub-sdk-python/issues/560))
21+
- Add `convert_object_type` method to allow converting an object to another type.
22+
- Add `graph_version` and `status` properties to `Branch`
23+
- Add `infrahubctl graphql` commands to export schema and generate Pydantic types from GraphQL queries
24+
- Added deprecation warnings when loading or checking schemas
25+
26+
### Changed
27+
28+
- Deprecate the use of `raise_for_error=False` across several methods, using a try/except pattern is preferred. ([#493](https://github.com/opsmill/infrahub-sdk-python/issues/493))
29+
30+
### Fixed
31+
32+
- Respect default branch for client.query_gql_query() and client.set_context_properties() ([#236](https://github.com/opsmill/infrahub-sdk-python/issues/236))
33+
- Fix branch creation with the sync client while setting `wait_until_completion=False` ([#374](https://github.com/opsmill/infrahub-sdk-python/issues/374))
34+
- Replaced the `Sync` word in the protocol schema name so that the correct kind can be gotten from the cache ([#380](https://github.com/opsmill/infrahub-sdk-python/issues/380))
35+
- Fix `infrahubctl info` command when run as an anonymous user ([#398](https://github.com/opsmill/infrahub-sdk-python/issues/398))
36+
- JsonDecodeError now includes server response content in error message when JSON decoding fails, providing better debugging information for non-JSON server responses. ([#473](https://github.com/opsmill/infrahub-sdk-python/issues/473))
37+
- Allow unsetting optional relationship of cardinality one by setting its value to `None` ([#479](https://github.com/opsmill/infrahub-sdk-python/issues/479))
38+
- Bump docs dependencies ([#519](https://github.com/opsmill/infrahub-sdk-python/issues/519))
39+
- Fix branch handling in `_run_transform` and `execute_graphql_query` functions in Infrahubctl to use environment variables for branch management. ([#535](https://github.com/opsmill/infrahub-sdk-python/issues/535))
40+
- Allow the ability to clear optional attributes by setting them to None if they have been mutated by the user. ([#549](https://github.com/opsmill/infrahub-sdk-python/issues/549))
41+
- Disable rich console print markup causing regex reformatting ([#565](https://github.com/opsmill/infrahub-sdk-python/issues/565))
42+
- - Fixed issue with improperly escaped special characters in `hfid` fields and other string values in GraphQL mutations by implementing proper JSON-style string escaping
43+
44+
### Housekeeping
45+
46+
- Handle error gracefully when loading schema instead of failing with an exception ([#464](https://github.com/opsmill/infrahub-sdk-python/issues/464))
47+
- Replace toml package with tomllib and tomli optionally for when Python version is less than 3.11 ([#528](https://github.com/opsmill/infrahub-sdk-python/issues/528))
48+
1449
## [1.14.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.14.0) - 2025-08-26
1550

1651
### Added

changelog/+convert-object-type.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+escape-hfid.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+gql-command.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/236.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/374.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/380.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/398.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/464.housekeeping.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)