docs: Add EvergreenCodeBlock for code with version#7706
Merged
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom Jun 17, 2025
Merged
docs: Add EvergreenCodeBlock for code with version#7706charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
Conversation
This adds a new EvergreenCodeBlock component to the documentation site that allows code blocks to contain template for the current versions of opa components. This means we can show the current version in docs, but don't need update the version in every code block when we release a new version. Fixes open-policy-agent#7705 In the future, it would be nice to pull the latest release for this on build since the envoy release sometimes lags behind the opa release a small amount, but for now this is a step in the right direction. The kube-mgmt version is also manually set, but at least this component owns all versioned code blocks in the documentation now. Signed-off-by: Charlie Egan <charlie@styra.com>
8ea0e8b to
b0c5338
Compare
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
srenatus
approved these changes
Jun 17, 2025
Contributor
srenatus
left a comment
There was a problem hiding this comment.
Very nice!
This could become a problem when our config formats ever change in a non-backwards-compatible way, though. But I suppose the risk is low, I can't remember any previous occurrence.
Contributor
Author
|
Yeah, it's not ideal I suppose... I guess in such a case we could build something that was based on tabs? |
github-merge-queue Bot
pushed a commit
to infonl/dimpact-zaakafhandelcomponent
that referenced
this pull request
Jun 30, 2025
#3733) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/openpolicyagent/opa](https://images.chainguard.dev/directory/image/glibc-dynamic/overview) ([source](https://redirect.github.com/open-policy-agent/opa)) | minor | `1.5.1` -> `1.6.0` | | [docker.io/openpolicyagent/opa](https://images.chainguard.dev/directory/image/glibc-dynamic/overview) ([source](https://redirect.github.com/open-policy-agent/opa)) | minor | `1.5.1-static` -> `1.6.0-static` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>open-policy-agent/opa (docker.io/openpolicyagent/opa)</summary> ### [`v1.6.0`](https://redirect.github.com/open-policy-agent/opa/blob/HEAD/CHANGELOG.md#160) [Compare Source](https://redirect.github.com/open-policy-agent/opa/compare/v1.5.1...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](https://redirect.github.com/open-policy-agent/opa/issues/7037)) We're continuing to modernize the OPA website with a new design and improved user experience. Some highlights: - [Builtins](https://www.openpolicyagent.org/docs/policy-reference#built-in-functions): 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](https://www.openpolicyagent.org/docs#1-download-opa): Find your OS' installation instructions on a less cluttered page! - And much more Authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) and [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Allowing keywords in Rego references ([#​7709](https://redirect.github.com/open-policy-agent/opa/pull/7709)) Previously, Rego references could not contain terms that conflict with Rego keywords such as `package`, `if`, `else`, `not`, etc. in certain constructs: ```rego package example allow 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 [@​johanfylling](https://redirect.github.com/johanfylling) ##### Parallel Test Execution ([#​7442](https://redirect.github.com/open-policy-agent/opa/issues/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 `--parallel` flag to `1`. E.g. `opa test . --parallel=1`. Authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​anderseknert](https://redirect.github.com/anderseknert) ##### Faster Builtin Function Evaluation The builtin context, an internal construct of OPA's evaluation engine, was previously provided to every builtin function. As it turns out, only very few of them actually need it, for caching, cancellation, or lookups. Those builtins are still provided with a builtin context, but for calls to all other builtins, we save the memory required by it. The impact is tremendous: Even though the size of a single builtin context is only about 270 bytes, in an example application (Regal), this change brings about 360 MB of reduced memory usage! Authored by [@​anderseknert](https://redirect.github.com/anderseknert) ##### Runtime, Tooling, SDK - cmd/check: `opa check --bundle` report virtual/base doc conflicts ([#​7701](https://redirect.github.com/open-policy-agent/opa/pull/7701)) authored by [@​anderseknert](https://redirect.github.com/anderseknert)\ When `opa check` is used with the `--bundle` flag, an error will be reported if the provided json/yaml data has a conflicting overlap with the virtual documents generated by Rego rules. Such conflicts are ambiguous and can lead to unexpected evaluation results, and should be resolved. - cmd/inspect: Fixing missing annotations location in `opa inspect` with JSON format ([#​7459](https://redirect.github.com/open-policy-agent/opa/issues/7459)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) reported by [@​mostealth](https://redirect.github.com/mostealth) - cmd/parse: Expose `--v0-compatible` flag ([#​7668](https://redirect.github.com/open-policy-agent/opa/pull/7668)) authored by [@​tsandall](https://redirect.github.com/tsandall) - cmd/refactor: Fix src:dst parsing to deal with colons ([#​7648](https://redirect.github.com/open-policy-agent/opa/pull/7648)) authored by [@​tsandall](https://redirect.github.com/tsandall) - metrics: Fix restartable timer bug. ([#​7669](https://redirect.github.com/open-policy-agent/opa/pull/7669)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - metrics: Prealloc maps + add benchmark ([#​7664](https://redirect.github.com/open-policy-agent/opa/pull/7664)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - oracle: Add support for some and every ([#​7716](https://redirect.github.com/open-policy-agent/opa/pull/7716)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - oracle: Support object refs in FindDefinition ([#​7711](https://redirect.github.com/open-policy-agent/opa/pull/7711)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - plugin/decision: Check if event is too large after compression ([#​7526](https://redirect.github.com/open-policy-agent/opa/issues/7526)) authored by [@​sspaink](https://redirect.github.com/sspaink) - runtime,server: Replace gorilla/mux dependency with http.ServeMux ([#​7676](https://redirect.github.com/open-policy-agent/opa/pull/7676)) authored by [@​anderseknert](https://redirect.github.com/anderseknert)\ **Note**: This is a potentially breaking change for go API users directly interfacing with the OPA server's routing. - server: Fix deferred metrics timers. ([#​7671](https://redirect.github.com/open-policy-agent/opa/pull/7671)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - server: Fix query url when opa is served not from root path ([#​7644](https://redirect.github.com/open-policy-agent/opa/pull/7644)) authored by [@​olegKoshmeliuk](https://redirect.github.com/olegKoshmeliuk)\ **Note**: This is only applicable for the web UI hosted by OPA on its root path (`/`) and OPA is served at some other path than root. ##### Compiler, Topdown and Rego - ast: Ensure surplus leading zeros always error ([#​7726](https://redirect.github.com/open-policy-agent/opa/pull/7726)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3)\ **Note**: Primitive Rego number values with leading zeros (e.g. `0123`) are now considered invalid at time of parsing and will generate an error. If you're impacted by this change, please update your policies to not have numbers with leading zeros. E.g. `0123` should be changed to `123`. - ast: Fixing type-checker schema cache race condition for inlined schemas ([#​7679](https://redirect.github.com/open-policy-agent/opa/issues/7679), [7571](https://redirect.github.com/open-policy-agent/opa/issues/7571)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) reported by [@​daniel-petrov-gig](https://redirect.github.com/daniel-petrov-gig) - perf: Improve performance when referencing "global" in loop ([#​7654](https://redirect.github.com/open-policy-agent/opa/issues/7654)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - topdown: Fix issue where path in `walk` would get mutated ([#​7656](https://redirect.github.com/open-policy-agent/opa/issues/7656)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) reported by [@​robmyersrobmyers](https://redirect.github.com/robmyersrobmyers) - topdown/http: Lenient application/json Content-Type header ([#​6684](https://redirect.github.com/open-policy-agent/opa/issues/6684)) authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​mrvanes](https://redirect.github.com/mrvanes) ##### Docs, Website, Ecosystem - adopters: add Pix4D as adopters for its RBAC service ([#​7645](https://redirect.github.com/open-policy-agent/opa/pull/7645)) authored by [@​marcaurele](https://redirect.github.com/marcaurele) - api: Expand docs for RegisterBuiltin — no thread-safety ([#​7667](https://redirect.github.com/open-policy-agent/opa/issues/7667)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) reported by [@​parth-mehta-989](https://redirect.github.com/parth-mehta-989) - docs: Added a search function for the builtins section of policy-reference ([#​7704](https://redirect.github.com/open-policy-agent/opa/pull/7704)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Add another OR note in AND section ([#​7706](https://redirect.github.com/open-policy-agent/opa/pull/7706)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add basic docs covering CI/CD use case ([#​7703](https://redirect.github.com/open-policy-agent/opa/pull/7703)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add current ecosystem contribution docs ([#​7678](https://redirect.github.com/open-policy-agent/opa/pull/7678)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add EvergreenCodeBlock for code with version ([#​7706](redirect.github.com/open-policy-agent/opa/pull/7706)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add feedback form for user reported issues ([#​7662](https://redirect.github.com/open-policy-agent/opa/pull/7662)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Address broken links ([#​7661](https://redirect.github.com/open-policy-agent/opa/pull/7661)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Archive explain that only latest patch is shown ([#​7682](https://redirect.github.com/open-policy-agent/opa/pull/7682)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Fix bug where the search match respects case ([#​7713](https://redirect.github.com/open-policy-agent/opa/pull/7713)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Hide feedback pop-up forever if dismissed ([#​7674](https://redirect.github.com/open-policy-agent/opa/pull/7674)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Improve bundle structure documentation ([#​7683](https://redirect.github.com/open-policy-agent/opa/pull/7683)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Improve explanations for initial examples ([#​7677](https://redirect.github.com/open-policy-agent/opa/pull/7677)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Install/Download Instruction Update ([#​7687](https://redirect.github.com/open-policy-agent/opa/pull/7687)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Move code example data inside the PlaygroundComponent ([#​7724](https://redirect.github.com/open-policy-agent/opa/pull/7724)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: policy-reference, update sig algs formatting ([#​7685](https://redirect.github.com/open-policy-agent/opa/pull/7685)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Redirect old admission control link ([#​7730](https://redirect.github.com/open-policy-agent/opa/pull/7730)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Refactored Networking Reference docs ([#​7686](https://redirect.github.com/open-policy-agent/opa/pull/7686)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Revise sidebar order and layout ([#​7731](https://redirect.github.com/open-policy-agent/opa/pull/7731)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Reworked existing policy examples to use PlaygroundExample ([#​7690](https://redirect.github.com/open-policy-agent/opa/pull/7690)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Show a feedback popup on the docs site ([#​7663](https://redirect.github.com/open-policy-agent/opa/pull/7663)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Show edge rather than latest release ([#​7717](https://redirect.github.com/open-policy-agent/opa/pull/7717)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Show TOC on CLI page ([#​7712](https://redirect.github.com/open-policy-agent/opa/pull/7712)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update colors for feedback form in dark mode ([#​7691](https://redirect.github.com/open-policy-agent/opa/pull/7691)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update policy-ref allowing anchor linking ([#​7675](https://redirect.github.com/open-policy-agent/opa/pull/7675)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update rego in deployment examples ([#​7707](https://redirect.github.com/open-policy-agent/opa/pull/7707)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update sidebar ([#​7723](https://redirect.github.com/open-policy-agent/opa/pull/7723)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Disable cancel script ([#​7719](https://redirect.github.com/open-policy-agent/opa/pull/7719)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Explain automation in RELEASE.md ([#​7721](https://redirect.github.com/open-policy-agent/opa/pull/7721)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Fix badge endpoints ([#​7653](https://redirect.github.com/open-policy-agent/opa/pull/7653)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Refactor site components with CSS modules ([#​7666](https://redirect.github.com/open-policy-agent/opa/pull/7666)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Update docusaurus components to 3.8.1 ([#​7718](https://redirect.github.com/open-policy-agent/opa/pull/7718)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Miscellaneous - build: Better detection of go changes ([#​7696](https://redirect.github.com/open-policy-agent/opa/pull/7696)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - build: Bump golang 1.24.3 -> 1.24.4 ([#​7672](https://redirect.github.com/open-policy-agent/opa/pull/7672)) authored by [@​srenatus](https://redirect.github.com/srenatus) - Adding Clarification to merge instructions when cutting a patch release ([#​7660](https://redirect.github.com/open-policy-agent/opa/pull/7660)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) - build: Make summary failure source clearer ([#​7697](https://redirect.github.com/open-policy-agent/opa/pull/7697)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - build: Skip jobs for non docs changes ([#​7688](https://redirect.github.com/open-policy-agent/opa/pull/7688)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - deps: Use `google.golang.org/protobuf` ([#​7655](https://redirect.github.com/open-policy-agent/opa/pull/7655)) authored by [@​sspaink](https://redirect.github.com/sspaink) - perf: Simplify interning ([#​7714](https://redirect.github.com/open-policy-agent/opa/pull/7714)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: Only pass built-in context to calls depending on it ([#​7728](https://redirect.github.com/open-policy-agent/opa/pull/7728)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: Improve built-in `concat` performance ([#​7702](https://redirect.github.com/open-policy-agent/opa/pull/7702)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: More efficient data/v1 POST handler ([#​7673](https://redirect.github.com/open-policy-agent/opa/pull/7673)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - test: Fix flaky TestRaisingHTTPClientQueryError ([#​7698](https://redirect.github.com/open-policy-agent/opa/pull/7698)) authored by [@​sspaink](https://redirect.github.com/sspaink) - test: Fix flaky topdown query cache tests ([#​7590](https://redirect.github.com/open-policy-agent/opa/issues/7590)) authored by [@​sspaink](https://redirect.github.com/sspaink) - Dependency updates; notably: - build(deps): Bump gqlparser from v2.5.27 to v2.5.28 ([#​7699](https://redirect.github.com/open-policy-agent/opa/issues/7699)) authored by [@​robmyersrobmyers](https://redirect.github.com/robmyersrobmyers) - build(deps): bump github.com/go-logr/logr from 1.4.2 to 1.4.3 - build(deps): bump github.com/vektah/gqlparser/v2 from 2.5.26 to 2.5.27 - build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 - build(deps): bump google.golang.org/grpc from 1.72.0 to 1.72.2 - build(deps): bump oras.land/oras-go/v2 from 2.5.0 to 2.6.0 - build(deps): bump go.opentelemetry.io deps to 1.36.0/0.61.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/infonl/dimpact-zaakafhandelcomponent). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-merge-queue Bot
pushed a commit
to infonl/dimpact-zaakafhandelcomponent
that referenced
this pull request
Jun 30, 2025
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [openpolicyagent/opa](https://images.chainguard.dev/directory/image/glibc-dynamic/overview) ([source](https://redirect.github.com/open-policy-agent/opa)) | minor | `1.5.1-static` -> `1.6.0-static` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>open-policy-agent/opa (openpolicyagent/opa)</summary> ### [`v1.6.0`](https://redirect.github.com/open-policy-agent/opa/blob/HEAD/CHANGELOG.md#160) [Compare Source](https://redirect.github.com/open-policy-agent/opa/compare/v1.5.1...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](https://redirect.github.com/open-policy-agent/opa/issues/7037)) We're continuing to modernize the OPA website with a new design and improved user experience. Some highlights: - [Builtins](https://www.openpolicyagent.org/docs/policy-reference#built-in-functions): 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](https://www.openpolicyagent.org/docs#1-download-opa): Find your OS' installation instructions on a less cluttered page! - And much more Authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) and [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Allowing keywords in Rego references ([#​7709](https://redirect.github.com/open-policy-agent/opa/pull/7709)) Previously, Rego references could not contain terms that conflict with Rego keywords such as `package`, `if`, `else`, `not`, etc. in certain constructs: ```rego package example allow 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 [@​johanfylling](https://redirect.github.com/johanfylling) ##### Parallel Test Execution ([#​7442](https://redirect.github.com/open-policy-agent/opa/issues/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 `--parallel` flag to `1`. E.g. `opa test . --parallel=1`. Authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​anderseknert](https://redirect.github.com/anderseknert) ##### Faster Builtin Function Evaluation The builtin context, an internal construct of OPA's evaluation engine, was previously provided to every builtin function. As it turns out, only very few of them actually need it, for caching, cancellation, or lookups. Those builtins are still provided with a builtin context, but for calls to all other builtins, we save the memory required by it. The impact is tremendous: Even though the size of a single builtin context is only about 270 bytes, in an example application (Regal), this change brings about 360 MB of reduced memory usage! Authored by [@​anderseknert](https://redirect.github.com/anderseknert) ##### Runtime, Tooling, SDK - cmd/check: `opa check --bundle` report virtual/base doc conflicts ([#​7701](https://redirect.github.com/open-policy-agent/opa/pull/7701)) authored by [@​anderseknert](https://redirect.github.com/anderseknert)\ When `opa check` is used with the `--bundle` flag, an error will be reported if the provided json/yaml data has a conflicting overlap with the virtual documents generated by Rego rules. Such conflicts are ambiguous and can lead to unexpected evaluation results, and should be resolved. - cmd/inspect: Fixing missing annotations location in `opa inspect` with JSON format ([#​7459](https://redirect.github.com/open-policy-agent/opa/issues/7459)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) reported by [@​mostealth](https://redirect.github.com/mostealth) - cmd/parse: Expose `--v0-compatible` flag ([#​7668](https://redirect.github.com/open-policy-agent/opa/pull/7668)) authored by [@​tsandall](https://redirect.github.com/tsandall) - cmd/refactor: Fix src:dst parsing to deal with colons ([#​7648](https://redirect.github.com/open-policy-agent/opa/pull/7648)) authored by [@​tsandall](https://redirect.github.com/tsandall) - metrics: Fix restartable timer bug. ([#​7669](https://redirect.github.com/open-policy-agent/opa/pull/7669)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - metrics: Prealloc maps + add benchmark ([#​7664](https://redirect.github.com/open-policy-agent/opa/pull/7664)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - oracle: Add support for some and every ([#​7716](https://redirect.github.com/open-policy-agent/opa/pull/7716)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - oracle: Support object refs in FindDefinition ([#​7711](https://redirect.github.com/open-policy-agent/opa/pull/7711)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - plugin/decision: Check if event is too large after compression ([#​7526](https://redirect.github.com/open-policy-agent/opa/issues/7526)) authored by [@​sspaink](https://redirect.github.com/sspaink) - runtime,server: Replace gorilla/mux dependency with http.ServeMux ([#​7676](https://redirect.github.com/open-policy-agent/opa/pull/7676)) authored by [@​anderseknert](https://redirect.github.com/anderseknert)\ **Note**: This is a potentially breaking change for go API users directly interfacing with the OPA server's routing. - server: Fix deferred metrics timers. ([#​7671](https://redirect.github.com/open-policy-agent/opa/pull/7671)) authored by [@​philipaconrad](https://redirect.github.com/philipaconrad) - server: Fix query url when opa is served not from root path ([#​7644](https://redirect.github.com/open-policy-agent/opa/pull/7644)) authored by [@​olegKoshmeliuk](https://redirect.github.com/olegKoshmeliuk)\ **Note**: This is only applicable for the web UI hosted by OPA on its root path (`/`) and OPA is served at some other path than root. ##### Compiler, Topdown and Rego - ast: Ensure surplus leading zeros always error ([#​7726](https://redirect.github.com/open-policy-agent/opa/pull/7726)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3)\ **Note**: Primitive Rego number values with leading zeros (e.g. `0123`) are now considered invalid at time of parsing and will generate an error. If you're impacted by this change, please update your policies to not have numbers with leading zeros. E.g. `0123` should be changed to `123`. - ast: Fixing type-checker schema cache race condition for inlined schemas ([#​7679](https://redirect.github.com/open-policy-agent/opa/issues/7679), [7571](https://redirect.github.com/open-policy-agent/opa/issues/7571)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) reported by [@​daniel-petrov-gig](https://redirect.github.com/daniel-petrov-gig) - perf: Improve performance when referencing "global" in loop ([#​7654](https://redirect.github.com/open-policy-agent/opa/issues/7654)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - topdown: Fix issue where path in `walk` would get mutated ([#​7656](https://redirect.github.com/open-policy-agent/opa/issues/7656)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) reported by [@​robmyersrobmyers](https://redirect.github.com/robmyersrobmyers) - topdown/http: Lenient application/json Content-Type header ([#​6684](https://redirect.github.com/open-policy-agent/opa/issues/6684)) authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​mrvanes](https://redirect.github.com/mrvanes) ##### Docs, Website, Ecosystem - adopters: add Pix4D as adopters for its RBAC service ([#​7645](https://redirect.github.com/open-policy-agent/opa/pull/7645)) authored by [@​marcaurele](https://redirect.github.com/marcaurele) - api: Expand docs for RegisterBuiltin — no thread-safety ([#​7667](https://redirect.github.com/open-policy-agent/opa/issues/7667)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) reported by [@​parth-mehta-989](https://redirect.github.com/parth-mehta-989) - docs: Added a search function for the builtins section of policy-reference ([#​7704](https://redirect.github.com/open-policy-agent/opa/pull/7704)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Add another OR note in AND section ([#​7706](https://redirect.github.com/open-policy-agent/opa/pull/7706)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add basic docs covering CI/CD use case ([#​7703](https://redirect.github.com/open-policy-agent/opa/pull/7703)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add current ecosystem contribution docs ([#​7678](https://redirect.github.com/open-policy-agent/opa/pull/7678)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add EvergreenCodeBlock for code with version ([#​7706](redirect.github.com/open-policy-agent/opa/pull/7706)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add feedback form for user reported issues ([#​7662](https://redirect.github.com/open-policy-agent/opa/pull/7662)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Address broken links ([#​7661](https://redirect.github.com/open-policy-agent/opa/pull/7661)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Archive explain that only latest patch is shown ([#​7682](https://redirect.github.com/open-policy-agent/opa/pull/7682)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Fix bug where the search match respects case ([#​7713](https://redirect.github.com/open-policy-agent/opa/pull/7713)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Hide feedback pop-up forever if dismissed ([#​7674](https://redirect.github.com/open-policy-agent/opa/pull/7674)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Improve bundle structure documentation ([#​7683](https://redirect.github.com/open-policy-agent/opa/pull/7683)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Improve explanations for initial examples ([#​7677](https://redirect.github.com/open-policy-agent/opa/pull/7677)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Install/Download Instruction Update ([#​7687](https://redirect.github.com/open-policy-agent/opa/pull/7687)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Move code example data inside the PlaygroundComponent ([#​7724](https://redirect.github.com/open-policy-agent/opa/pull/7724)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: policy-reference, update sig algs formatting ([#​7685](https://redirect.github.com/open-policy-agent/opa/pull/7685)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Redirect old admission control link ([#​7730](https://redirect.github.com/open-policy-agent/opa/pull/7730)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Refactored Networking Reference docs ([#​7686](https://redirect.github.com/open-policy-agent/opa/pull/7686)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Revise sidebar order and layout ([#​7731](https://redirect.github.com/open-policy-agent/opa/pull/7731)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Reworked existing policy examples to use PlaygroundExample ([#​7690](https://redirect.github.com/open-policy-agent/opa/pull/7690)) authored by [@​sky3n3t](https://redirect.github.com/sky3n3t) - docs: Show a feedback popup on the docs site ([#​7663](https://redirect.github.com/open-policy-agent/opa/pull/7663)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Show edge rather than latest release ([#​7717](https://redirect.github.com/open-policy-agent/opa/pull/7717)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Show TOC on CLI page ([#​7712](https://redirect.github.com/open-policy-agent/opa/pull/7712)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update colors for feedback form in dark mode ([#​7691](https://redirect.github.com/open-policy-agent/opa/pull/7691)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update policy-ref allowing anchor linking ([#​7675](https://redirect.github.com/open-policy-agent/opa/pull/7675)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update rego in deployment examples ([#​7707](https://redirect.github.com/open-policy-agent/opa/pull/7707)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Update sidebar ([#​7723](https://redirect.github.com/open-policy-agent/opa/pull/7723)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Disable cancel script ([#​7719](https://redirect.github.com/open-policy-agent/opa/pull/7719)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Explain automation in RELEASE.md ([#​7721](https://redirect.github.com/open-policy-agent/opa/pull/7721)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Fix badge endpoints ([#​7653](https://redirect.github.com/open-policy-agent/opa/pull/7653)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Refactor site components with CSS modules ([#​7666](https://redirect.github.com/open-policy-agent/opa/pull/7666)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Update docusaurus components to 3.8.1 ([#​7718](https://redirect.github.com/open-policy-agent/opa/pull/7718)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Miscellaneous - build: Better detection of go changes ([#​7696](https://redirect.github.com/open-policy-agent/opa/pull/7696)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - build: Bump golang 1.24.3 -> 1.24.4 ([#​7672](https://redirect.github.com/open-policy-agent/opa/pull/7672)) authored by [@​srenatus](https://redirect.github.com/srenatus) - Adding Clarification to merge instructions when cutting a patch release ([#​7660](https://redirect.github.com/open-policy-agent/opa/pull/7660)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) - build: Make summary failure source clearer ([#​7697](https://redirect.github.com/open-policy-agent/opa/pull/7697)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - build: Skip jobs for non docs changes ([#​7688](https://redirect.github.com/open-policy-agent/opa/pull/7688)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - deps: Use `google.golang.org/protobuf` ([#​7655](https://redirect.github.com/open-policy-agent/opa/pull/7655)) authored by [@​sspaink](https://redirect.github.com/sspaink) - perf: Simplify interning ([#​7714](https://redirect.github.com/open-policy-agent/opa/pull/7714)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: Only pass built-in context to calls depending on it ([#​7728](https://redirect.github.com/open-policy-agent/opa/pull/7728)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: Improve built-in `concat` performance ([#​7702](https://redirect.github.com/open-policy-agent/opa/pull/7702)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - perf: More efficient data/v1 POST handler ([#​7673](https://redirect.github.com/open-policy-agent/opa/pull/7673)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - test: Fix flaky TestRaisingHTTPClientQueryError ([#​7698](https://redirect.github.com/open-policy-agent/opa/pull/7698)) authored by [@​sspaink](https://redirect.github.com/sspaink) - test: Fix flaky topdown query cache tests ([#​7590](https://redirect.github.com/open-policy-agent/opa/issues/7590)) authored by [@​sspaink](https://redirect.github.com/sspaink) - Dependency updates; notably: - build(deps): Bump gqlparser from v2.5.27 to v2.5.28 ([#​7699](https://redirect.github.com/open-policy-agent/opa/issues/7699)) authored by [@​robmyersrobmyers](https://redirect.github.com/robmyersrobmyers) - build(deps): bump github.com/go-logr/logr from 1.4.2 to 1.4.3 - build(deps): bump github.com/vektah/gqlparser/v2 from 2.5.26 to 2.5.27 - build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 - build(deps): bump google.golang.org/grpc from 1.72.0 to 1.72.2 - build(deps): bump oras.land/oras-go/v2 from 2.5.0 to 2.6.0 - build(deps): bump go.opentelemetry.io deps to 1.36.0/0.61.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/infonl/dimpact-zaakafhandelcomponent). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new EvergreenCodeBlock component to the documentation site that allows code blocks to contain template for the current versions of opa components. This means we can show the current version in docs, but don't need update the version in every code block when we release a new version.
Fixes #7705
In the future, it would be nice to pull the latest release for this on build since the envoy release sometimes lags behind the opa release a small amount, but for now this is a step in the right direction. The kube-mgmt version is also manually set, but at least this component owns all versioned code blocks in the documentation now.