Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/google/cel-go from 0.20.1 to 0.21.0 in the go group (#…
…135) Bumps the go group with 1 update: [github.com/google/cel-go](https://github.com/google/cel-go). Updates `github.com/google/cel-go` from 0.20.1 to 0.21.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.21.0</h2> <h2>Features</h2> <ul> <li>Math extensions update to include bitwise ops and floating point helpers <a href="https://redirect.github.com/google/cel-go/issues/923">#923</a></li> <li>Better support custom types with custom type registries <a href="https://redirect.github.com/google/cel-go/issues/931">#931</a></li> <li>repl: implement %parse <a href="https://redirect.github.com/google/cel-go/issues/933">#933</a></li> <li>Fixed partial variables extended bug and split PartialVarsEnvExtended test into two <a href="https://redirect.github.com/google/cel-go/issues/955">#955</a></li> <li>Added partial evaluations example <a href="https://redirect.github.com/google/cel-go/issues/959">#959</a></li> <li>Enable conformance tests for extensions <a href="https://redirect.github.com/google/cel-go/issues/930">#930</a></li> <li>Update cel-spec and enable optional_type conformance tests <a href="https://redirect.github.com/google/cel-go/issues/919">#919</a></li> <li>Improve token representation in AST <a href="https://redirect.github.com/google/cel-go/issues/932">#932</a></li> <li>Add function accessor to Env <a href="https://redirect.github.com/google/cel-go/issues/978">#978</a></li> </ul> <h3>CEL Policy Compiler</h3> <p>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.</p> <pre lang="yaml"><code>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'])" </code></pre> <ul> <li>Simple Policy Compiler <a href="https://redirect.github.com/google/cel-go/issues/924">#924</a></li> <li>Introduce protobuf message testing to policies <a href="https://redirect.github.com/google/cel-go/issues/961">#961</a></li> <li>Generate policy explanations during compilation <a href="https://redirect.github.com/google/cel-go/issues/977">#977</a></li> <li>Variable and nested rule limits <a href="https://redirect.github.com/google/cel-go/issues/989">#989</a></li> <li>Improved support for nested rules <a href="https://redirect.github.com/google/cel-go/issues/991">#991</a>]</li> </ul> <h2>Fixes</h2> <ul> <li>Delete dangling source info from macro expansion <a href="https://redirect.github.com/google/cel-go/issues/934">#934</a></li> <li>Do not re-use ID twice in <code>exists_one</code> macro <a href="https://redirect.github.com/google/cel-go/issues/935">#935</a></li> <li>Avoid iterating over the source multiple times during parse <a href="https://redirect.github.com/google/cel-go/issues/936">#936</a></li> <li>Fix for working with byte arrays by <a href="https://redirect.github.com/google/cel-go/issues/958">#958</a></li> <li>Stabilize macro id generation during optimization <a href="https://redirect.github.com/google/cel-go/issues/962">#962</a></li> <li>String formatting panic fix for non-literal format strings <a href="https://redirect.github.com/google/cel-go/issues/987">#987</a></li> <li>Add nil checking for wrapperspb's types <a href="https://redirect.github.com/google/cel-go/issues/960">#960</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/cel-go/commit/3545aac7e6d484d3035b1833c4ade036c3f7bacb"><code>3545aac</code></a> Improved support for nested rules (<a href="https://redirect.github.com/google/cel-go/issues/991">#991</a>)</li> <li><a href="https://github.com/google/cel-go/commit/5bcdb8b52c864ca39243a1e31bb94a229f87394a"><code>5bcdb8b</code></a> Check for output type agreement during the compile phase (<a href="https://redirect.github.com/google/cel-go/issues/992">#992</a>)</li> <li><a href="https://github.com/google/cel-go/commit/1f51886b3e44f0868f57f345c791b86015cf5cd6"><code>1f51886</code></a> Use bytes interface value for zero native type struct fields instead of dynam...</li> <li><a href="https://github.com/google/cel-go/commit/c9164bce0933409afe4f340af5e9e22eb2879977"><code>c9164bc</code></a> Variable and nested rule limits (<a href="https://redirect.github.com/google/cel-go/issues/989">#989</a>)</li> <li><a href="https://github.com/google/cel-go/commit/5cbef66be0ac05f0a971456e3fa6df6e4cfd52a0"><code>5cbef66</code></a> Prevent self-append for Issues (<a href="https://redirect.github.com/google/cel-go/issues/988">#988</a>)</li> <li><a href="https://github.com/google/cel-go/commit/25457de41473a8cf0cea4fcdd418e97a8e0728b3"><code>25457de</code></a> Add nil checking for wrapperspb's types (<a href="https://redirect.github.com/google/cel-go/issues/960">#960</a>)</li> <li><a href="https://github.com/google/cel-go/commit/badfce05f4611f29e4e2188269b2038ab6c0d020"><code>badfce0</code></a> Fix panic in formatting string for non-literal formats (<a href="https://redirect.github.com/google/cel-go/issues/987">#987</a>)</li> <li><a href="https://github.com/google/cel-go/commit/9e64eb72233038f32a03aaa21719383c04217e53"><code>9e64eb7</code></a> Decompose the compile and compose methods (<a href="https://redirect.github.com/google/cel-go/issues/986">#986</a>)</li> <li><a href="https://github.com/google/cel-go/commit/37d5b961f5da8ca2a21ccb565af63faaf84ed2fa"><code>37d5b96</code></a> Add a function to return a policy whose output is the explanation. (<a href="https://redirect.github.com/google/cel-go/issues/977">#977</a>)</li> <li><a href="https://github.com/google/cel-go/commit/bc96f3b01f7d80a31f25e6008707117e0a8a1bb9"><code>bc96f3b</code></a> Fix math.bitShiftRight for negative int (<a href="https://redirect.github.com/google/cel-go/issues/983">#983</a>)</li> <li>Additional commits viewable in <a href="https://github.com/google/cel-go/compare/v0.20.1...v0.21.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.20.1&new-version=0.21.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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information