🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fix!: mark ContainmentError as non_exhaustive - #2153

Merged
patchloom-release[bot] merged 1 commit into
mainfrom
fix/containment-error-non-exhaustive
Aug 8, 2026
Merged

fix!: mark ContainmentError as non_exhaustive#2153
patchloom-release[bot] merged 1 commit into
mainfrom
fix/containment-error-non-exhaustive

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

Mark public ContainmentError as #[non_exhaustive] so additive variants (including EmptyPath from #2152) do not require a major bump every time.

Release

Release-As: 0.28.0

This footer must stay in the squash commit body (release-please). After merge, release-please should replace the open 0.27.1 PR (#2151) with a 0.28.0 release PR so cargo-semver-checks accepts the API shape change vs published 0.27.0.

Test plan

  • cargo test --lib --all-features containment::
  • CI green

Notes

Do not merge release PR #2151 (0.27.1); it is the wrong version for this break.

EmptyPath and future public variants can land without forcing a major
bump on every additive change. Downstream match arms should use a
wildcard. Forces the next product release to 0.28.0 so cargo-semver-checks
accepts EmptyPath vs published 0.27.0.

Release-As: 0.28.0
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@patchloom-release
patchloom-release Bot enabled auto-merge (squash) August 8, 2026 14:29
@patchloom-release
patchloom-release Bot merged commit 220be47 into main Aug 8, 2026
60 checks passed
@patchloom-release
patchloom-release Bot deleted the fix/containment-error-non-exhaustive branch August 8, 2026 14:36
SebTardif pushed a commit that referenced this pull request Aug 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.28.0](patchloom-v0.27.0...patchloom-v0.28.0)
(2026-08-10)


### ⚠ BREAKING CHANGES

* mark ContainmentError as non_exhaustive
([#2153](#2153))

### Bug Fixes

* empty path reject; honest winget docs
([#2150](#2150))
([0f8c7e5](0f8c7e5))
* mark ContainmentError as non_exhaustive
([#2153](#2153))
([220be47](220be47))
* MPI blank paths, release-please embed pins, dep bumps
([#2155](#2155))
([9ecf62a](9ecf62a))
* PathGuard and MCP reject blank paths
([#2152](#2152))
([624e612](624e612))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: patchloom-release[bot] <291219740+patchloom-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant