siyul-park / uniflow

A high-performance, extremely flexible, and easily extensible universal workflow engine.
MIT License
42 stars 5 forks source link

fix(deps): update module github.com/google/cel-go to v0.21.0 - autoclosed #172

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/google/cel-go v0.20.1 -> v0.21.0 age adoption passing confidence

Release Notes

google/cel-go (github.com/google/cel-go) ### [`v0.21.0`](https://togithub.com/google/cel-go/releases/tag/v0.21.0) [Compare Source](https://togithub.com/google/cel-go/compare/v0.20.1...v0.21.0) #### Features - Math extensions update to include bitwise ops and floating point helpers \[[#​923](https://togithub.com/google/cel-go/issues/923)] - Better support custom types with custom type registries \[[#​931](https://togithub.com/google/cel-go/issues/931)] - repl: implement %parse \[[#​933](https://togithub.com/google/cel-go/issues/933)] - Fixed partial variables extended bug and split PartialVarsEnvExtended test into two \[[#​955](https://togithub.com/google/cel-go/issues/955)] - Added partial evaluations example \[[#​959](https://togithub.com/google/cel-go/issues/959)] - Enable conformance tests for extensions \[[#​930](https://togithub.com/google/cel-go/issues/930)] - Update cel-spec and enable optional_type conformance tests \[[#​919](https://togithub.com/google/cel-go/issues/919)] - Improve token representation in AST \[[#​932](https://togithub.com/google/cel-go/issues/932)] - Add function accessor to Env \[[#​978](https://togithub.com/google/cel-go/issues/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. ```yaml 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](https://togithub.com/google/cel-go/issues/924)] - Introduce protobuf message testing to policies \[[#​961](https://togithub.com/google/cel-go/issues/961)] - Generate policy explanations during compilation \[[#​977](https://togithub.com/google/cel-go/issues/977)] - Variable and nested rule limits \[[#​989](https://togithub.com/google/cel-go/issues/989)] - Improved support for nested rules [#​991](https://togithub.com/google/cel-go/issues/991)] #### Fixes - Delete dangling source info from macro expansion \[[#​934](https://togithub.com/google/cel-go/issues/934)] - Do not re-use ID twice in `exists_one` macro \[[#​935](https://togithub.com/google/cel-go/issues/935)] - Avoid iterating over the source multiple times during parse \[[#​936](https://togithub.com/google/cel-go/issues/936)] - Fix for working with byte arrays by \[[#​958](https://togithub.com/google/cel-go/issues/958)] - Stabilize macro id generation during optimization \[[#​962](https://togithub.com/google/cel-go/issues/962)] - String formatting panic fix for non-literal format strings \[[#​987](https://togithub.com/google/cel-go/issues/987)] - Add nil checking for wrapperspb's types \[[#​960](https://togithub.com/google/cel-go/issues/960)] - Prevent self-append for `Issues` \[[#​988](https://togithub.com/google/cel-go/issues/988)] - Use bytes interface value for zero native type struct fields instead of dynamic list \[[#​981](https://togithub.com/google/cel-go/issues/981)] ##### Presence Test Semantics The following two changes identified an issue where presence test was unexpectedly being performed over a scalar type and evaluating to `absent` rather than erroring. It is strongly advised to set the flag `cel.EnableErrorOnBadPresenceTest(true)` to avoid a logical correctness issue. - Fix presence test to produce an error when it's not a map or a message \[[#​922](https://togithub.com/google/cel-go/issues/922)] - Update the presence testing fix to be opt-out \[[#​939](https://togithub.com/google/cel-go/issues/939)] ##### Deprecation Cleanup - Remove the deprecated protobuf function and type declarations \[[#​921](https://togithub.com/google/cel-go/issues/921)] #### New Contributors - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/google/cel-go/pull/911](https://togithub.com/google/cel-go/pull/911) - [@​patrickpichler](https://togithub.com/patrickpichler) made their first contribution in [https://github.com/google/cel-go/pull/941](https://togithub.com/google/cel-go/pull/941) - [@​seirl](https://togithub.com/seirl) made their first contribution in [https://github.com/google/cel-go/pull/948](https://togithub.com/google/cel-go/pull/948) - [@​jduraniglesias](https://togithub.com/jduraniglesias) made their first contribution in [https://github.com/google/cel-go/pull/955](https://togithub.com/google/cel-go/pull/955) - [@​goccy](https://togithub.com/goccy) made their first contribution in [https://github.com/google/cel-go/pull/960](https://togithub.com/google/cel-go/pull/960) **Full Changelog**: https://github.com/google/cel-go/compare/v0.20.1...v0.21.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: ext/go.sum
Command failed: go get -d -t ./...
go: downloading github.com/siyul-park/uniflow v0.8.0
go: downloading github.com/go-faker/faker/v4 v4.4.2
go: downloading github.com/gofrs/uuid v4.4.0+incompatible
go: downloading github.com/stretchr/testify v1.9.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/google/cel-go v0.21.0
go: downloading github.com/dop251/goja v0.0.0-20240707163329-b1681fb2a2f5
go: downloading github.com/evanw/esbuild v0.23.0
go: downloading github.com/iancoleman/strcase v0.3.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/andybalholm/brotli v1.1.0
go: downloading github.com/gorilla/websocket v1.5.3
go: downloading github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
go: downloading github.com/samber/lo v1.46.0
go: downloading github.com/benbjohnson/immutable v0.4.3
go: downloading golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
go: downloading github.com/jmoiron/sqlx v1.4.0
go: downloading github.com/mattn/go-sqlite3 v1.14.22
go: downloading golang.org/x/text v0.16.0
go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/stoewer/go-strcase v1.3.0
go: downloading github.com/dlclark/regexp2 v1.11.2
go: downloading github.com/google/pprof v0.0.0-20240722153945-304e4f0156b8
go: downloading github.com/antlr4-go/antlr/v4 v4.13.1
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240725223205-93522f1f2a9f
go: downloading github.com/go-sourcemap/sourcemap v2.1.4+incompatible
go: downloading golang.org/x/sys v0.22.0
go: github.com/siyul-park/uniflow/ext/pkg/system imports
    github.com/siyul-park/uniflow/pkg/secret: cannot find module providing package github.com/siyul-park/uniflow/pkg/secret
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.06%. Comparing base (bbe42d9) to head (e1e6eef).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #172 +/- ## ========================================== - Coverage 76.09% 76.06% -0.04% ========================================== Files 117 117 Lines 6548 6548 ========================================== - Hits 4983 4981 -2 - Misses 1053 1054 +1 - Partials 512 513 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.