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
49 changes: 47 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
# yamllint disable rule:truthy
# Listing a directory here turns off the repository-level grouping of security updates for it,
# so every npm and uv entry that receives security updates needs its own security group that matches all packages.
# Security updates always use the entry without a target-branch: an entry with a target-branch has no effect on them.
version: 2

updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand All @@ -13,8 +15,51 @@ updates:
target-branch: stable
labels:
- "type/housekeeping"
- "ci/skip-changelog"

# Maintain infrahub-testcontainers dependency
# Docs: all version updates, major releases included, go in one pull request.
- package-ecosystem: "npm"
directory: "/docs"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
# New releases must be this many days old before they are proposed; the cooldown never delays security fixes.
cooldown:
default-days: 7
semver-minor-days: 14
semver-major-days: 30
groups:
# Every docs security fix goes in this pull request.
docs-security:
applies-to: security-updates
patterns:
- "*"
docs:
patterns:
- "*"
labels:
- "type/housekeeping"
- "ci/skip-changelog"

# Python: security updates only, no version updates, for pyproject.toml and uv.lock at the repository root.
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
open-pull-requests-limit: 0 # A limit of 0 turns version updates off; security pull requests have their own limit of 10.
groups:
# Every Python security fix goes in this pull request.
python-security:
applies-to: security-updates
patterns:
- "*"

# Python: version updates for infrahub-testcontainers only. It starts the Infrahub image of its own version,
# so the integration tests run against the latest Infrahub release.
# The target-branch keeps this entry's allow rule from limiting security updates, which come from the entry above.
- package-ecosystem: "uv"
directory: "/"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/python-sdk/reference/compatibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ The table below shows the exact SDK version pinned to each Infrahub release.

| Infrahub | SDK version | Infrahub release date |
| --- | --- | --- |
| 1.12.4 | 1.24.0 | 2026-11-27 |
| 1.12.3 | 1.24.0 | 2026-11-25 |
| 1.12.2 | 1.24.0 | 2026-11-20 |
| 1.12.1 | 1.24.0 | 2026-11-12 |
| 1.12.0 | 1.24.0 | 2026-11-10 |
| 1.11.14 | 1.23.2 | 2026-11-27 |
| 1.11.13 | 1.23.2 | 2026-11-20 |
| 1.11.12 | 1.23.2 | 2026-11-10 |
| 1.11.11 | 1.23.2 | 2026-11-06 |
Expand All @@ -55,6 +58,7 @@ The table below shows the exact SDK version pinned to each Infrahub release.
| 1.11.2 | 1.23.1 | 2026-09-03 |
| 1.11.1 | 1.23.1 | 2026-08-31 |
| 1.11.0 | 1.23.0 | 2026-08-19 |
| 1.10.12 | 1.22.3 | 2026-11-27 |
| 1.10.11 | 1.22.3 | 2026-10-01 |
| 1.10.10 | 1.22.3 | 2026-08-31 |
| 1.10.9 | 1.22.3 | 2026-08-19 |
Expand Down
4 changes: 4 additions & 0 deletions docs/docs_generation/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@ class FeatureRequirement:
# Detailed mapping of every Infrahub release to its pinned SDK version.
# Auto-updated by update_compatibility.py.
RELEASE_MAPPINGS: list[ReleaseMapping] = [
ReleaseMapping(infrahub="1.12.4", sdk="1.24.0", date="2026-11-27"),
ReleaseMapping(infrahub="1.12.3", sdk="1.24.0", date="2026-11-25"),
ReleaseMapping(infrahub="1.12.2", sdk="1.24.0", date="2026-11-20"),
ReleaseMapping(infrahub="1.12.1", sdk="1.24.0", date="2026-11-12"),
ReleaseMapping(infrahub="1.12.0", sdk="1.24.0", date="2026-11-10"),
ReleaseMapping(infrahub="1.11.14", sdk="1.23.2", date="2026-11-27"),
ReleaseMapping(infrahub="1.11.13", sdk="1.23.2", date="2026-11-20"),
ReleaseMapping(infrahub="1.11.12", sdk="1.23.2", date="2026-11-10"),
ReleaseMapping(infrahub="1.11.11", sdk="1.23.2", date="2026-11-06"),
Expand All @@ -110,6 +113,7 @@ class FeatureRequirement:
ReleaseMapping(infrahub="1.11.2", sdk="1.23.1", date="2026-09-03"),
ReleaseMapping(infrahub="1.11.1", sdk="1.23.1", date="2026-08-31"),
ReleaseMapping(infrahub="1.11.0", sdk="1.23.0", date="2026-08-19"),
ReleaseMapping(infrahub="1.10.12", sdk="1.22.3", date="2026-11-27"),
ReleaseMapping(infrahub="1.10.11", sdk="1.22.3", date="2026-10-01"),
ReleaseMapping(infrahub="1.10.10", sdk="1.22.3", date="2026-08-31"),
ReleaseMapping(infrahub="1.10.9", sdk="1.22.3", date="2026-08-19"),
Expand Down
Loading
Loading