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/google/cel-go from 0.20.1 to 0.21.0 #3999

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps github.com/google/cel-go from 0.20.1 to 0.21.0.

Release notes

Sourced from github.com/google/cel-go's releases.

Release v0.21.0

Features

  • Math extensions update to include bitwise ops and floating point helpers #923
  • Better support custom types with custom type registries #931
  • repl: implement %parse #933
  • Fixed partial variables extended bug and split PartialVarsEnvExtended test into two #955
  • Added partial evaluations example #959
  • Enable conformance tests for extensions #930
  • Update cel-spec and enable optional_type conformance tests #919
  • Improve token representation in AST #932
  • Add function accessor to Env #978

CEL Policy Compiler

Policies which use CEL often evolve to express complex logic using multiple statements and decision criteria. The CEL Policy Compiler provides an extensible format for parsing, compiling, and composing expression graphs. Below is a simple example which can easily be compiled to a single CEL expression.

name: "my-policy"
rule:
  variables:
    - name: greeting
      expression: "'%s, %s!'"
    - name: people
      expression: >
       ['Tristan', 'Calla', 'Antoine', 'Jonathan', 'Sokwhan', 'Rebecca']
  match:
    - condition: "request.user in variables.people"
      output: "variables.greeting.format(['hello', request.user])"
    - output: "variables.greeting.format(['goodbye', 'stranger'])"
  • Simple Policy Compiler #924
  • Introduce protobuf message testing to policies #961
  • Generate policy explanations during compilation #977
  • Variable and nested rule limits #989
  • Improved support for nested rules #991]

Fixes

  • Delete dangling source info from macro expansion #934
  • Do not re-use ID twice in exists_one macro #935
  • Avoid iterating over the source multiple times during parse #936
  • Fix for working with byte arrays by #958
  • Stabilize macro id generation during optimization #962
  • String formatting panic fix for non-literal format strings #987
  • Add nil checking for wrapperspb's types #960

... (truncated)

Commits
  • 3545aac Improved support for nested rules (#991)
  • 5bcdb8b Check for output type agreement during the compile phase (#992)
  • 1f51886 Use bytes interface value for zero native type struct fields instead of dynam...
  • c9164bc Variable and nested rule limits (#989)
  • 5cbef66 Prevent self-append for Issues (#988)
  • 25457de Add nil checking for wrapperspb's types (#960)
  • badfce0 Fix panic in formatting string for non-literal formats (#987)
  • 9e64eb7 Decompose the compile and compose methods (#986)
  • 37d5b96 Add a function to return a policy whose output is the explanation. (#977)
  • bc96f3b Fix math.bitShiftRight for negative int (#983)
  • Additional commits viewable in compare view

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/google/cel-go](https://github.com/google/cel-go) from 0.20.1 to 0.21.0.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.20.1...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner August 5, 2024 04:56
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 5, 2024
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.59%. Comparing base (afbc5e2) to head (f142570).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3999      +/-   ##
==========================================
- Coverage   67.63%   67.59%   -0.05%     
==========================================
  Files         184      184              
  Lines       22546    22546              
==========================================
- Hits        15250    15240      -10     
- Misses       6213     6219       +6     
- Partials     1083     1087       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arkodg arkodg requested review from a team August 5, 2024 22:35
@zirain zirain merged commit 194a7ea into main Aug 6, 2024
22 of 24 checks passed
@zirain zirain deleted the dependabot/go_modules/github.com/google/cel-go-0.21.0 branch August 6, 2024 01:30
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.

3 participants