gapic-generator-java
gapic-generator-java copied to clipboard
deps: update dependency dev.cel:cel to v0.9.1-proto3
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| dev.cel:cel | 0.6.0 -> 0.9.1-proto3 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
google/cel-java (dev.cel:cel)
v0.9.1
[!NOTE] If you encounter any compatibility issues with protobuf-java 4.x, use CEL-Java version
0.9.1-proto3as a workaround. This is the same version as CEL-Java 0.9.1 with protobuf dependency pinned to 3.25.5.
What's Changed
- Add support for quoted field selectors in java. in https://github.com/google/cel-java/pull/544
- Add CelOptions for designating Regex program size in https://github.com/google/cel-java/pull/550
Miscellaneous
- Retain the original identifier during parse when quoted identifier is disabled in https://github.com/google/cel-java/pull/547
- Create a separate maven artifact for adapting canonical CEL protos (CelProtoAbstractSyntaxTree,
dev.cel:protobufmaven coordinate) in https://github.com/google/cel-java/pull/551 - Isolate CelAbstractSyntaxTree and CelSource from common build target in https://github.com/google/cel-java/pull/552
Full Changelog: https://github.com/google/cel-java/compare/v0.9.0...v0.9.1
v0.9.0
[!NOTE] If you encounter any compatibility issues with protobuf-java 4.x, use CEL-Java version
0.9.0-proto3as a workaround. This is the same version as CEL-Java 0.9.0 with protobuf dependency pinned to 3.25.5.
Breaking Changes
In an effort to make protobuf an optional dependency in CEL-Java, the following PR changes the resolution of type(expr) from proto based cel.expr type value into native equivalent dev.cel.common.types.CelType:
- Expose CelType as a native representation for runtime type value. in https://github.com/google/cel-java/pull/505
The following PR changes the resolution of unknown values from cel.expr unknown expr value into native equivalent dev.cel.runtime.CelUnknownSet:
- Enable adaptUnknownValueSetToNativeType by default in CelOptions in https://github.com/google/cel-java/pull/490
- Remove adaptUnknownValueSetToNativeType flag from CEL in https://github.com/google/cel-java/pull/496
The following PR removes previously deprecated methods that deal with canonical CEL expr values from CelTypes and CelAbstractSyntaxTree classes. The removed methods have been moved to CelProtoAbstractSyntaxTree and CelProtoTypes:
- Create CelProtoTypes utility class to handle CelExpr in proto format in https://github.com/google/cel-java/pull/524
- Remove deprecated methods in CelTypes in https://github.com/google/cel-java/pull/531
- Remove deprecated CelAbstractSyntaxTree#getProtoResultType in https://github.com/google/cel-java/pull/533
What's Changed
- Add CelStandardDeclaration to allow environment subsetting for type-checker in https://github.com/google/cel-java/pull/448
- Add CelStandardFunctions to allow environment subsetting for the runtime in https://github.com/google/cel-java/pull/461
- Introduce late-bound functions into CEL-Java in https://github.com/google/cel-java/pull/494
- Add option to enable updated accumulator variable. in https://github.com/google/cel-java/pull/538
- Add CelOptions to disable string conversion and list/string concatenation in https://github.com/google/cel-java/pull/506
- Add CelOptions to disable comprehension in https://github.com/google/cel-java/pull/507
Fixes
- Enforce strictness of type function https://github.com/google/cel-java/pull/474
- Fix macro parsing with receiver style args by @oridag in https://github.com/google/cel-java/pull/481
- Use an immutable copy of
DefaultDispatcherto avoid synchronization in https://github.com/google/cel-java/pull/477
Miscellaneous
-
Fix feature_request.md config blocks by @sergiitk in https://github.com/google/cel-java/pull/485
-
Remove unused test_java_proto package in https://github.com/google/cel-java/pull/526
-
Remove reference to CheckedExpr proto in DefaultMetadata in https://github.com/google/cel-java/pull/521
-
Migrate CelAttributeParser away from proto based expr to canonical cel expr in https://github.com/google/cel-java/pull/522
-
Add expr ID set as a field to CelUnknownSet. in https://github.com/google/cel-java/pull/471
-
Add a policy example that compiles then evaluates late bound functions in https://github.com/google/cel-java/pull/497
-
Migrate dev/cel/common/ tests to use proto3 canonical conformance protos follow up will address proto2. in https://github.com/google/cel-java/pull/512
-
Migrate dev/cel/extensions tests to use canonical conformance protos. in https://github.com/google/cel-java/pull/513
-
Remove unnecessary unknown value adaptation in ProtoAdapter in https://github.com/google/cel-java/pull/499
-
Migrate away from deprecated CelTypes methods in https://github.com/google/cel-java/pull/525
-
Remove the legacy createInterpretable(CheckedExpr) in https://github.com/google/cel-java/pull/487
-
Update runtime tests to refer to canonical cel conformance protos. in https://github.com/google/cel-java/pull/510
-
Correctly suppress AutoValueMutable warnings in https://github.com/google/cel-java/pull/475
-
Deprecate enableUnsignedLong option. Remove associated base interpreter tests. in https://github.com/google/cel-java/pull/515
-
Cleanup of unused methods and build targets in https://github.com/google/cel-java/pull/469
-
Move evaluateExpr utility methods to validator and optimizer in https://github.com/google/cel-java/pull/470
-
Update WORKSPACE dependencies in https://github.com/google/cel-java/pull/530
-
Remove references to deprecated type resolvers in the runtime. in https://github.com/google/cel-java/pull/520
-
Remove retainComprehensionStructure flag in SubexpressionOptimizer in https://github.com/google/cel-java/pull/493
New Contributors
- @sergiitk made their first contribution in https://github.com/google/cel-java/pull/485
- @oridag made their first contribution in https://github.com/google/cel-java/pull/481
Full Changelog: https://github.com/google/cel-java/compare/v0.8.0...v0.9.0
v0.8.0
Fixes
- Fix CEL-Java to be fully protobuf v4 compatible in https://github.com/google/cel-java/pull/466
- Ensure empty YAML inputs yield checked exceptions https://github.com/google/cel-java/pull/463
Features
- Add optional.unwrap in https://github.com/google/cel-java/pull/438
Miscellaneous
- Expose CelPolicyValidationException constructors in https://github.com/google/cel-java/pull/450
- Make CelAbstractSyntaxTree and its dependents an AutoValue class to allow for equality checks in https://github.com/google/cel-java/pull/458
- Additional test case and error message refinement in https://github.com/google/cel-java/pull/464
Full Changelog: https://github.com/google/cel-java/compare/v0.7.1...v0.8.0
v0.7.1
[!IMPORTANT] enableUnsignedLongs in CelOptions is now enabled by default as of #410. 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, #434
- Introduce ProtoUnsetFieldOptions to support unset handling like C++ in https://github.com/google/cel-java/pull/403
- Include identity functions in the standard definitions in 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
- Provide an overload to hide all fields on a message with ProtoTypeMask in https://github.com/google/cel-java/pull/415
- Parse explanations in match blocks in https://github.com/google/cel-java/pull/420
- Improved support for nested rules in 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
- Enforce composed AST stays below the configured depth limit in 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
- Add an option to prevent breaking apart a comprehension in CSE in https://github.com/google/cel-java/pull/432
- Enable retainComprehensionStructure by default in https://github.com/google/cel-java/pull/436
- Add unreachable checks in policies in 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
- Add option to specify folding designated custom functions only in 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
- Fix runtime equality behavior for sets extension in 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/418
Miscellaneous Changes
- Upgrade protobuf version to 4.28.0 in 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
- Open source Java conformance tests in 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
- Migrate test_all_types proto over to the cel-spec variant in https://github.com/google/cel-java/pull/433
Full Changelog: https://github.com/google/cel-java/compare/v0.6.0...v0.7.1
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
cel v0.8.0 brings in protobuf-java 4.28.2, do not merge until we decide to upgrade protobuf-java to 4.28.x in sdk-platform-java.