Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opa 0.66.0 #175785

Merged
merged 2 commits into from
Jun 27, 2024
Merged

opa 0.66.0 #175785

merged 2 commits into from
Jun 27, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
v0.66.0

This release contains a mix of features, performance improvements, and bugfixes.

Improved Test Reports (2546)

The opa test command now includes a new --var-values flag that enriches reporting of failed tests with the values and locations for variables in the failing expression.
E.g.:

FAILURES
--------------------------------------------------------------------------------
data.test.test_my_policy: FAIL (0ms)

  test.rego:8:
    	x == y + z
    	|    |   |
    	|    |   3
    	|    y + z: 5
    	|    y: 2
    	1

SUMMARY
--------------------------------------------------------------------------------
test.rego:
data.test.test_foo: FAIL (0ms)
--------------------------------------------------------------------------------
FAIL: 1/1

Authored by @johanfylling, reported by @grosser.

Reading stdin in opa exec (#6538)

The opa exec command now supports reading input documents from stdin with the --stdin-input (-I) flag.
E.g.:

$ echo '{"user": "alice"}' | opa exec --stdin-input --bundle my_bundle

Authored by @colinjlacy, reported by @humbertoc-silva.

Topdown and Rego

  • ast: Fix blanket "unexpected assign token" error message / usability issue (#6563) authored by @anderseknert
  • ast: Fix wrong location on metadata parse errors on first line (#6587) authored by @anderseknert
  • ast: Fix/inspect unknowns in with stmt (#6812) authored by @johanfylling reported by @surajupadhyay01
  • ast: Include original text in annotation location text attribute (#6779) authored by @anderseknert
  • ast: Expanding nested expressions in every domain (#6790) authored by @johanfylling reported by @anakrish
  • topdown: Add http.send request attribute to ignore headers for caching key (#6642) authored and reported by @rudrakhp

Runtime, Tooling, SDK

  • build: Use chainguard images from dockerhub (#6830) authored by @srenatus
  • bundle: Preallocate buffers for file contents. (#6818) authored by @philipaconrad
  • plugins: Reduce locks during decision logging (#6797) authored by @mjungsbluth
  • plugins/rest: Do local map modification in OAuth2 client credentials flow (#6769) authored and reported by @eubaranov
  • loader: Use a better error message when trying to merge non-objects (#6803) authored by @anderseknert
  • server/authorizer: Fix gzip payload handling (#6804) authored by @philipaconrad reported by @nevumx

Docs, Website, Ecosystem

  • docs: Remove missing prometheus metric go_memstats_gc_cpu_fraction (#6783) authored by @philipaconrad
  • docs: Mention that default functions may not evaluate (#6265) authored by @anderseknert
  • docs: Fix spelling and grammar of an HTTP (#6786) authored by @jdbaldry
  • docs/website: Add vs code and zed to ecosystem page (#6788) authored by @charlieegan3
  • docs/website: Add Flipt to the OPA ecosystem (#6781) authored by @markphelps
  • docs/website: Add Flipt blog to their ecosystem page (#6789) authored by @charlieegan3
  • docs/website: Revise language SDK content (#6811) authored by @charlieegan3

Miscellaneous

  • Dependency updates; notably:
    • build(go): bump golang from 1.22.3 to 1.22.4
    • build(deps): bump github.com/containerd/containerd from 1.7.17 to 1.7.18
    • build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jun 27, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jun 27, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Jun 27, 2024
Merged via the queue into master with commit bcad016 Jun 27, 2024
14 checks passed
@BrewTestBot BrewTestBot deleted the bump-opa-0.66.0 branch June 27, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants