Subject: CVS commit: pkgsrc/devel/opa
From: Leonardo Taccari
Date: 2023-07-23 18:25:52
Message id: 20230723162553.076FAFBDB@cvs.NetBSD.org

Log Message:
opa: Update to 0.54.0

Changes:
v0.54.0
This release focuses on bug fixes, but also includes some improvements
to the SDK and commandline.

Note: This will be the last OPA release to support building with Golang
1.18. (Golang 1.21 is expected to be released in August. Keeping the
support for 1.18 is blocking OPA from upgrading OpenTelemetry.)

### Topdown and Rego

- Add unwrap functionality to topdown.Error
- Lazy obj performance
- ast: Only realizing `lazyObj` when compared against other object type
- ast: Fixing issue in type-checker where partial objects couldn't have key
  overrides of divergent type
- planner: CallDynamic regression fix
- fmt: Fix `fmt` panic in comprehension with comments
- topdown: Format integer numbers without exponent
- topdown: Fix panic in partial eval with ref head rule
- Fixed a bug in `object.union_n` where nested objects were mutated
- Fixed the issue of the `object.subset` method failing to correctly
  compare array relationships
- topdown: Fixed caching race condition issue in `http.send`
- Allow time formatting constants in rego `time.format` and `time.parse_ns`

### Runtime, Tooling, SDK

- Add `--schema` flag to `opa test`
- Add ability to specify namespace for optimized files
- Fix for the issue when OPA throws misleading error
  (storage_not_found_error) message while loading the delta bundle when
  persist property in config is true.
- cmd: Update storage when a file remove op is detected
- cmd: Add support for watch mode in opa test
- download: Pass request to docker.Authorizer
- plugins/discovery: Fix discovery erasing `persistence_directory` config
- plugins/discovery: Fix persistence of discovery bundle
- Add tracing to bundle/discovery download
- Fallback on embedded timezone database if `tzdata` is not found on filesystem
- extensibility: Adding hooks (plugins, discovery, sdk)
- sdk: allow passing in a separate `Store` implementation in SDK
- config: Show "extra", unknown fields in `/v1/config` API result

Files:
RevisionActionfile
1.29modifypkgsrc/devel/opa/Makefile
1.14modifypkgsrc/devel/opa/distinfo
1.14modifypkgsrc/devel/opa/go-modules.mk