Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: bump github.com/open-policy-agent/opa from 0.70.0 to 1.0.0 #16013

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 7 commits into from
Jan 3, 2025

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jan 2, 2025

Opting into rego v1. Rego v1 requires if for all rule statements.

This PR updates the dependencies and the rego policy itself.
Followed: https://www.openpolicyagent.org/docs/latest/v0-upgrade/#upgrading-rego

Golang imports upgraded.
https://www.openpolicyagent.org/docs/latest/v0-upgrade/#upgrading-for-go-integrations

dependabot bot and others added 3 commits December 23, 2024 13:34
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.70.0 to 1.0.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v0.70.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@Emyrk Emyrk marked this pull request as ready for review January 2, 2025 14:48
@@ -1,5 +1,7 @@
package authz
import future.keywords

import rego.v1
Copy link
Member Author

Choose a reason for hiding this comment

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

Opting into rego.v1

@Emyrk Emyrk requested a review from spikecurtis January 2, 2025 15:03
Copy link
Contributor

@spikecurtis spikecurtis left a comment

Choose a reason for hiding this comment

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

LGTM

@Emyrk Emyrk merged commit 813270d into main Jan 3, 2025
30 checks passed
@Emyrk Emyrk deleted the stevenmasley/bump_opa branch January 3, 2025 17:06
@github-actions github-actions bot locked and limited conversation to collaborators Jan 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants