Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [1.14.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.14.0) - 2025-08-26

### Added

- Added `infrahubctl repository init` command to allow the initialization of an Infrahub repository using [infrahub-template](https://github.com/opsmill/infrahub-template). ([#466](https://github.com/opsmill/infrahub-sdk-python/issues/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](https://github.com/opsmill/infrahub-sdk-python/issues/6882))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Broken/incorrect issue link repository for #6882.

This likely refers to an issue in the main Infrahub repo rather than the SDK repo. The current link points to infrahub-sdk-python/issues/6882 which probably doesn’t exist.

-- Fix value lookup using a flat notation like `foo__bar__value` with relationships of cardinality one ([#6882](https://github.com/opsmill/infrahub-sdk-python/issues/6882))
+- Fix value lookup using a flat notation like `foo__bar__value` with relationships of cardinality one ([opsmill/infrahub#6882](https://github.com/opsmill/infrahub/issues/6882))
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Fix value lookup using a flat notation like `foo__bar__value` with relationships of cardinality one ([#6882](https://github.com/opsmill/infrahub-sdk-python/issues/6882))
- Fix value lookup using a flat notation like `foo__bar__value` with relationships of cardinality one ([opsmill/infrahub#6882](https://github.com/opsmill/infrahub/issues/6882))
🤖 Prompt for AI Agents
In CHANGELOG.md around line 23, the issue link currently points to the SDK repo
(infrahub-sdk-python/issues/6882) but should reference the main Infrahub
repository; replace the incorrect URL with the correct main repo issue link (for
example https://github.com/infrahub/infrahub/issues/6882) or verify the proper
target repo/issue number and update the markdown link accordingly so it points
to the correct issue.

- 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](https://github.com/opsmill/infrahub-sdk-python/pull/514))

## [1.13.5](https://github.com/opsmill/infrahub-sdk-python/tree/v1.13.5) - 2025-07-23

### Fixed
Expand Down
1 change: 0 additions & 1 deletion changelog/+add_numberpool_support_protocols.added.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/+batch.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/+branch-in-count.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/+race-condition.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/466.added.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/6882.fixed.md

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "infrahub-sdk"
version = "1.13.5"
version = "1.14.0"
description = "Python Client to interact with Infrahub"
authors = ["OpsMill <[email protected]>"]
readme = "README.md"
Expand Down