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

Bump github.com/google/cel-go from 0.20.1 to 0.21.0 #1219

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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] <[email protected]>
@dependabot dependabot bot added area/dependency Issues or PRs related to dependency changes ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. labels Sep 9, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign yibozhuang for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 9, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 9, 2024
Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for k8s-kwok canceled.

Name Link
🔨 Latest commit 52e1e1e
🔍 Latest deploy log https://app.netlify.com/sites/k8s-kwok/deploys/66defdd2f9465f00085c4498

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 11, 2024

Superseded by #1266.

@dependabot dependabot bot closed this Nov 11, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/cel-go-0.21.0 branch November 11, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependency Issues or PRs related to dependency changes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant