Skip to content

Commit

Permalink
Bump github.com/google/cel-go from 0.17.6 to 0.18.0 (#42)
Browse files Browse the repository at this point in the history
Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from
0.17.6 to 0.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/cel-go/releases">github.com/google/cel-go's
releases</a>.</em></p>
<blockquote>
<h2>Release v0.18.0</h2>
<h2>Features</h2>
<p>The latest release of CEL introduces validators (<a
href="https://redirect.github.com/google/cel-go/issues/775">#775</a>)
and optimizers (<a
href="https://redirect.github.com/google/cel-go/issues/804">#804</a>, <a
href="https://redirect.github.com/google/cel-go/issues/827">#827</a>)
and migrates the core CEL internals off of the
protobuf expression and type representations (<a
href="https://redirect.github.com/google/cel-go/issues/789">#789</a>).</p>
<ul>
<li>String format validator <a
href="https://redirect.github.com/google/cel-go/issues/775">#775</a></li>
<li>Create a Function that Reverses a String <a
href="https://redirect.github.com/google/cel-go/issues/796">#796</a></li>
<li>Introduce pre-order / post-order visitor pattern <a
href="https://redirect.github.com/google/cel-go/issues/813">#813</a></li>
<li>Add Libraries() function to Env <a
href="https://redirect.github.com/google/cel-go/issues/822">#822</a></li>
<li>Static optimizer for constant folding <a
href="https://redirect.github.com/google/cel-go/issues/804">#804</a></li>
<li>Inlining optimizer <a
href="https://redirect.github.com/google/cel-go/issues/827">#827</a></li>
<li>FindStructTypeFields support for types.Provider <a
href="https://redirect.github.com/google/cel-go/issues/814">#814</a></li>
</ul>
<h2>Breaking Changes</h2>
<p>The following PR changes the API signature of the
<code>checker.AstNode</code> method <code>Expr</code> to return an
<code>ast.Expr</code>.</p>
<ul>
<li>Migrate the checker.Coster to the ast.Expr <a
href="https://redirect.github.com/google/cel-go/issues/798">#798</a></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Nil safety checks for cel.Ast <a
href="https://redirect.github.com/google/cel-go/issues/784">#784</a></li>
<li>Fix cost estimates to propagate result sizes <a
href="https://redirect.github.com/google/cel-go/issues/787">#787</a></li>
<li>Catch invalid literals created from expression factories <a
href="https://redirect.github.com/google/cel-go/issues/810">#810</a></li>
<li>Ensure stable ordering of overload candidates <a
href="https://redirect.github.com/google/cel-go/issues/817">#817</a></li>
<li>Clarify replace with/by empty string <a
href="https://redirect.github.com/google/cel-go/issues/820">#820</a></li>
<li>Fix functional exemptions for homogeneous literal checks <a
href="https://redirect.github.com/google/cel-go/issues/832">#832</a></li>
<li>Fix logical operator folding that only involve literals <a
href="https://redirect.github.com/google/cel-go/issues/833">#833</a></li>
<li>Upgrade go-genproto to latest <a
href="https://redirect.github.com/google/cel-go/issues/831">#831</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/bboogler"><code>@​bboogler</code></a>
made their first contribution in <a
href="https://redirect.github.com/google/cel-go/pull/796">google/cel-go#796</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/cel-go/compare/v0.17.1...v0.18.0">https://github.com/google/cel-go/compare/v0.17.1...v0.18.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/cel-go/commit/5db3640443d76752fb201c575f0ce06e4c202459"><code>5db3640</code></a>
Inlining optimizer (<a
href="https://redirect.github.com/google/cel-go/issues/827">#827</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/8943046ee066d9fefea77ce856f175a987271925"><code>8943046</code></a>
Upgrade go-genproto to latest (<a
href="https://redirect.github.com/google/cel-go/issues/831">#831</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/4eebcf38782990c8636f14111f75c6b241c505b0"><code>4eebcf3</code></a>
Fix logical operator folding that only involve literals (<a
href="https://redirect.github.com/google/cel-go/issues/833">#833</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/bfccebd9086672bb5cbd18e7ef9c9973cca6eb50"><code>bfccebd</code></a>
Fix functional exemptions for homogeneous literal checks (<a
href="https://redirect.github.com/google/cel-go/issues/832">#832</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/705546a3fd4975d917e972b33596796ef2e739c0"><code>705546a</code></a>
Static optimizer for constant folding (<a
href="https://redirect.github.com/google/cel-go/issues/804">#804</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/509c1d6161f0ae6bbb91cab1e65daeefb0109316"><code>509c1d6</code></a>
Document that string reverse was introduced in version 3 of ext.strings
(<a
href="https://redirect.github.com/google/cel-go/issues/824">#824</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/dd6d31dd8b4d3f220f07d0dd906476f9687a7d79"><code>dd6d31d</code></a>
Fix slice handling in Env.Libraries() (<a
href="https://redirect.github.com/google/cel-go/issues/825">#825</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/8a4595524249653b05082a3ce5b1acb75c448844"><code>8a45955</code></a>
Add Libraries() function to Env (<a
href="https://redirect.github.com/google/cel-go/issues/822">#822</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/78039f1fa0bb190af877ed6fd7aefe7a4074cd18"><code>78039f1</code></a>
Clarify replace with/by empty string (<a
href="https://redirect.github.com/google/cel-go/issues/820">#820</a>)</li>
<li><a
href="https://github.com/google/cel-go/commit/2de99521d8c8d4f5c1aa08ac4b4dbc414578396c"><code>2de9952</code></a>
Ensure stable ordering of overload candidates during dynamic dispatch
(<a
href="https://redirect.github.com/google/cel-go/issues/817">#817</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/cel-go/compare/v0.17.6...v0.18.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/google/cel-go&package-manager=go_modules&previous-version=0.17.6&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Sep 6, 2023
1 parent 66f2853 commit 0915ec1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.18
require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.31.0-20230824200731-b9b8148056b9.1
github.com/envoyproxy/protoc-gen-validate v1.0.2
github.com/google/cel-go v0.17.6
github.com/google/cel-go v0.18.0
github.com/stretchr/testify v1.8.4
google.golang.org/protobuf v1.31.0
)
Expand All @@ -19,8 +19,8 @@ require (
github.com/stoewer/go-strcase v1.3.0 // indirect
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect
golang.org/x/text v0.10.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA=
github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/cel-go v0.17.6 h1:QDvHTIJunIsbgN8yVukx0HGnsqVLSY6xGqo+17IjIyM=
github.com/google/cel-go v0.17.6/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
github.com/google/cel-go v0.18.0 h1:u74MPiEC8mejBrkXqrTWT102g5IFEUjxOngzQIijMzU=
github.com/google/cel-go v0.18.0/go.mod h1:PVAybmSnWkNMUZR/tEWFUiJ1Np4Hz0MHsZJcgC4zln4=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
Expand All @@ -36,10 +36,10 @@ golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnL
golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58=
golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM=
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA=
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44=
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 h1:eSaPbMR4T7WfH9FvABk36NBMacoTUKdWCvV0dx+KfOg=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
Expand Down

0 comments on commit 0915ec1

Please sign in to comment.