Announcements
⚠️ Upcoming Breaking Changes ⚠️
In the v0.59 release of conftest (in April 2025), we will bump the hcl2json
library which is used by the HCL2 parser. This makes the behavior of the conversion more consistent by always using arrays for blocks that can be repeated. See #1074 and #1006 for more info.
ℹ️ Breaking Changes Reminder ℹ️
In the v0.60 release of conftest (in May 2025), 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
- 4154949: feat(test): Enable inter-query cache (#1073) (@jalseth)
- d62aa8d: feat: add --absolute-paths flag to pull command (#1078) (@thevilledev)
Bug Fixes
- 4435c65: fix: Conftest can now successfully load files using a file URL (e.g.,
file:///C:/path/to/data.yaml
) on windows (#999) (@pckvcode)
OPA Changes
- 6424545: build(deps): bump github.com/open-policy-agent/opa from 1.1.0 to 1.2.0 (#1080) (@dependabot[bot])
Other Changes
- 8e0fdf2: build(deps): bump alpine from 3.21.2 to 3.21.3 (#1072) (@dependabot[bot])
- 6cb9d19: build(deps): bump github.com/moby/buildkit from 0.19.0 to 0.20.0 (#1076) (@dependabot[bot])
- 43264f4: build(deps): bump golang from 1.23.6-alpine to 1.24.0-alpine (#1071) (@dependabot[bot])
- 155cd3c: chore: Change empty interface{} to any throughout the codebase (#1057) (@jalseth)
- 278f735: chore: Update all examples to OPA V1 syntax (#1058) (@jalseth)
- 39bd5fc: ci: Revert "replace Makefile-based Docker builds with GitHub Action… (#1075)" (#1081) (@jalseth)
- 854183b: refactor(ci): replace Makefile-based Docker builds with GitHub Action… (#1075) (@Amamgbu)
- cdd65ba: refactor(output): Add CheckResults type and helpers (#1063) (@jalseth)