Open Policy Agent (OPA)
v1.13.0Security2026년 1월 29일
OPA v1.13.0은 Decision Logger의 업로드 방식과 Rego 내장 기능을 추가하고, 기본 입력 지원 범위를 넓혔습니다. 런타임과 컴파일러의 오류를 수정했으며 성능과 의존성도 업데이트했습니다. 보안 권고나 취약점 공개 내용은 없습니다.
그 외 기록된 변경 37건 전체value changes 26 · fixes 5 · additions 3 · constraints 2 · removals 1
value changes (26)
- - cmd/fmt: Do not overwrite file on
fmtwithout changes ([#8222](https://github.com/open-policy-agent/opa/issues/8222)) authored by @Loic-R - - ast: Improve type error message when referencing functions ([#6840](https://github.com/open-policy-agent/opa/issues/6840)) authored by @sspaink
- - ast: Improved annotations parsing ([#8210](https://github.com/open-policy-agent/opa/pull/8210)) authored by @anderseknert
- - ast: Reinstate zero-alloc paths in
Ref.([#8202](https://github.com/open-policy-agent/opa/pull/8202)) authored by @anderseknertString() - - ast: Replace regex implementation in
IsVarCompatibleString([#8164](https://github.com/open-policy-agent/opa/pull/8164)) authored by @anderseknert - - ast: Optimize
Set.andIntersect Set.([#8167](https://github.com/open-policy-agent/opa/pull/8167)) authored by @thevilledevDiff - - ast: Optimize
Set.([#8172](https://github.com/open-policy-agent/opa/pull/8172)) authored by @thevilledevUnion - - ast: Reduce allocations in
Expr.([#8204](https://github.com/open-policy-agent/opa/pull/8204)) authored by @thevilledevMarshalJSON - - ast: Reduce allocations in
Rule.([#8205](https://github.com/open-policy-agent/opa/pull/8205)) authored by @thevilledevMarshalJSON - - ast: Reduce allocations in
Term.([#8200](https://github.com/open-policy-agent/opa/pull/8200)) authored by @thevilledevMarshalJSON - - ast: Reduce allocations in
With.([#8206](https://github.com/open-policy-agent/opa/pull/8206)) authored by @thevilledevMarshalJSON - - perf:
String()implementations using appenders ([#8192](https://github.com/open-policy-agent/opa/pull/8192)) authored by @anderseknert - - topdown: Avoid redundancy in builtinTrim ([#8237](https://github.com/open-policy-agent/opa/pull/8237)) authored by @thevilledev
- - topdown: Eliminate closure allocations in Set and virtual doc enumeration ([#8242](https://github.com/open-policy-agent/opa/pull/8242)) authored by @alex60217101990
- - topdown: Fast paths for
array.([#8177](https://github.com/open-policy-agent/opa/pull/8177)) authored by @thevilledevreverse - - topdown: Optimize
json.andremove json.([#8193](https://github.com/open-policy-agent/opa/pull/8193)) authored by @thevilledevfilter - - topdown: Optimize
objectbuilt-ins ([#8175](https://github.com/open-policy-agent/opa/pull/8175)) authored by @thevilledev - - topdown: Optimize
unionbuilt-in ([#8173](https://github.com/open-policy-agent/opa/pull/8173)) authored by @thevilledev - - topdown: Pre-alloc in various built-ins ([#8198](https://github.com/open-policy-agent/opa/pull/8198)) authored by @thevilledev
- - topdown: Reduce allocs in float sum/product ([#8235](https://github.com/open-policy-agent/opa/pull/8235)) authored by @thevilledev
- - topdown: Skip set copy in
getObjectKeysParam([#8176](https://github.com/open-policy-agent/opa/pull/8176)) authored by @thevilledev - - deps: Switch to maintained
go.yaml library ([#8182](https://github.com/open-policy-agent/opa/pull/8182)) authored by @mruegyaml. in/yaml/v3 - - build: bump golang from 1.25.5 to 1.25.6 ([#8224](https://github.com/open-policy-agent/opa/pull/8224)) authored by @srenatus
- - build(deps): bump go.opentelemetry.io deps from 1.38.0/0.63.0 to 1.39.0/0.64.0
- - build(deps): bump klauspost/compress from v1.18.1 to v1.18.2 ([#8184](https://github.com/open-policy-agent/opa/pull/8184)) authored by @srenatus because of redaction warning
- - build(deps): bump github.com/go-ini/ini from v1.67.0 to gopkg.in/ini.v1 v1.67.1 ([#8208](https://github.com/open-policy-agent/opa/issues/8208)) authored by @gabrpt
fixes (5)
- - profiler:
nil*Profilershould not reportEnabled()([#8256](https://github.com/open-policy-agent/opa/pull/8256)) authored by @anderseknert - - ast:
Body.doesn't panic on empty body ([#8244](https://github.com/open-policy-agent/opa/pull/8244)) authored by @srenatusString() - - ast: Type Checker recognizes when a variable has multiple assignments but is an undefined function ([#7463](https://github.com/open-policy-agent/opa/issues/7463)) authored by @sspaink reported by @anderseknert
- - topdown: Fix issue where
numbers.built-in could erroneously returnrange_step undefinedvalue ([#8194](https://github.com/open-policy-agent/opa/pull/8194)) authored by @thevilledev - - topdown: Re-introduce cancellation-awareness for
regex.built-in ([#8179](https://github.com/open-policy-agent/opa/pull/8179)) authored by @srenatus from having been reverted in v1.12.1replace
additions (3)
- - cmd/test: Enable sorting JSON test results by duration ([#7444](https://github.com/open-policy-agent/opa/issues/7444)) authored by @sspaink
- - rego: Add Data function to simplify adding data from map ([#5961](https://github.com/open-policy-agent/opa/issues/5961)) authored by @majiayu000 reported by @anderseknert
- - topdown: Add
array.built-in function ([#8226](https://github.com/open-policy-agent/opa/issues/8226)) authored by @anderseknertflatten
constraints (2)
- An
immediatetrigger mode has been added to the Decision Logger; enabled by setting thedecision_logs.[configuration option](https://www.openpolicyagent.org/docs/configuration#decision-logs) toreporting. trigger immediate. - - topdown: Support arrays as input for
json.([#6615](https://github.com/open-policy-agent/opa/issues/6615)) authored by @sspaink reported by @mscudlikmatch_schema
removals (1)
- - topdown: Remove hard-coded missing key error in
strings.built-in ([#7931](https://github.com/open-policy-agent/opa/issues/7931)) authored by @colinjlacy reported by @anderseknertrender_template
Open Policy Agent (OPA) 스택에 추가
조치가 필요한 변경이 나오면 주간 메일로 받아볼 수 있습니다. 이번 릴리스처럼 조치가 없는 주에는 메일을 보내지 않습니다.