Open Policy Agent v1.13.0
+++~~~~~~~~~~~~~-**
Changes
- Topdown: Remove hard-coded missing key error in strings.render_template built-inremoved
- Ast: Improve type error message when referencing functionschanged
- Ast: Improved annotations parsingchanged
- Ast: Reinstate zero-alloc paths in Ref.String()changed
- Ast: Replace regex implementation in IsVarCompatibleStringchanged
- Ast: Optimize Set.Intersect and Set.Diffchanged
- Ast: Optimize Set.Unionchanged
- Ast: Reduce allocations in Expr.MarshalJSONchanged
- Ast: Reduce allocations in Rule.MarshalJSONchanged
- Ast: Reduce allocations in Term.MarshalJSONchanged
- Ast: Reduce allocations in With.MarshalJSONchanged
- String() implementations using appenderschanged
24 more lines
- Topdown: Avoid redundancy in builtinTrimchanged
- Topdown: Eliminate closure allocations in Set and virtual doc enumerationchanged
- Topdown: Fast paths for array.reversechanged
- Topdown: Optimize json.remove and json.filterchanged
- Topdown: Optimize object built-inschanged
- Topdown: Optimize union built-inchanged
- Topdown: Pre-alloc in various built-inschanged
- Topdown: Reduce allocs in float sum/productchanged
- Topdown: Skip set copy in getObjectKeysParamchanged
- Cmd/test: Enable sorting JSON test results by durationadded
- Rego: Add Data function to simplify adding data from mapadded
- Topdown: Add array.flatten built-in functionadded
- Topdown: Support arrays as input for json.match_schemaadded
- Runtime: Correct naming & docs for version checkingfixed
- Ast/parser: Avoid duplicate loc copiesfixed
- Topdown: Fix issue where numbers.range_step built-in could erroneously return undefined valuefixed
- A new immediate upload trigger mode in the Decision Loggerother
- A new array.flatten built-in functionother
- Numerous performance improvementsother
- Cmd/fmt: Do not overwrite file on fmt without changesother
- Profiler: nil *Profiler should not report Enabled()other
- Ast: Body.String() doesn't panic on empty bodyother
- Ast: Type Checker recognizes when a variable has multiple assignments but is an undefined functionother
- Topdown: Re-introduce cancellation-awareness for regex.replace built-inother
23 maintenance lines (dependency bumps, CI, tests, docs)
- Add authz-spring-boot-starter to Spring Security API ecosystem entrymaintenance
- Add header for crypto example to makemaintenance
- Add notes for automated agents (#8147,maintenance
- Add opa-wasm-zig to the ecosystemmaintenance
- Add scripts to import docs from sourcemaintenance
- Explain how to use the SDK without a initialising a servermaintenance
- Fix a number of redirecting linksmaintenance
- Fix template-expression examplesmaintenance
- Ocp: Mention source prefix/path optionsmaintenance
- Website: Add redirect section for immutable referrersmaintenance
- Website: Display 2025 survey results on the websitemaintenance
- Website: Show breadcrumbs in search resultsmaintenance
- Decoupled the Rego job check from the Go job checks in the Github PR workflowmaintenance
- Format pr_check.rego with opa fmtmaintenance
- Migrate PR check to OPA policymaintenance
- Run go get against main to spot redactedmaintenance
- Switch to maintained go.yaml.in/yaml/v3 yaml librarymaintenance
- Cases: Increase yaml test coverage for some regex and string builtinsmaintenance
- Dependency updates; notably:maintenance
- Bump golang from 1.25.5 to 1.25.6maintenance
- Bump go.opentelemetry.io deps from 1.38.0/0.63.0 to 1.39.0/0.64.0maintenance
- Bump klauspost/compress from v1.18.1 to v1.18.2maintenance
- Bump github.com/go-ini/ini from v1.67.0 to gopkg.in/ini.v1 v1.67.1maintenance
59 lines1 removed4 added20 changed3 fixed8 other23 maintenancetyped from the source notes