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.16.0 to 0.17.1 #597

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 24, 2023

Bumps github.com/google/cel-go from 0.16.0 to 0.17.1.

Release notes

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

Release v0.17.1

Minor release to address documentation gaps and additional methods to make unknowns more useful

Fixes

  • Helpers for accessing unknown state information #781

Full Changelog: google/cel-go@v0.17.0...v0.17.1

Release v0.17.0

At a high-level this release introduces several changes which should improve ease of use while also improving the evaluation safety and quality:

  • Standard library functions may be extended by using cel.Function options.
  • The unknown type now contains information about which field references were unknown.
  • Type representations have been consolidated to *types.Type.
  • New options have been added to add custom AST validations which are run after type-checking.
  • Additional macros were added for optional types, and a new extension was added for list slicing.
  • The cel.ContextProtoVars method has been added to bind proto fields to variable names, complementing cel.DeclareContextProto.

Features

  • Unify decls.Type with types.Type #745
  • Introduce optFlatMap and OptionalTypes documentation #744
  • Include expression id on parser and checker errors #725
  • Implement errors.Unwrap for types.Err. #728
  • Allow extension of stdlib functions #747
  • Add list library with slice method #753
  • Export FormatCELType in the 'cel' package #763
  • Validators for common literals and use cases #765
  • Comprehension nesting limit validator #769
  • Unify type adapter / provider representations #770
  • Benchmark harness with some initial reference cases #750
  • Simplified partial state evaluation #766
  • Update types.Unknown with attribute trails #776
  • ContextProtoVars() to simplify proto-based inputs #779
  • Variadic logical operator AST support #726

Fixes

  • Add the overload reference for optional field selection #730
  • Correct a typo in the README #731
  • Clear iteration variable data during expression pruning #740
  • Restore iter range pruning on comprehension ASTs #757

Breaking Changes

The following API changes may break users of cel-go:

... (truncated)

Commits
  • e517cf5 Helpers for accessing unknown state information (#781)
  • 15d896d Doc comment updates related to recent API changes (#780)
  • c2302e2 ContextProtoVars() to simplify proto-based inputs (#779)
  • 215c1af Exclusively use types.Provider with native types (#778)
  • bad352c Update types.Unknown with attribute trails (#776)
  • 5045f58 Unify type adapter / provider representations (#770)
  • be7c138 Simplified partial state evaluation (#766)
  • fd31d18 Minor refactor to update the format method name for go lint (#777)
  • 152a561 Benchmark harness with some initial reference cases (#750)
  • 0856c6d Open the ASTValidator API to external authors (#773)
  • 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 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.16.0 to 0.17.1.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.16.0...v0.17.1)

---
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 the dependencies Pull requests that update a dependency file label Jul 24, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #597 (f7caddc) into main (8b38f75) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #597   +/-   ##
=======================================
  Coverage   25.70%   25.70%           
=======================================
  Files          46       46           
  Lines        5699     5699           
=======================================
  Hits         1465     1465           
  Misses       3951     3951           
  Partials      283      283           

Copy link
Contributor

@andresuribe87 andresuribe87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit ae3176c into main Jul 24, 2023
6 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/cel-go-0.17.1 branch July 24, 2023 14:37
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants