Skip to content

Promote OPA 1.0 #136

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

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Promote OPA 1.0 #136

merged 1 commit into from
Mar 11, 2025

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Mar 11, 2025

See #131
See https://www.openpolicyagent.org/docs/latest/v0-upgrade/

To promote OPA 1.0, switch the import path to v1, which will result in a parse error for all v0 Rego syntax.

If you are using the old syntax, we recommend that you use opa fmt --write --v0-v1 to automatically rewrite the policies, as in #88. See also https://www.openpolicyagent.org/docs/latest/v0-upgrade/#upgrading-rego

See https://www.openpolicyagent.org/docs/latest/v0-upgrade/

To promote OPA 1.0, switch the import path to v1,
which will result in a parse error for all v0 Rego syntax.
@wata727 wata727 enabled auto-merge (squash) March 11, 2025 08:56
@wata727 wata727 merged commit e498cf9 into main Mar 11, 2025
8 checks passed
@wata727 wata727 deleted the opa10 branch March 11, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant