Conversation
Bump version to 0.2.0 (breaking: generic relationship types in RelationshipResolver/RebacPolicy) and update CHANGELOG.
There was a problem hiding this comment.
Pull request overview
Prepares the gatehouse crate for the v0.2.0 release by bumping the crate version and adding release notes to the changelog.
Changes:
- Bump crate version from
0.1.5to0.2.0. - Add
CHANGELOG.mdentry documenting breaking changes, additions, and dependency updates for v0.2.0.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Cargo.toml | Updates crate version to 0.2.0. |
| CHANGELOG.md | Adds v0.2.0 release notes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
35 new tests covering: AbacPolicy (3), RbacPolicy (5), PolicyBuilder action/resource/context predicates (5), AccessEvaluation helpers (5), EvalTrace (4), PolicyEvalResult (5), CombineOp Display (1), PermissionChecker Default (1), SecurityRuleMetadata (4), EmptyPoliciesError (2). Co-authored-by: Brian Thorne <brian@thepartly.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // ==================== AbacPolicy Tests ==================== | ||
|
|
||
| #[tokio::test] | ||
| async fn test_abac_policy_grants_when_condition_true() { | ||
| let policy = AbacPolicy::new( |
There was a problem hiding this comment.
The PR description says this is only a version bump + CHANGELOG update for the v0.2.0 release, but this hunk adds a large set of new unit tests. Please either update the PR description/release notes to reflect the additional test changes, or split the test additions into a separate PR to keep the release bump focused.
| ## [0.2.0] - 2026-02-17 | ||
|
|
There was a problem hiding this comment.
The changelog jumps from 0.2.0 back to 0.1.4, but the previous crate version (per Cargo.toml on main) was 0.1.5. Consider adding a missing 0.1.5 entry (or renaming the existing 0.1.4 entry if it was actually 0.1.5) to avoid a confusing version gap.
Release v0.2.0
Bump version and update CHANGELOG for the v0.2.0 release.
Breaking
RelationshipResolver<S, R>is nowRelationshipResolver<S, R, Re>andRebacPolicygains aRetype parameter. Allows enums instead of&strfor compile-time safety.Remust implementDisplay. (RelationshipResolver should allow broader relationship thanstr#10, Refactor RelationshipResolver to use generic relationship types #14)Added
#![warn(missing_docs)]lint — all public items now documented (Improve rustdoc coverage and enforce missing_docs lint #13)PolicyBuilder,RbacPolicy,EvalTrace,AccessEvaluation::to_resultChanged