Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
dev.cel:cel 0.10.1 -> 0.11.0 age confidence

Release Notes

google/cel-java (dev.cel:cel)

v0.11.0

Compare Source

Features

Breaking Changes

  • PR #​769 removes setContainer(String) method on the Cel, CelCompiler, and CelChecker builders. Callers must use setContainer(CelContainer) instead, which supports aliasing and abbreviations in addition to existing container resolution. For a migration that preserves existing behavior, simply provide CelContainer.ofName(string).

  • PR #​789 changes the internal representation of CEL's null and bytes literals (e.g., b'foo') to their CEL-native Java type equivalents (dev.cel.common.Values.NullValue and dev.cel.common.values.CelByteString) instead of their Protobuf counterparts (com.google.protobuf.NullValue and com.google.protobuf.ByteString). This is currently a breaking change only if your codebase references these literals through the CelConstant AST node. There are no observable changes in evaluation behavior, as this is currently controlled by a feature flag. We plan on enabling this by default in a future release.

Bug fixes

  • Fixed the filter/map macro to be linear in time and space complexity in #​746.
  • Fixed unknown merging to be linear in space complexity when referenced in binds in #​770.
  • Prevented comprehension identifiers from being mangled if the AST was not optimized in #​792.
  • Fixed replaceSubtree to properly populate source info for the three-argument map macro in #​794.
  • Corrected CelContainer.toBuilder() to properly copy aliases in #​775.
  • Excluded protobuf-javalite from the public artifacts for CEL in #​777.

What's Changed

Aliasing and Abbreviations
  • Add aliasing support to type-checker in #​757
  • Add abbreviation support to type-checker in #​760
CEL Policy Compiler
  • Optimize composed policies using Constant Folding and Common Subexpression Elimination in #​793
  • Add display_name field to CelPolicy.Variable element in #​741
  • Adding description and display name at Cel Policy level in #​744
  • Support for typename import aliases in policy compiler in #​771
CEL Environment
  • Add support for stdlib subsetting via CelEnvironment in #​736
  • Add support for macro inclusion/exclusion to CelEnvironmentExporter in #​756
  • Add support for extension versions in #​739
  • Implement CelEnvironmentExporter in #​753
  • Update the "encoders" extension to be compatible with CelEnvironmentExporter in #​763
  • Update the "protos" extension to be compatible with CelEnvironmentExporter in #​764
  • Update the "regex" extension to be compatible with CelEnvironmentExporter in #​765
  • Update the "sets" extension to be compatible with CelEnvironmentExporter in #​766
  • Update the "strings" extension to be compatible with CelEnvironmentExporter in #​767
  • Update "bindings" extension to be compatible with CelEnvironmentExporter in #​762
  • Add versions to the 'optional' library to gradually expose new functions in #​747
  • Refactor CelExtensionLibrary to centralize version definitions in #​761
Extensions
  • Checker and parser changes to support comprehensionsV2 in #​778
  • Checker and parser changes to support two variable comprehensions for remaining Macros in #​796
  • Introduce 'list' extension functions: 'slice', 'distinct', 'reverse', 'sort', 'sortBy' in #​740
  • AST changes to support two variable comprehensions in #​772
  • Adding runtime support for two variable comprehensions in #​799
  • Adding transformMap and transformMapEntry macros in #​800
  • Updating the README.md with CelComprehensionsExtensions docs in #​801
Miscellaneous
  • Internally accumulate unknowns to a mutable list in #​750
  • Migrate to Bzlmod in #​328
  • Support triggering runner library programmatically in #​725
  • Run conformance tests against published maven JARs in #​788
  • Add missing entries to REVERSE_OPERATORS in #​798
  • Remove cel.bind option from SubexpressionOptimizer in #​795

Full Changelog: google/cel-java@v0.10.1...v0.11.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 is behind base branch, 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.

@renovate renovate bot requested review from a team as code owners September 16, 2025 13:50
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (6fb139f) to head (04584c1).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1603      +/-   ##
============================================
+ Coverage     92.59%   93.16%   +0.57%     
- Complexity      502      506       +4     
============================================
  Files            50       50              
  Lines          1215     1229      +14     
  Branches        106      108       +2     
============================================
+ Hits           1125     1145      +20     
+ Misses           60       54       -6     
  Partials         30       30              
Flag Coverage Δ
unittests 93.16% <ø> (+0.57%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/dev.cel-cel-0.x branch from 7c0f612 to d9e6f52 Compare September 16, 2025 14:45
@renovate renovate bot force-pushed the renovate/dev.cel-cel-0.x branch from d9e6f52 to 04584c1 Compare September 16, 2025 16:08
Copy link

@chrfwow chrfwow merged commit e792221 into main Sep 17, 2025
16 of 17 checks passed
@chrfwow chrfwow deleted the renovate/dev.cel-cel-0.x branch September 17, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants