Releases: open-policy-agent/conftest
Releases · open-policy-agent/conftest
v0.57.0
Announcements
⚠️ Upcoming Breaking Changes ⚠️
In the May 2025 release of conftest, we will change the default version of Rego syntax from v0 to v1. This will be a breaking change if your Rego policies are not compatible with the v1 syntax.
- With this release of conftest, users may opt-in to this behavior early by setting the
--rego-version
flag tov1
. - Individual policies can be updated gradually, by adding
import rego.v1
to the policy. - The
rego-version
flag will remain available indefinitely, and users who do not wish to update their Rego policies can continue to use v0 syntax by setting this flag tov0
.
For more information about upgrading to Rego v1 syntax, see the upstream docs at https://www.openpolicyagent.org/docs/latest/v0-upgrade/.
Changelog
New Features
- eacba23: feat(engine): add query metadata to evaluation results (#1061) (@thevilledev)
- 5decd18: feat(parser): handle UTF-8 BOM in JSON input (#1065) (@thevilledev)
- abad255: feat: Implement SARIF output (#1042) (@thevilledev)
- aa9e3c8: feat: enable relative jsonnet imports by setting a path-aware importer (@thevilledev)
- 3f67b78: feature: Documentation command (#1009) (@xNok)
Bug Fixes
- 151643b: fix: add output and tests for GitHub and Azure DevOps (@thevilledev)
- a770d29: fix: correct linters-settings in .golangci.yaml to enable misspell (@thevilledev)
- 8e541da: fix: improve handling for YAML version directives (@thevilledev)
- 4f6bc40: fix: make sure lookup_ip_addr throwing builtin-err in test (#1017) (@boranx)
- 0bbb473: fix: max stack size already set by jsonnet.MakeVM() (@thevilledev)
- 163bdd8: fix: prevent policy file overwrite on downloads (#1039) (@thevilledev)
- 8b34fcb: fix: remove redundant error check in push command (@thevilledev)
- 7428841: fix: set jsonnet VM stack limits and add test coverage (@thevilledev)
OPA Changes
- a8d6544: build(deps): bump github.com/open-policy-agent/opa from 0.69.0 to 0.70.0 (#1016) (@dependabot[bot])
- 19c82bc: build(deps): bump github.com/open-policy-agent/opa from 0.70.0 to 1.1.0 (#1050) (@dependabot[bot])
Other Changes
- 356ede4: Merge pull request #1035 from open-policy-agent/dependabot/docker/alpine-3.21.2 (@anderseknert)
- d5e8a77: Merge pull request #1036 from open-policy-agent/dependabot/go_modules/github.com/hashicorp/go-getter-1.7.8 (@anderseknert)
- a603656: Merge pull request #1037 from thevilledev/fix/recursive-jsonnet (@anderseknert)
- 3096ca7: Merge pull request #1038 from thevilledev/fix/yaml-preamble-multidoc (@anderseknert)
- 6b31946: Merge pull request #1040 from thevilledev/fix/missing-outputs (@anderseknert)
- 5063084: Merge pull request #1041 from thevilledev/fix/impossible-nil (@anderseknert)
- 1a25844: Merge pull request #1043 from open-policy-agent/dependabot/docker/golang-1.23.5-alpine (@anderseknert)
- 326a1a4: Merge pull request #1044 from thevilledev/fix/jsonnet-library-imports (@anderseknert)
- 744f867: Merge pull request #1046 from open-policy-agent/dependabot/go_modules/github.com/moby/buildkit-0.19.0 (@anderseknert)
- ea55b61: Merge pull request #1051 from open-policy-agent/dependabot/go_modules/cuelang.org/go-0.12.0 (@anderseknert)
- 6c867fc: Merge pull request #1052 from thevilledev/fix/linters-settings (@anderseknert)
- f110dde: Merge pull request #1053 from thevilledev/style/enable-nilness-lint (@anderseknert)
- 26b6c24: Merge pull request #1054 from thevilledev/test/registry-store-init (@anderseknert)
- 4299ce7: build(deps): bump alpine from 3.20.3 to 3.21.0 (#1026) (@dependabot[bot])
- 154c1aa: build(deps): bump alpine from 3.21.0 to 3.21.2 (@dependabot[bot])
- 33d468d: build(deps): bump cuelang.org/go from 0.10.0 to 0.10.1 (#1013) (@dependabot[bot])
- 103315d: build(deps): bump cuelang.org/go from 0.10.1 to 0.11.0 (#1020) (@dependabot[bot])
- 4df824c: build(deps): bump cuelang.org/go from 0.11.0 to 0.12.0 (@dependabot[bot])
- 5b3e926: build(deps): bump github.com/CycloneDX/cyclonedx-go from 0.9.1 to 0.9.2 (#1028) (@dependabot[bot])
- 1d47ac3: build(deps): bump github.com/hashicorp/go-getter from 1.7.6 to 1.7.8 (@dependabot[bot])
- 642e7cd: build(deps): bump github.com/magiconair/properties from 1.8.7 to 1.8.9 (#1027) (@dependabot[bot])
- 77f985f: build(deps): bump github.com/moby/buildkit from 0.16.0 to 0.17.1 (#1018) (@dependabot[bot])
- 0709be2: build(deps): bump github.com/moby/buildkit from 0.17.1 to 0.17.2 (#1021) (@dependabot[bot])
- 621bcbf: build(deps): bump github.com/moby/buildkit from 0.17.2 to 0.18.0 (#1023) (@dependabot[bot])
- 8da347b: build(deps): bump github.com/moby/buildkit from 0.18.0 to 0.18.1 (#1024) (@dependabot[bot])
- 1a4a428: build(deps): bump github.com/moby/buildkit from 0.18.1 to 0.19.0 (@dependabot[bot])
- 66b0970: build(deps): bump golang from 1.23.2-alpine to 1.23.3-alpine (#1019) (@dependabot[bot])
- 1e7d052: build(deps): bump golang from 1.23.3-alpine to 1.23.4-alpine (#1025) (@dependabot[bot])
- c4e656f: build(deps): bump golang from 1.23.4-alpine to 1.23.5-alpine (@dependabot[bot])
- 6da5673: build(deps): bump golang from 1.23.5-alpine to 1.23.6-alpine (#1062) (@dependabot[bot])
- 874f0bc: chore: add nilness check to govet linter (@thevilledev)
- 24e9ca8: chore: optimize yaml document separator handling (@thevilledev)
- 8a44613: engine: Refactor to allow for Rego version to be specified (#1059) (@jalseth)
v0.56.0
Changelog
Bug Fixes
- 56d742d: fix: missing space causing printing error on azuredevops (#988) (@naoufalzerai)
OPA Changes
- 8d1c1ae: build(deps): bump github.com/open-policy-agent/opa from 0.67.0 to 0.67.1 (#980) (@dependabot[bot])
- 19dd533: build(deps): bump github.com/open-policy-agent/opa from 0.67.1 to 0.68.0 (#996) (@dependabot[bot])
- 36fb367: build(deps): bump github.com/open-policy-agent/opa from 0.68.0 to 0.69.0 (#1010) (@dependabot[bot])
Other Changes
- efb3af2: build(deps): bump alpine from 3.20.1 to 3.20.2 (#978) (@dependabot[bot])
- 2df37b6: build(deps): bump alpine from 3.20.2 to 3.20.3 (#1002) (@dependabot[bot])
- 9db6df6: build(deps): bump cuelang.org/go from 0.9.2 to 0.10.0 (#994) (@dependabot[bot])
- 117bbfa: build(deps): bump github.com/CycloneDX/cyclonedx-go from 0.9.0 to 0.9.1 (#1005) (@dependabot[bot])
- 26bbbd0: build(deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 (#992) (@dependabot[bot])
- a223c83: build(deps): bump github.com/moby/buildkit from 0.15.1 to 0.15.2 (#993) (@dependabot[bot])
- 3922e48: build(deps): bump github.com/moby/buildkit from 0.15.2 to 0.16.0 (#1003) (@dependabot[bot])
- c572160: build(deps): bump golang from 1.22.5-alpine to 1.22.6-alpine (#990) (@dependabot[bot])
- 6dff941: build(deps): bump golang from 1.22.6-alpine to 1.23.0-alpine (#995) (@dependabot[bot])
- 83253b1: build(deps): bump golang from 1.23.0-alpine to 1.23.1-alpine (#1001) (@dependabot[bot])
- 0c742d1: build(deps): bump golang from 1.23.1-alpine to 1.23.2-alpine (#1012) (@dependabot[bot])
- a3bfb98: bump: update go to 1.22 to get on par with toolchain (#1000) (@boranx)
- b286637: chore: Bump Go to 1.23 (#1004) (@jalseth)
v0.55.0
Changelog
Bug Fixes
- 2f13857: fix: update regex to excape the dot in it (#975) (@wangshu3000)
OPA Changes
- 2444462: build(deps): bump github.com/open-policy-agent/opa from 0.66.0 to 0.67.0 (#977) (@dependabot[bot])
Other Changes
- 99d588f: build(deps): bump github.com/moby/buildkit from 0.14.1 to 0.15.1 (#976) (@dependabot[bot])
- 2275d3f: build(deps): bump golang from 1.22.4-alpine to 1.22.5-alpine (#970) (@dependabot[bot])
- 3ca1e3a: ci: Bump Docker login to v3 (#968) (@jalseth)
- daab0c9: ci: Bump golang-ci action to v6 (#974) (@jalseth)
- 066d0f4: ci: Pin goreleaser to v1 (#969) (@jalseth)
v0.54.0
Changelog
OPA Changes
- c5fda2e: build(deps): bump github.com/open-policy-agent/opa from 0.65.0 to 0.66.0 (#966) (@dependabot[bot])
Other Changes
- 96cffe5: build(deps): bump alpine from 3.20.0 to 3.20.1 (#963) (@dependabot[bot])
- acfa9f0: build(deps): bump cuelang.org/go from 0.9.0 to 0.9.1 (#960) (@dependabot[bot])
- 6aeaa86: build(deps): bump cuelang.org/go from 0.9.1 to 0.9.2 (#964) (@dependabot[bot])
- 9e77dfa: build(deps): bump github.com/hashicorp/go-getter from 1.7.4 to 1.7.5 (#962) (@dependabot[bot])
- 3d5ed3f: build(deps): bump github.com/moby/buildkit from 0.13.2 to 0.14.0 (#959) (@dependabot[bot])
- 707d282: build(deps): bump github.com/moby/buildkit from 0.14.0 to 0.14.1 (#961) (@dependabot[bot])
- c4f0506: build(deps): bump github.com/spdx/tools-golang from 0.5.4 to 0.5.5 (#965) (@dependabot[bot])
- fdc162d: build(deps): bump golang from 1.22.3-alpine to 1.22.4-alpine (#958) (@dependabot[bot])
v0.53.0
Changelog
OPA Changes
- 96470c2: build(deps): bump github.com/open-policy-agent/opa from 0.64.1 to 0.65.0 (#953) (@dependabot[bot])
Other Changes
- c33a50c: build(deps): bump alpine from 3.19.1 to 3.20.0 (#951) (@dependabot[bot])
- 31700e1: build(deps): bump cuelang.org/go from 0.8.1 to 0.9.0 (#956) (@dependabot[bot])
- 525f071: build(deps): bump github.com/BurntSushi/toml from 1.3.2 to 1.4.0 (#950) (@dependabot[bot])
- eeef9e2: build(deps): bump github.com/CycloneDX/cyclonedx-go from 0.8.0 to 0.9.0 (#954) (@dependabot[bot])
- 30b3734: build(deps): bump golang from 1.22.2-alpine to 1.22.3-alpine (#949) (@dependabot[bot])
- 493cfd5: tests: extend hcl cases: tag verification (#955) (@boranx)
v0.52.0
Changelog
OPA Changes
- c8ca358: build(deps): bump github.com/open-policy-agent/opa from 0.63.0 to 0.64.0 (#943) (@dependabot[bot])
- 9b082a1: build(deps): bump github.com/open-policy-agent/opa from 0.64.0 to 0.64.1 (#947) (@dependabot[bot])
Other Changes
- 8f13bf6: build(deps): bump cuelang.org/go from 0.8.0 to 0.8.1 (#937) (@dependabot[bot])
- 37b04d6: build(deps): bump github.com/docker/docker from v25.0.3+incompatible to v25.0.5+incompatible (#932) (@robmonct)
- 1b3cc13: build(deps): bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4 (#948) (@dependabot[bot])
- 28d92a4: build(deps): bump github.com/moby/buildkit from 0.13.1 to 0.13.2 (#944) (@dependabot[bot])
- 4ab6fea: build(deps): bump github.com/spdx/tools-golang from 0.5.3 to 0.5.4 (#941) (@dependabot[bot])
- c6bd5a5: build(deps): bump golang from 1.22.1-alpine to 1.22.2-alpine (#938) (@dependabot[bot])
- 298d74a: ci: Allow Dependabot to update github.com/hashicorp/go-getter (#946) (@jalseth)
v0.51.0
Changelog
Bug Fixes
OPA Changes
- 6609893: build(deps): bump github.com/open-policy-agent/opa from 0.62.1 to 0.63.0 (#933) (@dependabot[bot])
Other Changes
- 06e3f8d: build(deps): bump cuelang.org/go from 0.7.1 to 0.8.0 (#930) (@dependabot[bot])
- bece944: build(deps): bump github.com/moby/buildkit from 0.13.0 to 0.13.1 (#931) (@dependabot[bot])
- 515feda: build(deps): bump golang from 1.22.0-alpine to 1.22.1-alpine (#929) (@dependabot[bot])
- 86afe2f: ci: Pin bats version to work around broken CI (#936) (@jalseth)
v0.50.0
Changelog
New Features
Bug Fixes
OPA Changes
- 4c74c13: build(deps): bump github.com/open-policy-agent/opa from 0.61.0 to 0.62.0 (#925) (@dependabot[bot])
- d6c450d: build(deps): bump github.com/open-policy-agent/opa from 0.62.0 to 0.62.1 (#927) (@dependabot[bot])
Other Changes
- 324d7fb: Update workflow action versions (#914) (@jpreese)
- 291f011: build(deps): bump cuelang.org/go from 0.7.0 to 0.7.1 (#916) (@dependabot[bot])
- a12c536: build(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.0 (#926) (@dependabot[bot])
- e20f3ee: build(deps): bump golang from 1.21.6-alpine to 1.22.0-alpine (#913) (@dependabot[bot])
- 42b8513: build: Bump Go to 1.22.x (#915) (@jalseth)
- d5dc9f8: chore: Update setup-regal and golangci-lint actions to latest (#918) (@jpreese)
- 343d024: cmd(verify): Enable show-builtin-errors by default (#922) (@jalseth)
v0.49.1
v0.49.0
The show-builtin-errors
flag will be enabled by default in the next version of conftest.
Changelog
New Features
Bug Fixes
OPA Changes
- 872035d: build(deps): bump github.com/open-policy-agent/opa from 0.60.0 to 0.61.0 (#909) (@dependabot[bot])
Other Changes
- 0ee46b5: build(deps): bump alpine from 3.19.0 to 3.19.1 (#910) (@dependabot[bot])
- 82fd2db: build(deps): bump golang from 1.21.5-alpine to 1.21.6-alpine (#906) (@dependabot[bot])
- 0d3d448: ci: s390x architecture added in the goarch list (#905) (@harpaldhillon)