Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1359a2d
Merge pull request #509 from opsmill/develop
ogenstad Aug 26, 2025
a6d2f6f
Update copier in lock file
ogenstad Aug 26, 2025
e2da52e
fix some issue with the offset
BeArchiTek Aug 26, 2025
0aee514
add changelog
BeArchiTek Aug 26, 2025
6e43166
Merge pull request #512 from opsmill/pog-copier
ogenstad Aug 26, 2025
527c0a5
found it !
BeArchiTek Aug 26, 2025
23a55e2
Merge pull request #514 from opsmill/bkr-race-conditions-offset
BeArchiTek Aug 26, 2025
8d3309f
Version 1.14.0
ogenstad Aug 26, 2025
4f7725b
Merge pull request #511 from opsmill/pog-version-1.14.0
ogenstad Aug 27, 2025
ab99599
Merge pull request #510 from opsmill/stable
ogenstad Aug 27, 2025
11cf607
Upgrade `infrahub-testcontainers` (#516)
gmazoyer Aug 27, 2025
482c969
IHS-152 Allow unsetting one-to-one relationship (#515)
gmazoyer Aug 28, 2025
4dde424
Respect default branch for client.query_gql_query()
ogenstad Aug 28, 2025
fe666d0
Bump docs dependencies (#520)
minitriga Aug 28, 2025
49335ca
Merge pull request #517 from opsmill/stable
gmazoyer Aug 28, 2025
ed6673e
IHS-154 Deprecate using `raise_for_error = False` (#508)
gmazoyer Sep 1, 2025
320f919
fix(docs): broken links to .infrahub.yml
fatih-acar Sep 1, 2025
82556f1
fix(docs): broken links to .infrahub.yml
fatih-acar Sep 1, 2025
266fecc
Do not fail `info` command when user not set (#524)
gmazoyer Sep 3, 2025
6638c90
IHS-127 Fix branch creation with sync client (#527)
gmazoyer Sep 4, 2025
17c1f6a
Fix filters `include` parameter (#513)
LucasG0 Sep 4, 2025
f4035f0
Merge pull request #518 from opsmill/pog-query-branch-IHS-89
ogenstad Sep 4, 2025
828e81c
Merge pull request #525 from opsmill/stable
ogenstad Sep 5, 2025
28ea246
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
ef4ffe3
Bump actions/labeler from 5.0.0 to 6.0.1
dependabot[bot] Sep 8, 2025
b3251ab
Bump actions/setup-node from 4 to 5
dependabot[bot] Sep 8, 2025
7301060
Merge pull request #534 from opsmill/dependabot/github_actions/develo…
ogenstad Sep 9, 2025
41dfe7c
Merge pull request #532 from opsmill/dependabot/github_actions/develo…
ogenstad Sep 9, 2025
9222be5
Clean up typing for proxy config
ogenstad Sep 10, 2025
1c7922f
Merge pull request #533 from opsmill/dependabot/github_actions/develo…
ogenstad Sep 10, 2025
90f7be1
Fix return types
ogenstad Sep 10, 2025
751b7da
Fix typing for substract params
ogenstad Sep 10, 2025
89d4e9f
Merge pull request #541 from opsmill/pog-test-return-types
ogenstad Sep 11, 2025
90bad6d
Merge pull request #540 from opsmill/pog-substract-param-typing
ogenstad Sep 11, 2025
ac60214
Merge pull request #539 from opsmill/pog-proxy-config-typing
ogenstad Sep 11, 2025
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
with:
submodules: true
- name: Install NodeJS
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 20
cache: 'npm'
Expand All @@ -165,7 +165,7 @@ jobs:
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: "Setup Python environment"
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- name: "Check out repository code"
uses: "actions/checkout@v5"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: "Setup environment"
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
- name: "Check out repository code"
uses: "actions/checkout@v5"
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: "Set environment variables"
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
# submodules: true

# - name: Set up Python
# uses: actions/setup-python@v5
# uses: actions/setup-python@v6
# with:
# python-version: "3.12"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5.0.0
- uses: actions/labeler@v6.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
needs: prepare-environment
steps:
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.12"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
submodules: true

- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.12"

Expand Down
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))
- 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: 1 addition & 0 deletions changelog/236.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Respect default branch for client.query_gql_query() and client.set_context_properties()
1 change: 1 addition & 0 deletions changelog/374.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix branch creation with the sync client while setting `wait_until_completion=False`
1 change: 1 addition & 0 deletions changelog/398.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `infrahubctl info` command when run as an anonymous user
1 change: 0 additions & 1 deletion changelog/466.added.md

This file was deleted.

1 change: 1 addition & 0 deletions changelog/479.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow unsetting optional relationship of cardinality one by setting its value to `None`
1 change: 1 addition & 0 deletions changelog/493.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deprecate the use of `raise_for_error=False` across several methods, using a try/except pattern is preferred.
1 change: 1 addition & 0 deletions changelog/519.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump docs dependencies
1 change: 0 additions & 1 deletion changelog/6882.fixed.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/python-sdk/topics/object_file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Multiple object files can be loaded at once by specifying the path to multiple f
The `object load` command will create/update the objects using an `Upsert` operation. All objects previously loaded will NOT be deleted in the Infrahub instance.
Also, if some objects present in different files are identical and dependent on each other, the `object load` command will NOT calculate the dependencies between the objects and as such it's the responsibility of the users to execute the command in the right order.

> Object files can also be loaded into Infrahub when using external Git repositories. To see how to do this, please refer to the [.infrahub.yml](https://docs.infrahub.app/topics/infrahub-yml#objects) documentation.
> Object files can also be loaded into Infrahub when using external Git repositories. To see how to do this, please refer to the [.infrahub.yml](https://docs.infrahub.app/topics/infrahub-yml) documentation.

### Validate the format of object files

Expand Down
Loading