chore: bump github.com/open-policy-agent/opa from 0.58.0 to 1.6.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 0
(4 months ago)
(4 months ago)
(4 months ago)
stale dependencies go
Bumps github.com/open-policy-agent/opa from 0.58.0 to 1.6.0.
Release notes
Sourced from github.com/open-policy-agent/opa's releases.
v1.6.0
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
- Improvements to the OPA website and documentation
- Allowing keywords in Rego references
- Parallel test execution
- Faster built-in function execution
Modernized OPA Website (#7037)
We're continuing to modernize the OPA website with a new design and improved user experience.
Some highlights:
- Builtins: You can now search them on the docs page!
- Sidebar redesign: Making it easier to find what you're looking for in our docs
- Feedback forms: Closing the feedback loop between docs authors and readers -- Please let us know if you dislike, or like, a docs page.
- Downloads page: Find your OS' installation instructions on a less cluttered page!
- And much more
Authored by
@sky3n3tand@charlieegan3Allowing keywords in Rego references (#7709)
Previously, Rego references could not contain terms that conflict with Rego keywords such as
package,if,else,not, etc. in certain constructs:package exampleallow if { input.package.source # not allowed (before v1.6.0) input["package"].destination # allowed }
The constraints for valid Rego references have been relaxed to allow keywords. The above example is now valid and will no longer cause a compilation error.
Authored by
@johanfyllingParallel Test Execution (#7442)
By default, OPA will now run tests in parallel (defaulting to one parallel execution thread per available CPU core), significantly speeding up test execution time for large test suites. The performance boost is closely tied to the number of tests in your project and your selected parallelism level. For larger projects and default settings, 2-3x performance gains have been measured on a MacBook Pro.
Parallelism can be disabled to run tests sequentially by setting the
--parallelflag to1. E.g.opa test . --parallel=1.Authored by
@sspainkreported by@anderseknert
... (truncated)
Changelog
Sourced from github.com/open-policy-agent/opa's changelog.
1.6.0
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
- Improvements to the OPA website and documentation
- Allowing keywords in Rego references
- Parallel test execution
- Faster built-in function execution
Modernized OPA Website (#7037)
We're continuing to modernize the OPA website with a new design and improved user experience.
Some highlights:
- Builtins: You can now search them on the docs page!
- Sidebar redesign: Making it easier to find what you're looking for in our docs
- Feedback forms: Closing the feedback loop between docs authors and readers -- Please let us know if you dislike, or like, a docs page.
- Downloads page: Find your OS' installation instructions on a less cluttered page!
- And much more
Authored by
@sky3n3tand@charlieegan3Allowing keywords in Rego references (#7709)
Previously, Rego references could not contain terms that conflict with Rego keywords such as
package,if,else,not, etc. in certain constructs:package exampleallow if { input.package.source # not allowed (before v1.6.0) input["package"].destination # allowed }
The constraints for valid Rego references have been relaxed to allow keywords. The above example is now valid and will no longer cause a compilation error.
Authored by
@johanfyllingParallel Test Execution (#7442)
By default, OPA will now run tests in parallel (defaulting to one parallel execution thread per available CPU core), significantly speeding up test execution time for large test suites. The performance boost is closely tied to the number of tests in your project and your selected parallelism level. For larger projects and default settings, 2-3x performance gains have been measured on a MacBook Pro.
Parallelism can be disabled to run tests sequentially by setting the
--parallelflag to1. E.g.opa test . --parallel=1.Authored by
@sspainkreported by@anderseknert
... (truncated)
Commits
710b5a6Prepare v1.6.0 release (#7732)d3e83fbwebsite: add titles back to the sidebarfc51c9cdocs: Revise sidebar order and layout13b9e52ast: Ensure surplus leading zeros always error (#7726)9750787perf: Only pass built-in context to calls depending on it (#7728)2b4722edocs: Redirect old admission control link (#7730)3a560fadocs: Update sidebar (#7723)d917e3aplugin/decision: check if event is too large after compression (#7521)817b663ast,format: Allowing keywords in Rego references (#7709)1679d79docs: Move code example data inside the PlaygroundComponent (#7724)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+237
-236
Package Dependencies
github.com/open-policy-agent/opa
go
0.58.0 → 1.6.0
Major
Technical Details
| ID: | 2504566 |
| UUID: | 2629129220 |
| Node ID: | PR_kwDOLmBl1M6ctVQE |
| Host: | GitHub |
| Repository: | Txim0520/https-github.com-coder-coder |
| Mergeable: | Yes |
| Merge State: | Unstable |