Skip to content

Bump github.com/google/cel-go from 0.22.0 to 0.25.0 #252

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

Merged
merged 3 commits into from
Apr 25, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps github.com/google/cel-go from 0.22.0 to 0.24.1.

Release notes

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

Release v0.24.1

Fixes

  • Separate unnest optimization from composer to capture type info #1138

Full Changelog: google/cel-go@v0.24.0...v0.24.1

Release v0.24.0

Support for subsetting CEL standard library and serialization of CEL environments to YAML.

CEL is an official Google product #1122

Features

  • Helper methods for subsetting function overloads #1120
  • Introduce cel package aliases for Activation #1123
  • Canonical environment description and stdlib subsetting #1125
  • Support for cel.Env conversion to YAML-serializable config #1128
  • Option to configure CEL via env.Config object #1129
  • Support for feature flags and validators in env.Config #1132
  • Add k8s custom policy tag handler for test #1121

Fixes

  • ContextEval support for Unknowns #1126
  • Fix godoc formatting for Lists and OptionalTypes functions #1127
  • Default enable DefaultUTCTimeZone #1130
  • Support for splitting nested branching operators within policies #1136

New Contributors

Full Changelog: google/cel-go@v0.23.2...v0.24.0

Release v0.24.0-beta

Features

  • Introduce cel package aliases for Activation #1123
  • Canonical environment description and stdlib subsetting #1125
  • Support for cel.Env conversion to YAML-serializable config #1128
  • Option to configure CEL via env.Config object #1129
  • Support for feature flags and validators in env.Config #1132

Fixes

  • ContextEval support for Unknowns #1126
  • Fix godoc formatting for Lists and OptionalTypes functions #1127
  • Default enable DefaultUTCTimeZone #1130

... (truncated)

Commits
  • 3b3a438 Separate unnest optimization from composer to capture type info (#1138)
  • 9855c70 Support for splitting nested branching operators within policies (#1136)
  • fad0c1b Use remote caching for Cloud Build with Bazel (#1134)
  • 45c4980 Support for feature flags and validators in env.Config (#1132)
  • 4b27149 Option to configure CEL via env.Config object (#1129)
  • 4adcf4d Default enable DefaultUTCTimeZone (#1130)
  • af0bf8e Support for cel.Env conversion to YAML-serializable config (#1128)
  • fddae56 Canonical environment description and stdlib subsetting (#1125)
  • b7c14fa Fix godoc formatting (#1127)
  • 9a4b48b ContextEval support for Unknowns (#1126)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2025
@jstudler
Copy link
Contributor

jstudler commented Mar 4, 2025

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from 9c84069 to f9c17e2 Compare March 4, 2025 10:49
@jstudler
Copy link
Contributor

jstudler commented Mar 4, 2025

@henrybear327 do you know exactly what the issue with #218 was?

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from f9c17e2 to 780d363 Compare March 4, 2025 12:16
@henrybear327
Copy link
Collaborator

@dependabot recreate

@henrybear327 henrybear327 force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from 780d363 to 954ffe4 Compare March 10, 2025 14:39
@henrybear327
Copy link
Collaborator

@henrybear327 do you know exactly what the issue with #218 was?

Compilation error stemming from interface refactoring in the kube-api or something like that. I can't quite recall exactly what though.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from 954ffe4 to e9a7a14 Compare March 10, 2025 14:43
@henrybear327
Copy link
Collaborator

@jstudler

#17 [builder 10/10] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager cmd/main.go
#17 98.96 # k8s.io/apiserver/pkg/cel/environment
Error: #17 98.96 /go/pkg/mod/k8s.io/apiserver@v0.32.2/pkg/cel/environment/base.go:176:19: cannot use ext.TwoVarComprehensions (value of type func(options ...ext.TwoVarComprehensionsOption) "github.com/google/cel-go/cel".EnvOption) as func() "github.com/google/cel-go/cel".EnvOption value in argument to UnversionedLib
#17 ERROR: process "/bin/sh -c CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go" did not complete successfully: exit code: 1
------
 > [builder 10/10] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager cmd/main.go:
98.96 # k8s.io/apiserver/pkg/cel/environment
Error: 98.96 /go/pkg/mod/k8s.io/apiserver@v0.32.2/pkg/cel/environment/base.go:176:19: cannot use ext.TwoVarComprehensions (value of type func(options ...ext.TwoVarComprehensionsOption) "github.com/google/cel-go/cel".EnvOption) as func() "github.com/google/cel-go/cel".EnvOption value in argument to UnversionedLib
------
Dockerfile:25
--------------------
  23 |     # the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore,
  24 |     # by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
  25 | >>> RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go
  26 |     
  27 |     # Use distroless as minimal base image to package the manager binary
--------------------
ERROR: failed to solve: process "/bin/sh -c CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go" did not complete successfully: exit code: 1
make: *** [Makefile:136: docker-build-local] Error 1
Error: Process completed with exit code 2.

@henrybear327 henrybear327 force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from e9a7a14 to e5251fa Compare March 25, 2025 09:24
@bruelea bruelea changed the base branch from main to fix/lint-indent-error April 9, 2025 14:09
@bruelea bruelea changed the base branch from fix/lint-indent-error to main April 9, 2025 14:10
@faebr
Copy link
Contributor

faebr commented Apr 23, 2025

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 23, 2025

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@faebr
Copy link
Contributor

faebr commented Apr 23, 2025

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from e5251fa to 3683bd1 Compare April 23, 2025 07:13
@faebr
Copy link
Contributor

faebr commented Apr 23, 2025

@dependabot rebase

Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from 0.22.0 to 0.24.1.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.22.0...v0.24.1)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch from 3683bd1 to d48c4a0 Compare April 23, 2025 12:35
@faebr
Copy link
Contributor

faebr commented Apr 23, 2025

latest main does not have the failing function call anymore: https://github.com/kubernetes/apiserver/blob/master/pkg/cel/environment/base.go#L176

kubernetes/apiserver@69f7857

But a release does not exist yet including this...

@henrybear327
Copy link
Collaborator

Yeah well, we need to keep on waiting I guess, or, we fix the issue upstream (contributing to the open source :D)

@faebr faebr changed the title Bump github.com/google/cel-go from 0.22.0 to 0.24.1 Bump github.com/google/cel-go from 0.22.0 to 0.25.0 Apr 24, 2025
@faebr
Copy link
Contributor

faebr commented Apr 24, 2025

Yeah well, we need to keep on waiting I guess, or, we fix the issue upstream (contributing to the open source :D)

the wait is over! 1.33 is out 🥳

@faebr faebr merged commit 710c61c into main Apr 25, 2025
10 of 14 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/cel-go-0.24.1 branch April 25, 2025 09:14
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.

3 participants