Commit 5d28f14
fix(cedar): align cedarpy and cedar-wasm to Cedar Rust 4.8.2 (aws-samples#168) (aws-samples#271)
* fix(cedar): align cedarpy and cedar-wasm to Cedar Rust 4.8.2 (aws-samples#168)
Bump cedarpy 4.8.0->4.8.3 and downgrade @cedar-policy/cedar-wasm
4.10.0->4.8.2 so both bindings wrap the same Rust core, giving true
engine parity instead of the prior tested-compatible skew. Update the
CEDAR_WASM_VERSION drift-guard constant in cedar-wasm-layer.ts to
match. Add Dependabot ignore rules for both packages so future bumps
must be coordinated.
Verified: contracts/cedar-parity fixtures pass on both engines (12/12),
full CDK suite passes (1808/1808), full agent suite passes (819/819).
Closes aws-samples#168
* fix(cedar): bump cedarpy 4.8.3 -> 4.8.4 per review
Same Cedar Rust core (4.8.2), so engine parity is preserved. 4.8.4 picks
up Python-side patches:
- 4.8.1: pytest/wheel/time/keccak CVE patches in dev/transitive deps
- 4.8.4: release-mode benchmark gating (build-only, no runtime impact)
Verified our diagnostics.reasons usage (agent/src/policy.py:1133-1134)
still surfaces parser-generated policy IDs — the 4.8.2 silent change
was reverted in 4.8.3 and that revert is preserved in 4.8.4.
Re-ran the full test plan: parity 6/6 + 6/6, CDK 1808/1808, agent 819/819.
* fix(cedar): update mise.toml parity banner to match new pins
The banner is read by future contributors when bumping either binding;
keeping it pointed at the old skew (cedarpy==4.8.0 / cedar-wasm@4.10.0)
would mislead them after this PR lands.
- agent: cedarpy==4.8.0 -> 4.8.4
- cdk: cedar-wasm@4.10.0 -> 4.8.2
---------
Co-authored-by: bgagent <bgagent@noreply.github.com>1 parent bb7876a commit 5d28f14
8 files changed
Lines changed: 43 additions & 27 deletions
File tree
- .github
- agent
- cdk
- layers/cedar-wasm
- src/constructs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments