Skip to content

Perpare 1.21.1#1061

Merged
minitriga merged 1 commit into
stablefrom
atg-20260605-release
Jun 5, 2026
Merged

Perpare 1.21.1#1061
minitriga merged 1 commit into
stablefrom
atg-20260605-release

Conversation

@minitriga
Copy link
Copy Markdown
Contributor

@minitriga minitriga commented Jun 5, 2026

1.21.1 - 2026-06-05

Changed

  • infrahubctl marketplace get --collection now downloads each member schema individually into a <output_dir>/<collection name>/<schema name>.yml layout (for example schemas/base-schemas/dcim.yml), instead of dumping version-suffixed files flat into the output directory. Filenames no longer carry the version, matching single-schema downloads, so re-downloading a collection overwrites cleanly rather than accumulating stale versions. If two members share a schema name across namespaces, those members are written to <output_dir>/<collection name>/<namespace>/<schema name>.yml instead of overwriting each other. (#1057)

Fixed

  • Fix infrahubctl printing a spurious Error: 1 and Python traceback after the human-readable error message when a command exits with typer.Exit. The CLI now exits cleanly with only the intended error output. (#1047)

Summary by cubic

Release 1.21.1 updates infrahubctl collection downloads to a nested layout for clean overwrites and fixes a noisy CLI exit error. This improves file organization and removes extra traceback output.

  • Bug Fixes

    • infrahubctl no longer prints "Error: 1" and a traceback when exiting via typer.Exit; it now exits cleanly.
  • Migration

    • Collection downloads now write to <output_dir>//.yml with no version in filenames; if schemas collide across namespaces, they are written to <output_dir>///.yml. Update any scripts that relied on version-suffixed or flat file layouts.

Written for commit dcdf69d. Summary will update on new commits.

Review in cubic

@minitriga minitriga requested a review from a team as a code owner June 5, 2026 14:37
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: dcdf69d
Status: ✅  Deploy successful!
Preview URL: https://e57e90a3.infrahub-sdk-python.pages.dev
Branch Preview URL: https://atg-20260605-release.infrahub-sdk-python.pages.dev

View logs

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 5 files

Re-trigger cubic

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

❗ There is a different number of reports uploaded between BASE (97b518b) and HEAD (dcdf69d). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (97b518b) HEAD (dcdf69d)
python-3.11 2 1
python-3.12 2 1
python-3.10 2 1
python-filler-3.12 2 1
python-3.14 2 1
python-3.13 2 1
integration-tests 1 0
@@            Coverage Diff             @@
##           stable    #1061      +/-   ##
==========================================
- Coverage   81.23%   74.69%   -6.55%     
==========================================
  Files         135      135              
  Lines       12185    11626     -559     
  Branches     1919     1757     -162     
==========================================
- Hits         9899     8684    -1215     
- Misses       1692     2397     +705     
+ Partials      594      545      -49     
Flag Coverage Δ
integration-tests ?
python-3.10 55.10% <ø> (-0.18%) ⬇️
python-3.11 55.10% <ø> (-0.18%) ⬇️
python-3.12 55.12% <ø> (-0.16%) ⬇️
python-3.13 55.12% <ø> (-0.16%) ⬇️
python-3.14 55.12% <ø> (-0.16%) ⬇️
python-filler-3.12 22.38% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@lancamat1 lancamat1 left a comment

Choose a reason for hiding this comment

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

Clean, low-risk release prep for 1.21.1. Changelog faithfully reflects the consumed towncrier fragments (#1047, #1057), and the version bump is consistent across pyproject.toml and uv.lock. Approving.

Minor nit (non-blocking): PR title has a typo — "Perpare" → "Prepare".

@minitriga minitriga merged commit 3c6b5c0 into stable Jun 5, 2026
20 of 21 checks passed
@minitriga minitriga deleted the atg-20260605-release branch June 5, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants