-
Notifications
You must be signed in to change notification settings - Fork 69
deps: update upper bound dependencies file #3947
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
deps: update upper bound dependencies file #3947
Conversation
Summary of ChangesHello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request systematically updates a range of core Java dependencies to their latest stable versions. The primary goal is to ensure the project remains current with the ecosystem, benefiting from critical bug fixes, performance enhancements, and new features across various libraries, including Google authentication, gRPC, JSON processing, code quality tools, and OpenTelemetry. This proactive maintenance helps improve overall stability, security, and developer experience. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This PR updates several dependency upper bounds in dependencies.txt. My review focuses on the significant drift this creates between the versions in this file and those specified in the project's pom.xml files. I've added a comment highlighting these inconsistencies and recommending that the pom.xml files be updated to ensure proper compatibility testing, particularly for dev.cel, which has breaking changes in the new version.
| javax.annotation:javax.annotation-api,javax.annotation-api=1.3.2 | ||
| io.grpc:grpc-bom,grpc=1.74.0 | ||
| com.google.auth:google-auth-library-bom,google.auth=1.37.1 | ||
| com.google.auth:google-auth-library-bom,google.auth=1.40.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update, along with others in this file, creates a significant divergence from the versions defined in the project's pom.xml files. While dependencies.txt is meant to track upper bounds, a large drift can complicate maintenance and compatibility testing.
Notable discrepancies include:
google-auth-library-bom:1.40.0here vs.1.39.1ingapic-generator-java-pom-parent/pom.xml.opentelemetry-bom:1.55.0here vs.1.47.0ingapic-generator-java-pom-parent/pom.xml.grpc-gcp:1.7.0here vs.1.6.1injava-shared-dependencies/first-party-dependencies/pom.xml.dev.cel:0.11.0here vs.0.6.0injava-shared-dependencies/third-party-dependencies/pom.xml.
It is recommended to update the pom.xml files to align with these new versions. The update for dev.cel to 0.11.0 is particularly important to address, as this version introduces breaking changes according to its release notes.
|
/gcbrun |
This PR contains the following updates:
2.19.2->2.20.01.37.1->1.40.01.6.1->1.7.02.13.1->2.13.22.41.0->2.42.00.10.1->0.11.00.31.0->0.31.11.34.0->1.37.01.52.0->1.55.05.5->5.5.15.3.4->5.3.6Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
googleapis/google-auth-library-java (com.google.auth:google-auth-library-bom)
v1.40.0Compare Source
Features
Dependencies
v1.39.1Compare Source
Documentation
v1.39.0Compare Source
Features
Bug Fixes
Dependencies
com.google.api:api-commonsdependency (e7d4380)com.google.errorprone:error_prone_annotationsdependency to 2.38.0 (e7d4380)v1.38.0Compare Source
Features
Bug Fixes
Documentation
GoogleCloudPlatform/grpc-gcp-java (com.google.cloud:grpc-gcp)
v1.7.0Compare Source
Features
google/error-prone (com.google.errorprone:error_prone_annotations)
v2.42.0: Error Prone 2.42.0Compare Source
New checks:
ExplicitArrayForVarargs: discourage unnecessary explicit construction of an array to provide varargs.FloggerPerWithoutRateLimit: discourage Flogger'sperUniquewithout rate limitingStringJoin: BanString.join(CharSequence)andString.join(CharSequence, CharSequence)ThreadBuilderNameWithPlaceholder: Do not allow placeholders inThread.Builder.name(String)orname(String, int).Changes:
ASTHelpers.asFlagSethas changed. The previous type wasEnumSet<Flags.Flag>, whereFlags.Flagis an enum in the javac classFlags. A recent JDK change has replaced that enum with a new top-level enum calledFlagsEnum. It is not possible to changeASTHelpers.asFlagSetin a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returnsImmutableSet<String>, where the strings come from thetoString()of the enum constants. That means they are"native","abstract", etc.IO.print[ln]()inSystemOut.Full changelog: google/error-prone@v2.41.0...v2.42.0
google/cel-java (dev.cel:cel)
v0.11.0Compare Source
Features
<list>.all(indexVar, valueVar, <predicate>) -> bool)importskeyword to abbreviate type names.slice,distinct,reverse,sort, andsortBy.Breaking Changes
PR #769 removes
setContainer(String)method on theCel,CelCompiler, andCelCheckerbuilders. Callers must usesetContainer(CelContainer)instead, which supports aliasing and abbreviations in addition to existing container resolution. For a migration that preserves existing behavior, simply provideCelContainer.ofName(string).PR #789 changes the internal representation of CEL's
nullandbytesliterals (e.g.,b'foo') to their CEL-native Java type equivalents (dev.cel.common.Values.NullValueanddev.cel.common.values.CelByteString) instead of their Protobuf counterparts (com.google.protobuf.NullValueandcom.google.protobuf.ByteString). This is currently a breaking change only if your codebase references these literals through theCelConstantAST 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
replaceSubtreeto properly populate source info for the three-argument map macro in #794.CelContainer.toBuilder()to properly copy aliases in #775.What's Changed
Aliasing and Abbreviations
CEL Policy Compiler
CEL Environment
Extensions
transformMapandtransformMapEntrymacros in #800Miscellaneous
Full Changelog: google/cel-java@v0.10.1...v0.11.0
census-instrumentation/opencensus-java (io.opencensus:opencensus-api)
v0.31.1: Release 0.31.1Compare Source
What's Changed
Full Changelog: census-instrumentation/opencensus-java@v0.31.0...v0.31.1
open-telemetry/semantic-conventions-java (io.opentelemetry.semconv:opentelemetry-semconv)
v1.37.0Compare Source
(#288)
v1.36.0Compare Source
Note: there was no v1.35.0 release
(see details).
(#253)
open-telemetry/opentelemetry-java (io.opentelemetry:opentelemetry-bom)
v1.55.0Compare Source
API
Common
(#7160)
Traces
TraceStatekey validation limits to match W3C specification(#7575)
Incubator
ExtendedOpenTelemetryAPI(#7496)
(#7626)
SDK
Traces
Unsafeon Java 23+ to avoid triggering JVM warning message(#7691)
Metrics
setMeterConfigurator()support toMeterProvider(incubating API)(#7346)
Exporters
MeterProviderfor internal metrics(#7541)
InterruptedExceptionfrom managed OkHttp threads(#7565)
okhttp-jvmback tookhttpfor Gradle users,preserving
okhttp-jvmfor Maven users(#7681)
otel_scope_infometric and always add scope labels to data points(#7398)
(#7664)
Profiling
(#7638)
(#7717)
(#7727)
Extensions
(#7336)
Resource(#7639)
(#7654)
(#7693)
Shims
OpenTracing Shim
(#6832)
Project tooling
testJavaVersionproperty when running JMH benchmarks(#7697)
v1.54.1Compare Source
SDK
Exporters
(#7664)
v1.54.0Compare Source
API
Baggage
(#7239)
SDK
Metrics
(#7597)
Exporters
(#7596)
Extensions
(#7622)
(#7472)
(#7475)
Project tooling
(#7590)
v1.53.0Compare Source
SDK
(#7498)
Exporters
okhttpdependency tookhttp-jvm, which fixes missing class failures intransitive dependencies.
(#7517)
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.
BEGIN_COMMIT_OVERRIDE
chore: update upper bound dependencies file
END_COMMIT_OVERRIDE