Skip to content

feat(cedar): upgrade spec 4.12.0 to 4.15.0 - #5561

Merged
lex00 merged 2 commits into
mainfrom
lexicon-upgrade/cedar
Nov 25, 2026
Merged

lex00 merged 2 commits into
mainfrom
lexicon-upgrade/cedar

Conversation

@chant-lexicon-upgrade

@chant-lexicon-upgrade chant-lexicon-upgrade Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Lexicon upgrade: cedar

From: 4.12.0 To: 4.15.0
Semver label: minor
Examples: lint clean

Surface delta

Added (33):

  • AdminAction [resource] (App::Action::"admin")
  • AdminContext [property] (App::Action::"admin".Context)
  • Application [resource] (App::Application)
  • ApplicationAttributes [property] (App::Application.Attributes)
  • ApproveAction [resource] (App::Action::"approve")
  • ApproveContext [property] (App::Action::"approve".Context)
  • CommentAction [resource] (App::Action::"comment")
  • CommentContext [property] (App::Action::"comment".Context)
  • CreateAction [resource] (App::Action::"create")
  • CreateContext [property] (App::Action::"create".Context)
  • DeleteAction [resource] (App::Action::"delete")
  • DeleteContext [property] (App::Action::"delete".Context)
  • Document [resource] (App::Document)
  • DocumentAttributes [property] (App::Document.Attributes)
  • Folder [resource] (App::Folder)
  • FolderAttributes [property] (App::Folder.Attributes)
  • Group [resource] (App::Group)
  • GroupAttributes [property] (App::Group.Attributes)
  • ListAction [resource] (App::Action::"list")
  • ListContext [property] (App::Action::"list".Context)
  • Policy [resource] (Cedar::Policy)
  • ReadAction [resource] (App::Action::"read")
  • ReadContext [property] (App::Action::"read".Context)
  • ServiceAccount [resource] (App::ServiceAccount)
  • ServiceAccountAttributes [property] (App::ServiceAccount.Attributes)
  • ShareAction [resource] (App::Action::"share")
  • ShareContext [property] (App::Action::"share".Context)
  • Team [resource] (App::Team)
  • TeamAttributes [property] (App::Team.Attributes)
  • User [resource] (App::User)
  • UserAttributes [property] (App::User.Attributes)
  • WriteAction [resource] (App::Action::"write")
  • WriteContext [property] (App::Action::"write".Context)

Severity: additive

@chant-lexicon-upgrade chant-lexicon-upgrade Bot changed the title feat(cedar): upgrade spec 4.12.0 to v4.15.0 feat(cedar): upgrade spec 4.12.0 to 4.15.0 Nov 24, 2026
@lex00

lex00 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Regenerated 2026-11-24 after #5574. The pin is now 4.15.0 and @cedar-policy/cedar-wasm moves with it, so the earlier pin test failures are gone. lexicon-artifacts now stops with: Cedar language version mismatch: cedar-wasm reports 4.7, this lexicon pins 4.5.

What this needs: the lexicon's Cedar language pin moved from 4.5 to 4.7, with whatever the 4.6 and 4.7 grammars add or change brought into the lexicon and its examples. That is a build task in this pull request's branch or one ahead of it, then a person's review. Nothing here is queued.

…5.0 implements

Language 4.6 adds the external keyword for partial schemas and 4.7 makes
variadic isInRange stable. The lexicon uses neither. The 4.15 formatter drops
the parentheses around attribute access, so the envelope test expects the new
rendering. The pin-pattern test now reads the pinned version instead of naming one.
@lex00

lex00 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Moved CEDAR_LANG_VERSION to 4.7 on this branch, since cedar-wasm 4.15.0 reports language 4.7. From the Cedar changelog, 4.6 adds the external keyword for partial schemas and 4.7 makes variadic isInRange stable. Neither appears in the lexicon's source or docs. The 4.15 formatter drops the parentheses around attribute access ((principal.department) == "eng" becomes principal.department == "eng"), which changed one importer test. Regenerating produced no diff and validate passes. The cedar tests pass; one test went over its time budget under load and passed when rerun alone.

@lex00
lex00 enabled auto-merge November 25, 2026 04:37
@lex00
lex00 added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit a9073c5 Nov 25, 2026
10 checks passed
@lex00
lex00 deleted the lexicon-upgrade/cedar branch November 25, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant