-
Notifications
You must be signed in to change notification settings - Fork 21
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
Introduce ProtoUnsetFieldOptions to support unset handling like C++ #403
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copybara-service
bot
force-pushed
the
test_655691980
branch
from
July 24, 2024 21:33
3869e86
to
66de4b4
Compare
PiperOrigin-RevId: 655712342
copybara-service
bot
force-pushed
the
test_655691980
branch
from
July 24, 2024 22:04
66de4b4
to
77d7853
Compare
lqiu96
referenced
this pull request
in googleapis/sdk-platform-java
Sep 3, 2024
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dev.cel:cel](https://github.com/google/cel-java) | `0.6.0` -> `0.7.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>google/cel-java (dev.cel:cel)</summary> ### [`v0.7.1`](https://github.com/google/cel-java/releases/tag/v0.7.1) > \[!IMPORTANT] > [enableUnsignedLongs in CelOptions](https://github.com/google/cel-java/blob/main/common/src/main/java/dev/cel/common/CelOptions.java#L421) is now enabled by default as of [#​410](https://github.com/google/cel-java/commit/78dfcb527526de25e1b5f498bdde6f140c302801). Unsigned integer literals (**uint**) in CEL expressions will now be represented as **com.google.common.primitives.UnsignedLong** instead of **java.lang.Long** when evaluated. If your expressions expose these unsigned integer literals directly or you have custom functions that work with unsigned integers, you may need to explicitly disable this flag and make adjustments to avoid errors. #### Features - Add ListsExtension with flatten function [https://github.com/google/cel-java/pull/427](https://github.com/google/cel-java/pull/427), [#​434](https://github.com/google/cel-java/commit/7398767f80578ae0b23f25d7484dde699b023544) - Introduce ProtoUnsetFieldOptions to support unset handling like C++ in [https://github.com/google/cel-java/pull/403](https://github.com/google/cel-java/pull/403) - Include identity functions in the standard definitions in [https://github.com/google/cel-java/pull/405](https://github.com/google/cel-java/pull/405) - Add string to boolean conversion function in the standard definition in [https://github.com/google/cel-java/pull/407](https://github.com/google/cel-java/pull/407) - Provide an overload to hide all fields on a message with ProtoTypeMask in [https://github.com/google/cel-java/pull/415](https://github.com/google/cel-java/pull/415) - Parse explanations in match blocks in [https://github.com/google/cel-java/pull/420](https://github.com/google/cel-java/pull/420) - Improved support for nested rules in [https://github.com/google/cel-java/pull/422](https://github.com/google/cel-java/pull/422) - Add a validator for enforcing AST depth limit in [https://github.com/google/cel-java/pull/421](https://github.com/google/cel-java/pull/421) - Enforce composed AST stays below the configured depth limit in [https://github.com/google/cel-java/pull/424](https://github.com/google/cel-java/pull/424) - Improve CSE for comprehensions by taking into their nesting level and types into account in [https://github.com/google/cel-java/pull/430](https://github.com/google/cel-java/pull/430) - Add an option to prevent breaking apart a comprehension in CSE in [https://github.com/google/cel-java/pull/432](https://github.com/google/cel-java/pull/432) - Enable retainComprehensionStructure by default in [https://github.com/google/cel-java/pull/436](https://github.com/google/cel-java/pull/436) - Add unreachable checks in policies in [https://github.com/google/cel-java/pull/423](https://github.com/google/cel-java/pull/423) #### Fixes - Do not override the container if it's missing from policy config in [https://github.com/google/cel-java/pull/401](https://github.com/google/cel-java/pull/401) - Add option to specify folding designated custom functions only in [https://github.com/google/cel-java/pull/402](https://github.com/google/cel-java/pull/402) - Fix conditionally nested rules to include its condition in [https://github.com/google/cel-java/pull/404](https://github.com/google/cel-java/pull/404) - Fix runtime equality behavior for sets extension in [https://github.com/google/cel-java/pull/416](https://github.com/google/cel-java/pull/416) - Reduce count of errors joined together during parsing error in [https://github.com/google/cel-java/pull/417](https://github.com/google/cel-java/pull/417) [https://github.com/google/cel-java/pull/418](https://github.com/google/cel-java/pull/418) #### Miscellaneous Changes - Upgrade protobuf version to 4.28.0 in [https://github.com/google/cel-java/pull/439](https://github.com/google/cel-java/pull/439) - Remove unused list/map conversion functions from standard definitions in [https://github.com/google/cel-java/pull/406](https://github.com/google/cel-java/pull/406) - Open source Java conformance tests in [https://github.com/google/cel-java/pull/413](https://github.com/google/cel-java/pull/413) - Change cel_spec repo url to 0.16.0 in WORKSPACE in [https://github.com/google/cel-java/pull/419](https://github.com/google/cel-java/pull/419) - Migrate test_all_types proto over to the cel-spec variant in [https://github.com/google/cel-java/pull/433](https://github.com/google/cel-java/pull/433) **Full Changelog**: google/cel-java@v0.6.0...v0.7.1 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/sdk-platform-java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
ldetmer
referenced
this pull request
in googleapis/sdk-platform-java
Sep 17, 2024
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dev.cel:cel](https://github.com/google/cel-java) | `0.6.0` -> `0.7.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>google/cel-java (dev.cel:cel)</summary> ### [`v0.7.1`](https://github.com/google/cel-java/releases/tag/v0.7.1) > \[!IMPORTANT] > [enableUnsignedLongs in CelOptions](https://github.com/google/cel-java/blob/main/common/src/main/java/dev/cel/common/CelOptions.java#L421) is now enabled by default as of [#​410](https://github.com/google/cel-java/commit/78dfcb527526de25e1b5f498bdde6f140c302801). Unsigned integer literals (**uint**) in CEL expressions will now be represented as **com.google.common.primitives.UnsignedLong** instead of **java.lang.Long** when evaluated. If your expressions expose these unsigned integer literals directly or you have custom functions that work with unsigned integers, you may need to explicitly disable this flag and make adjustments to avoid errors. #### Features - Add ListsExtension with flatten function [https://github.com/google/cel-java/pull/427](https://github.com/google/cel-java/pull/427), [#​434](https://github.com/google/cel-java/commit/7398767f80578ae0b23f25d7484dde699b023544) - Introduce ProtoUnsetFieldOptions to support unset handling like C++ in [https://github.com/google/cel-java/pull/403](https://github.com/google/cel-java/pull/403) - Include identity functions in the standard definitions in [https://github.com/google/cel-java/pull/405](https://github.com/google/cel-java/pull/405) - Add string to boolean conversion function in the standard definition in [https://github.com/google/cel-java/pull/407](https://github.com/google/cel-java/pull/407) - Provide an overload to hide all fields on a message with ProtoTypeMask in [https://github.com/google/cel-java/pull/415](https://github.com/google/cel-java/pull/415) - Parse explanations in match blocks in [https://github.com/google/cel-java/pull/420](https://github.com/google/cel-java/pull/420) - Improved support for nested rules in [https://github.com/google/cel-java/pull/422](https://github.com/google/cel-java/pull/422) - Add a validator for enforcing AST depth limit in [https://github.com/google/cel-java/pull/421](https://github.com/google/cel-java/pull/421) - Enforce composed AST stays below the configured depth limit in [https://github.com/google/cel-java/pull/424](https://github.com/google/cel-java/pull/424) - Improve CSE for comprehensions by taking into their nesting level and types into account in [https://github.com/google/cel-java/pull/430](https://github.com/google/cel-java/pull/430) - Add an option to prevent breaking apart a comprehension in CSE in [https://github.com/google/cel-java/pull/432](https://github.com/google/cel-java/pull/432) - Enable retainComprehensionStructure by default in [https://github.com/google/cel-java/pull/436](https://github.com/google/cel-java/pull/436) - Add unreachable checks in policies in [https://github.com/google/cel-java/pull/423](https://github.com/google/cel-java/pull/423) #### Fixes - Do not override the container if it's missing from policy config in [https://github.com/google/cel-java/pull/401](https://github.com/google/cel-java/pull/401) - Add option to specify folding designated custom functions only in [https://github.com/google/cel-java/pull/402](https://github.com/google/cel-java/pull/402) - Fix conditionally nested rules to include its condition in [https://github.com/google/cel-java/pull/404](https://github.com/google/cel-java/pull/404) - Fix runtime equality behavior for sets extension in [https://github.com/google/cel-java/pull/416](https://github.com/google/cel-java/pull/416) - Reduce count of errors joined together during parsing error in [https://github.com/google/cel-java/pull/417](https://github.com/google/cel-java/pull/417) [https://github.com/google/cel-java/pull/418](https://github.com/google/cel-java/pull/418) #### Miscellaneous Changes - Upgrade protobuf version to 4.28.0 in [https://github.com/google/cel-java/pull/439](https://github.com/google/cel-java/pull/439) - Remove unused list/map conversion functions from standard definitions in [https://github.com/google/cel-java/pull/406](https://github.com/google/cel-java/pull/406) - Open source Java conformance tests in [https://github.com/google/cel-java/pull/413](https://github.com/google/cel-java/pull/413) - Change cel_spec repo url to 0.16.0 in WORKSPACE in [https://github.com/google/cel-java/pull/419](https://github.com/google/cel-java/pull/419) - Migrate test_all_types proto over to the cel-spec variant in [https://github.com/google/cel-java/pull/433](https://github.com/google/cel-java/pull/433) **Full Changelog**: google/cel-java@v0.6.0...v0.7.1 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/sdk-platform-java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce ProtoUnsetFieldOptions to support unset handling like C++