Skip to content

v1.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Jun 21:17
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
cc2c5c6

This release contains a mix of bugfixes and small features. Notably:

  • A breaking fix to the outbound User-Agent header so it conforms to RFC 9110 (see below)
  • Container-aware resource limits: automatic GOMAXPROCS is restored and automatic GOMEMLIMIT is now supported
  • Several opa fmt correctness fixes
  • Improvements to opa test --coverage (ranges in report, inline rule head tracking, conjunction-expression coverage)

Breaking: Fix User-Agent according to RFC9110 (#8792)

OPA's outbound HTTP requests (bundle, discovery, decision log, status, http.send, AWS KMS/ECR)
previously sent User-Agent: Open Policy Agent/<version> (<os>, <arch>), which is not a valid
RFC 9110 User-Agent value because the product token cannot contain spaces. The header is now
Open-Policy-Agent/<version> (<os>, <arch>). Server-side log filters or WAF rules that
exact-match the old string will need to be updated.

Authored by @sspaink, reported by @SpecLad

Runtime, SDK, Tooling

Compiler, Topdown and Rego

Docs, Website, Ecosystem

Miscellaneous

  • benchmarks: smaller tweaks (#8759) authored by @srenatus
  • benchmarks: split off script, emit markdown table (#8812) authored by @srenatus
  • benchmarks: use details+summary comments for benchlab results (#8811) authored by @srenatus
  • capabilities: Integrate 1.17.1 patch release (#8798) authored by @sspaink
  • chore: tidy go.mod to remove untagged versions (#8791) authored by @thaJeztah
  • e2e: Add proto schemas for the IR plan and bundle manifest (#8766) reported and authored by @sspaink
  • gha: deduplicate change-detection output in pr CI checks (#8808) authored by @sspaink
  • nightly: use regal@main (#8735) authored by @srenatus
  • workflow: remove tests from docker (edge) image build (#8721) authored by @srenatus
  • workflows: bring back docker edge tags for post-merge (#8718) authored by @srenatus
  • workflows: use go-version-file with actions/setup-go (#8751) authored by @srenatus
  • Dependency updates; notably:
    • build(deps): Add github.com/KimMachineGun/automemlimit v0.7.5
    • build(deps): Add go.uber.org/automaxprocs v1.6.0
    • build(deps): Bump github.com/dgraph-io/badger/v4 from v4.9.1 to v4.9.2
    • build(deps): Bump github.com/vektah/gqlparser/v2 from v2.5.33 to v2.5.34
    • build(deps): Bump go.opentelemetry.io/contrib/bridges/prometheus from v0.68.0 to v0.69.0
    • build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from v0.68.0 to v0.69.0
    • build(deps): Bump go.opentelemetry.io/otel from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/sdk from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/sdk/metric from v1.43.0 to v1.44.0
    • build(deps): Bump go.opentelemetry.io/otel/trace from v1.43.0 to v1.44.0
    • build(deps): Bump golang.org/x/sync from v0.20.0 to v0.21.0
    • build(deps): Bump golang.org/x/text from v0.37.0 to v0.38.0
    • build(deps): Bump google.golang.org/grpc from v1.81.0 to v1.81.1
    • build(deps): Bump gopkg.in/ini.v1 from v1.67.2 to v1.67.3
    • build(deps): Bump oras.land/oras-go/v2 from v2.6.0 to v2.6.1
    • build(deps): bump golang.org/x/crypto to v0.52.0 and golang.org/x/net to v0.55.0 (#8745) authored by @BGebken
    • build: bump go 1.26.3 -> 1.26.4 (#8726) authored by @srenatus