release: bump version to 4.8.2#76
Merged
Merged
Conversation
Highlights since v4.8.1:
- `@id("...")` annotations on a policy now surface as the human-readable
id in `AuthzResult.diagnostics.reasons` and `ValidationError.policy_id`,
instead of the auto-generated policy0/policy1/... id (#74, #75).
Annotations are inert in Cedar evaluation per the Cedar docs; this is
a labeling step on the response surface, not a rename of the underlying
PolicyId. Empty `@id` values fall back to the parser-generated id.
- `is_authorized` / `is_authorized_batch` / `validate_policies` now return
NoDecision (or validation_passed=False) with a diagnostic when given an
invalid schema, instead of silently discarding the schema (#65).
- `make release` now builds and tests a release-mode wheel. PyPI artifacts
were unaffected (CI already passed --release); this fixes locally-built
wheels.
Cedar engine version is unchanged (still v4.8.2).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Promotes
[Unreleased]to[4.8.2] - 2026-05-12and bumps the package version. Cedar Policy engine version is unchanged (still v4.8.2).Highlights since v4.8.1
@idannotations surface as the human-readable id.AuthzResult.diagnostics.reasonsandValidationError.policy_idnow carry the@idvalue instead of the auto-generatedpolicy0/policy1/... id (Define and implement support for@idannotations #74, feat: resolve @id annotations at response time (Path B) #75). Annotations are inert in Cedar evaluation per the Cedar docs; this is a labeling step on the response surface, not a rename of the underlyingPolicyId. Empty@idvalues fall back to the parser-generated id.Invalid schemas surface as diagnostics, not silent discards.
is_authorized/is_authorized_batch/validate_policiesnow returnDecision.NoDecision(orvalidation_passed=False) with a diagnostic when given an invalid schema (fix: surface invalid schema as NoDecision with diagnostic error (#27) #65).make releasebuilds and tests a release-mode wheel. The target previously ranmaturin build(dev profile) and ran pytest against whatever was installed in the venv — neither half tested the actual release wheel. PyPI artifacts were unaffected; this only fixed locally-built wheels.Performance
test_complex_policymedian across the v4.8.0 → v4.8.2 arc (full table intests/benchmark/results/HISTORY.md):@id)Test plan
pytest tests/unit— 62 passedmake integration-tests— 69 passed, 5 skippedmake benchmark-compare— medians within v4.8.0 noise floor (≤3%)make release— builds release-mode wheel, force-reinstalls into venv, all unit tests pass against the wheelFiles touched
Cargo.toml— version 4.8.1 → 4.8.2Cargo.lock— regenerated viacargo buildREADME.md— compatibility table:cedarpy releasecell for Cedar v4.8.2 rowCHANGELOG.md—[Unreleased]promoted to[4.8.2] - 2026-05-12; new empty[Unreleased]block; footer links updated