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

build(deps): bump github.com/styrainc/regal from 0.29.2 to 0.30.0 #5298

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps github.com/styrainc/regal from 0.29.2 to 0.30.0.

Release notes

Sourced from github.com/styrainc/regal's releases.

v0.30.0

Regal v0.30.0 is the first release to fully support OPA 1.0 while at the same time being fully compatible with older versions of OPA and Rego. This process helped improve both Regal and OPA, as a few things to fix in both projects got identified along the way!

Full support for OPA 1.0, while maintaining compatibility with earlier versions

Regal now seamlessly supports working with both pre-1.0 and 1.0+ policies, or even a mix of both! See Regal's new documentation on OPA 1.0 to learn more about how to get the most out of Regal when working with Rego of any version.

As part of this upgrade, all the Regal docs have now been updated to use OPA/Rego 1.0 syntax, in examples and anywhere else Rego is used.

Finally, and perhaps needless to say — Regal itself and all of its linter policies are now upgraded to OPA 1.0!

Much Faster Linting

A mission that started out with the goal of improving the performance of Regal's linter, ended up with multiple PR's to improve evaluation performance in OPA. This of course benefits not just Regal, but all users of OPA! However, since the regal lint command was used for benchmarking, most optimizations have been along the hot path of that command.

Linting with Regal is now almost 2x as fast as before, while consuming 2/3 of the memory previously needed. And we have more improvements lined up in OPA for the next release, so stay tuned!

Notable Improvements

  • The evaluation code lens now supports using an input.yaml file as input, in addition to input.json. Thanks @​mrgadgil for suggesting this feature!
  • The redundant-existence-check rule now also reports redudant checks of function arguments
  • New InputFromTextWithOptions functions for users of the Go API
  • Faster evaluation by avoiding custom function calls in hot path
  • Reduced time to evaluation by performance improvements in Roast input conversion
  • The language server now logs the version of Regal and the path to the binary at startup, helping users know which Regal binary is being used

Notable Fixes

Changelog

  • 5b7d423a2775ef4662d19fa4c3f9b3b12591e243: build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0 (#1263) (@​dependabot[bot])
  • 99752a09e806d8274eac99507a66883a9ec21132: build(deps): bump github/codeql-action from 3.27.3 to 3.27.4 (#1264) (@​dependabot[bot])
  • f078127e75e6fffefe8119bc5c57f5e292db9469: build(deps): bump codecov/codecov-action from 5.0.0 to 5.0.2 (#1268) (@​dependabot[bot])
  • c8a03290412732b63bad18515bca6dff4181dd03: lsp: Use notify for sending messages (#1267) (@​charlieegan3)
  • abd95046cfd07a08356c5932edaf6cc85576f9af: build(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /build (#1266) (@​dependabot[bot])
  • acd22f7388691a614b21d6154b065c91d05cc69b: Add support for using input.yaml in Evaluate code lens (#1269) (@​anderseknert)
  • 183584a5fc981e6c3f02ddd73f2a2412514bd04c: build(deps): bump codecov/codecov-action from 5.0.2 to 5.0.4 (#1270) (@​dependabot[bot])
  • 6716d37742ea31b884c1d4ff9992333149ef2176: Less frequent, and grouped dependabot updates (#1271) (@​anderseknert)
  • aa6533214347c03542bbf3f92e9830f8c2876e45: build(deps): bump smol-toml from 1.3.0 to 1.3.1 in /build (#1272) (@​dependabot[bot])
  • 34ba147b59e6b3fbb0377afba12648a31e9ee3be: build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (#1274) (@​dependabot[bot])

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/styrainc/regal](https://github.com/styrainc/regal) from 0.29.2 to 0.30.0.
- [Release notes](https://github.com/styrainc/regal/releases)
- [Changelog](https://github.com/StyraInc/regal/blob/main/.goreleaser.yaml)
- [Commits](StyraInc/regal@v0.29.2...v0.30.0)

---
updated-dependencies:
- dependency-name: github.com/styrainc/regal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 14, 2025 06:18
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 14, 2025
@rdimitrov rdimitrov merged commit cfd632b into main Jan 14, 2025
26 checks passed
@rdimitrov rdimitrov deleted the dependabot/go_modules/github.com/styrainc/regal-0.30.0 branch January 14, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant