Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing deprecated fields and functions related to rego-v1 compatibility #6542

Merged

Conversation

johanfylling
Copy link
Contributor

to remove API ambiguity.

Also deprecating ParserOptions.EffectiveRegoVersion(), which will be removed in a future release.

…lity

to remove API ambiguity.

Also deprecating `ParserOptions.EffectiveRegoVersion()`, which will be removed in a future release.

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 53c94b2
🔍 Latest deploy log https://app.netlify.com/sites/openpolicyagent/deploys/65b15f7aae4c6000084c1f50
😎 Deploy Preview https://deploy-preview-6542--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

ast/parser.go Outdated
// RegoV1Compatible takes precedence, and if set to true, RegoVersion is ignored.
// Deprecated: use RegoVersion instead. Will be removed in a future version of OPA.
RegoV1Compatible bool
// RegoV1Compatible additionally affects the Rego version.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably don't need this comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Good catch 👍

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
@johanfylling johanfylling merged commit 0738022 into open-policy-agent:main Jan 24, 2024
25 checks passed
@johanfylling johanfylling deleted the rego-v1/remove_deprecated branch January 24, 2024 19:15
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.

None yet

2 participants