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

chore(deps): bump github.com/google/cel-go from 0.16.0 to 0.17.0 #226

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

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:

  • Removal of *types.TypeValue, replaced by *types.Type
  • Removal of *exprpb.Type from public interfaces such as the checker.AstNode
  • Change in type definition for *types.Unknown. Switch from a type alias for []int64 to a structured type.

New Contributors

... (truncated)

Commits
  • 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)
  • bacc14b Add constant identifier conversion (#774)
  • 6e69fad Address a few documentation and lint fixes (#772)
  • 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.0.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.16.0...v0.17.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 requested a review from Zenithar as a code owner July 19, 2023 16:54
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 19, 2023
@Zenithar Zenithar merged commit c47c09b into main Jul 20, 2023
3 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/cel-go-0.17.0 branch July 20, 2023 12:48
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