Skip to content

Rego v1 support & Annotations features #1

Merged
burdzwastaken merged 14 commits intomainfrom
improvements
May 5, 2026
Merged

Rego v1 support & Annotations features #1
burdzwastaken merged 14 commits intomainfrom
improvements

Conversation

@burdzwastaken
Copy link
Copy Markdown

Rego v1 Support

  • Add OPA Rego v1 import/syntax support
  • Add --strip-v0-imports flag to strip legacy v0 imports during generation
  • Use explicit import list for v1 compatibility
  • Add v1 support to custom constraint templates
  • Add v1 e2e testing to cron workflow

waiting on upstream plexsystems#665

Annotation Features

  • Links() - first-class support for documentation link annotations
  • SyncData() - first-class support for syncData annotations (referential constraints)
  • Constraints() - support for documenting multiple constraint configurations from a single template
  • GetAnnotationOrDefault() - safe annotation access with fallback values

I will make PRs to upstream the other changes

@burdzwastaken burdzwastaken merged commit bd67826 into main May 5, 2026
11 of 12 checks passed
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