-
Notifications
You must be signed in to change notification settings - Fork 42
Update go modules (main) #1490
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/main-go-modules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update go modules (main) #1490
+30
−13
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
79e6b9d to
8802e55
Compare
42b430b to
1319fcb
Compare
1319fcb to
d2ed639
Compare
d2ed639 to
44cbdfc
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
44cbdfc to
e675441
Compare
efdd5a2 to
e675441
Compare
e675441 to
4634959
Compare
8bf29a8 to
f1073bb
Compare
4563eb2 to
878409c
Compare
316afe1 to
631da2b
Compare
3e3978a to
bd2d554
Compare
bd2d554 to
4452624
Compare
b10a4cc to
2a0f644
Compare
2a0f644 to
c3f5b28
Compare
a087cd0 to
e2ff9cc
Compare
e2ff9cc to
6fae9fe
Compare
394ca12 to
2a23b0b
Compare
2a23b0b to
02c40e8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
b167a6a→3459088v0.13.0→v0.15.1v1.1.1→v1.2.0v0.62.0→v0.66.0v1.6.0→v1.12.2v0.29.2→v0.38.0v0.39.1→v0.42.0v1.2.3→v1.3.0Release Notes
cucumber/godog (github.com/cucumber/godog)
v0.15.1Compare Source
Added
Changed
::set-output- (681 - nodeg)Fixed
context.Context(679 - tigh-latte)v0.15.0Compare Source
Added
Changed
Closemethod and associatedio.Writerchanged toio.WriteCloser.v0.14.1Compare Source
Added
Fixed
v0.14.0Compare Source
Added
Fixed
Changed
google/addlicense (github.com/google/addlicense)
v1.2.0Compare Source
This is the first full release after a period of dormancy for the project. Support for several file types has been added, plus some internal cleanup.
What's Changed
.graphqlsupport by @SleepySquash in #111New Contributors
Full Changelog: google/addlicense@v1.1.1...v1.2.0
open-policy-agent/conftest (github.com/open-policy-agent/conftest)
v0.66.0Compare Source
Changelog
OPA Changes
08529c7: build(deps): bump github.com/open-policy-agent/opa from 1.11.0 to 1.12.1 (#1240) (@dependabot[bot])Other Changes
10434c1: build(deps): bump actions/setup-python from 6.0.0 to 6.1.0 (#1225) (@dependabot[bot])25bee5d: build(deps): bump alpine from 3.22.2 to 3.23.0 (#1229) (@dependabot[bot])6cafc0f: build(deps): bump github.com/BurntSushi/toml from 1.5.0 to 1.6.0 (#1238) (@dependabot[bot])f6b8fa9: build(deps): bump github.com/moby/buildkit from 0.26.2 to 0.26.3 (#1235) (@dependabot[bot])233776f: build(deps): bump golang from 1.25.4-alpine to 1.25.5-alpine (#1228) (@dependabot[bot])7a86f94: chore: Remove dependency on github.com/pkg/errors (#1233) (@jalseth)5a394b8: ci(golangci-lint): Disable revive skip-package-name-collision-with-go-std (#1232) (@jalseth)v0.65.0Compare Source
Changelog
New Features
7de1f99: feat: Add location to SARIF output (#1207) (@jalseth)Bug Fixes
94bb769: fix(build): Include Git version when using 'make build' (#1218) (@jalseth)ff4e456: fix(sarif): Include conftest version number (#1206) (@jalseth)OPA Changes
8c4cfa6: build(deps): bump github.com/open-policy-agent/opa from 1.10.1 to 1.11.0 (#1224) (@dependabot[bot])Other Changes
3dab980: build(deps): bump cuelang.org/go from 0.15.0 to 0.15.1 (#1217) (@dependabot[bot])cfa85ca: build(deps): bump github.com/moby/buildkit from 0.25.2 to 0.26.2 (#1216) (@dependabot[bot])dd7e3bc: build(deps): bump golang from 1.25.3-alpine to 1.25.4-alpine (#1210) (@dependabot[bot])bbbb04c: chore: Include goreleaser in Nix devshell (#1219) (@jalseth)ac3146f: ci: Pin GitHub Actions to the Git SHA using ratchet (#1204) (@jalseth)v0.64.0Compare Source
Changelog
New Features
00b02b2: feat: Include location in the result output (#1196) (@jalseth)ee91078: feat: Refactor GitHub outputter to support locations from Rego policy (#1197) (@jalseth)d359466: feat: add conftest-fmt and conftest-pull pre-commit hooks (#1192) (@dkolepp)Bug Fixes
997f5ce: fix: Fix XDG writable check on Windows (#1185) (@jalseth)fb9c88d: fix: Only use XDG directories for plugin if they are writable (#1182) (@jalseth)4a2ddd6: fix: Use "python3" instead of "python" in the Makefile (#1184) (@jalseth)OPA Changes
347388d: build(deps): bump github.com/open-policy-agent/opa from 1.9.0 to 1.10.1 (#1201) (@dependabot[bot])Other Changes
75449c3: build(deps): bump alpine from 3.22.1 to 3.22.2 (#1191) (@dependabot[bot])0ade44b: build(deps): bump cuelang.org/go from 0.14.1 to 0.15.0 (#1202) (@dependabot[bot])1ef4588: build(deps): bump github.com/hashicorp/go-getter from 1.8.2 to 1.8.3 (#1199) (@dependabot[bot])d2e56c3: build(deps): bump github.com/moby/buildkit from 0.25.0 to 0.25.2 (#1200) (@dependabot[bot])5242185: build(deps): bump golang from 1.25.1-alpine to 1.25.3-alpine (#1193) (@dependabot[bot])58ace24: build: Add Nix devshell (#1186) (@jalseth)6189512: chore: Fix gitignore for acceptance tests (#1195) (@jalseth)7d41238: ci: Run validation job on Linux, macOS, Windows (#1181) (@jalseth)v0.63.0Compare Source
Changelog
New Features
30b9a8d: feat: add reformat command for JSON output conversion (#1153) (@thevilledev)Bug Fixes
ffb6ce3: fix: Add explicit line-number to GitHub output (#1173) (@tun0)OPA Changes
64bf641: build(deps): bump github.com/open-policy-agent/opa from 1.6.0 to 1.7.1 (#1156) (@dependabot[bot])981983b: build(deps): bump github.com/open-policy-agent/opa from 1.7.1 to 1.8.0 (#1165) (@dependabot[bot])c7aa1d4: build(deps): bump github.com/open-policy-agent/opa from 1.8.0 to 1.9.0 (#1175) (@dependabot[bot])Other Changes
0d903ce: build(deps): bump actions/checkout from 4 to 5 (#1158) (@dependabot[bot])364cf32: build(deps): bump actions/setup-go from 5 to 6 (#1171) (@dependabot[bot])d4aa81f: build(deps): bump actions/setup-python from 5 to 6 (#1172) (@dependabot[bot])a1ecf3f: build(deps): bump alpine from 3.22.0 to 3.22.1 (#1152) (@dependabot[bot])b87ca5f: build(deps): bump cuelang.org/go from 0.13.2 to 0.14.1 (#1159) (@dependabot[bot])1c5abaa: build(deps): bump github.com/CycloneDX/cyclonedx-go from 0.9.2 to 0.9.3 (#1177) (@dependabot[bot])2a509fe: build(deps): bump github.com/hashicorp/go-getter from 1.7.8 to 1.7.9 (#1162) (@dependabot[bot])a433ed0: build(deps): bump github.com/hashicorp/go-getter from 1.7.9 to 1.8.0 (#1169) (@dependabot[bot])d9dca30: build(deps): bump github.com/hashicorp/go-getter from 1.8.0 to 1.8.1 (#1174) (@dependabot[bot])b51f6d9: build(deps): bump github.com/hashicorp/go-getter from 1.8.1 to 1.8.2 (#1178) (@dependabot[bot])c664099: build(deps): bump github.com/moby/buildkit from 0.23.2 to 0.24.0 (#1166) (@dependabot[bot])5378cc3: build(deps): bump github.com/moby/buildkit from 0.24.0 to 0.25.0 (#1176) (@dependabot[bot])fb4c503: build(deps): bump golang from 1.25.0-alpine to 1.25.1-alpine (#1170) (@dependabot[bot])0d6e3b4: chore(deps): bump Go version to 1.25 (#1160) (@thevilledev)open-policy-agent/opa (github.com/open-policy-agent/opa)
v1.12.2Compare Source
This bug fix release address issues found in the new string interpolation feature
authored by @anderseknert
authored by @thevilledev
authored by @thevilledev
v1.12.1Compare Source
This bug fix release reverts a change to
regex.replacethat unintentionally changed its behaviour for anchored regular expressions.regex.replacerespect cancellation" (authored by @srenatus)v1.12.0Compare Source
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
String Interpolation (#4733)
The Rego language has been extended to support String Interpolation,
which provides a readable means to compose strings containing dynamic values determined at evaluation time.
An interpolated string is composed of a template-string containing zero or more template-expressions that evaluates to a value at evaluation time.
The
$character prefix identifies a template-string, and template-expressions are declared by being enclosed in curly-braces ({,}).Additionally,
undefinedtemplate-expression values don't halt evaluation; instead,<undefined>will be injected into the generated string.{ "deny": [ "User <undefined>'s role was 'guest', but must be one of [\"admin\", \"employee\"]" ], }String interpolation is a more readable and less error-prone substitute for the
sprintfbuilt-in function.Authored by @johanfylling reported by @anderseknert
Runtime, SDK, Tooling
someandevery(#8105, #8131, #8138) authored by @charlieegan3regex.replacerespect cancellation (#8089) authored by @srenatusreplaceandstrings.replace_nrespect cancellation (#8089) authored by @srenatusconcat(#8090) authored by @srenatusCompiler, Topdown and Rego
Docs, Website, Ecosystem
Miscellaneous
v1.11.1Compare Source
This is a bugfix release:
Memory exhaustion via forged gzip header
A crafted HTTP request any of OPA's HTTP endpoints would lead OPA to use a large amount of memory, triggering
an out-of-memory process exit.
This weakness in OPA's HTTP API gzip handling is as old as the gzip handling itself. A configurable limit was introduced in v0.67.0, but it has been shown that this security measure wasn't sufficient to avoid running out of memory in memory-constrained setups.
Thanks to @thevilledev for reporting and fixing this issue.
It only applies to OPA running as server (as a binary or in a container, as "sidecar"). To trigger an OOM process exit using this weakness, an adversary must be able to send an HTTP request directly to OPA. This would be the case if they are in the same network, there is no proxy in front of OPA, or if OPA was exposed to the internet, which is advised against.
By the nature of HTTP encodings, this would be effective before token-based authentication and authorization policies, so these measures do not protect against the attack vector.
If all OPA endpoints are using TLS-based authentication (mutual TLS, "mTLS"), then an adversary cannot do harm with this method.
Please note that while we're taking all of these issues seriously, OPA isn't designed for adversary environments. It's strongly advised not to expose any of its endpoints to the public internet. Furthermore, available security measures should be applied regardless, for a defense in depth approach. See the documentation for the available means of authentication and authorization in OPA.
Please also check out our Security Policy for reporting critical issues and bugs.
Decision Logs dropped (introduced in OPA v1.9.0)
When the decision logs buffer was uploaded, the buffer limit inadvertently got reset to the default upload limit (32kb).
This causes logs to be dropped that shouldn't have been dropped.
This default is overridden by the configuration value
decision_logs.reporting.upload_size_limit_bytes, see the docs on decision logs.There's a Prometheus metric for dropped events,
counter_decision_logs_dropped_buffer_size_limit_bytes_exceeded,and you can check that for unexpectedly high counts.
Reported by @johanneslarsson #8123, fixed by @sspaink.
The release is otherwise identical to v1.11.0.
v1.11.0Compare Source
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
http.sendbuilt-in functionImmutable Releases
Starting with this release, OPA releases are immutable for increased security.
Runtime, SDK, Tooling
--ignoreinevalcmd when using bundle flag (--bundle) (#8062) authored by @sspainkCompiler, Topdown and Rego
http.Transportinhttp.sendbuilt-in (#7927) authored by @sykesmsync.Poolfor eval func objects (#8054) authored by @anderseknertDocs, Website, Ecosystem
Miscellaneous
StringOperandByteSlicehelper (#8048) authored by @anderseknertBenchmarksworkflow (#8072) authored by @srenatusv1.10.1Compare Source
This is a bugfix release for the
splitbuiltin: In v1.10.0, it was looping infinitely when used with an empty-string delimiter.Reported by @SignalRichard, authored by @srenatus
The release is otherwise identical to v1.10.0.
v1.10.0Compare Source
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
--fail-on-emptyflag foropa testIS NOT NULLquery statements in the Compile APINon-static OPA binaries for linux/arm64 and darwin/arm64
Starting with this release, OPA will ship non-static arm64 executables for linux and darwin.
These binaries have support for Wasm evaluation.
Furthermore, the openpolicyagent/opa:latest docker image is a multi-platform image with arm64 support.
Runtime, Tooling
opa test --fail-on-emptyto allow making bad-ror empty folders fail ([#7943](https:Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.