chore(deps): update googleapis/java-cloud-bom action to v26.51.0 #11286
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.
This PR contains the following updates:
v26.49.0
->v26.51.0
Release Notes
googleapis/java-cloud-bom (googleapis/java-cloud-bom)
v26.51.0
Compare Source
GCP Libraries BOM 26.51.0
Here are the differences from the previous version (26.50.0)
The group ID of the following artifacts is
com.google.cloud
.Notable Changes
google-cloud-bigquery 2.44.0 (prev: 2.43.3)
Enable maxTimeTravelHours in BigQuery java client library (#3555) (bd24fd8)
Update experimental methods documentation to @internalapi (#3552) (20826f1)
google-cloud-bigtable 2.49.0 (prev: 2.46.0)
Add an experimental feature to skip waiting for trailers for unary ops (#2404) (cf58f26)
Add internal "deadline remaining" client side metric #2341 (#2370) (75d4105)
Enable trailer optimization by default (#2421) (7b2c4e4)
Make client side metrics tag in sync with server (#2401) (bba4183)
Add support for table deletion protection (#2430) (687b6df)
google-cloud-firestore 3.30.0 (prev: 3.28.0)
Drop the setTracingEnabled flag from Options (@BetaApi change) (#1869) (712d57e)
Improve error messages in tests (#1855) (cb5f9d6)
Make StreamableQuery#internalStream package-private to avoid documentation and prevent clirr errors (593acc3)
Introduce
java.time
variables and methods (#1935) (6c94910)google-cloud-spanner 6.82.0 (prev: 6.80.1)
Client built in metrics (#3408) (6a36103)
Client built in metrics. Skip export if instance id is null (#3447) (8b2e5ef)
spanner: Avoid blocking thread in AsyncResultSet (#3446) (7c82f1c)
Directpath enabled attribute (#3477) (ea1ebad)
Add option for retrying DML as PDML (#3480) (b545557)
Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest (76ab801)
Shutdown built in metrics meter provider (#3518) (c935e2e)
spanner: GetEdition() is returning null for Instance (#3496) (77cb585)
google-cloud-spanner-jdbc 2.25.0 (prev: 2.24.1)
google-cloud-storage 2.45.0 (prev: 2.44.1)
Adds support for restore token (aef367d)
Adds support for restore token (#2768) (0394354)
Set default values for monitored resource (#2809) (27829a4)
Other libraries
[aiplatform] add a
nfs_mounts
to RaySpec in PersistentResource API (bee5fa4)[aiplatform] add BatchCreateFeatures rpc to feature_registry_service.proto (bee5fa4)
[aiplatform] add BatchCreateFeatures rpc to feature_registry_service.proto (bee5fa4)
[aiplatform] add BYOSA field to tuning_job (bee5fa4)
[aiplatform] add BYOSA field to tuning_job (bee5fa4)
[aiplatform] add code execution tool API (bee5fa4)
[aiplatform] add fast_tryout_enabled to FasterDeploymentConfig message in aiplatform v1beta1 endpoint.proto (bee5fa4)
[aiplatform] add fast_tryout_enabled to FasterDeploymentConfig v1 proto (bee5fa4)
[aiplatform] Add Feature Monitoring API to Feature Store (bee5fa4)
[aiplatform] add StopNotebookRuntime method (bee5fa4)
[aiplatform] add StopNotebookRuntime method (bee5fa4)
[aiplatform] add system labels field to model garden deployments (bee5fa4)
[aiplatform] add system labels field to model garden deployments (bee5fa4)
[aiplatform] add UpdateEndpointLongRunning API in v1beta1 version (bee5fa4)
[aiplatform] added support for specifying function response type in
FunctionDeclaration
(bee5fa4)[aiplatform] COMET added to evaluation service proto (bee5fa4)
[aiplatform] metricX added to evaluation service proto (bee5fa4)
[cloudquotas] A new value
NOT_SUPPORTED
is added to enumIneligibilityReason
(bee5fa4)[compute] Update Compute Engine API to revision
2024101
(#903) (bee5fa4)[compute] Update Compute Engine API to revision
2024110
(#954) (bee5fa4)[contact-center-insights] Add FeedbackLabel resource and APIs (bee5fa4)
[container] add LocalSsdEncryptionMode in NodeConfig (bee5fa4)
[datacatalog] A new field
feature_online_store_spec
is added to message.google.cloud.datacatalog.v1.Entry
(bee5fa4)[dataplex] update Go Datastore import path (bee5fa4)
[deploy] A new field
timed_promote_release_rule
is added to message.google.cloud.deploy.v1.AutomationRule
(bee5fa4)[deploy] added new fields for the Automation Repair rule (bee5fa4)
[dialogflow-cx] add options of client_certificate_settings, bigquery_export_settings, bearer_token_config and boost_control_spec; add support of ALAW encoding (bee5fa4)
[dialogflow-cx] add options of client_certificate_settings, bigquery_export_settings, bearer_token_config and boost_control_spec; add support of ALAW encoding (bee5fa4)
[dialogflow] add options of query_source, search_config, end_user_metadata and exact_search (bee5fa4)
[dialogflow] add options of query_source, search_config, end_user_metadata and exact_search (bee5fa4)
[dialogflow] added support for ALAW encoding (bee5fa4)
[dialogflow] added support for ALAW encoding (bee5fa4)
[discoveryengine] Add GroundedGenerationService API (bee5fa4)
[distributedcloudedge] add storage schema to local control plane config (bee5fa4)
[eventarc-publishing] Publish Eventarc Advanced Publishing API proto, allowing publishing events to a Message Bus (bee5fa4)
[eventarc] Publish Eventarc Advanced protos (bee5fa4)
[gdchardwaremanagement] add DNS address, Kubernetes primary VLAN ID, and provisioning state to the Zone resource (bee5fa4)
[gkehub] Add policycontroller feature to gkehub v1beta API (bee5fa4)
[maps-fleetengine-delivery] new module for maps-fleetengine-delivery (#11310) (2bd0d65)
[maps-fleetengine] new module for maps-fleetengine (#11309) (17abf97)
[maps-places] update attributes in Places API (bee5fa4)
[network-management] add DNS endpoint of Google Kubernetes Engine cluster control plane (bee5fa4)
[network-management] add DNS endpoint of Google Kubernetes Engine cluster control plane (bee5fa4)
[network-management] add round-trip mode (bee5fa4)
[network-management] add round-trip mode (bee5fa4)
[recaptchaenterprise] A new enum
Challenge
is added (bee5fa4)[recaptchaenterprise] support for ListIpOverrides and RemoveIpOverride (bee5fa4)
[run] support advanced configurations options for cloud storage volumes by setting
mount_options
in the GCSVolumeSource configuration (bee5fa4)[securitycenter] make client libraries GA for SCC v2 (bee5fa4)
[texttospeech] add multi-speaker markup, which allows generating dialogue between multiple speakers (bee5fa4)
[translate] Adds Contextual Glossary support for Translation and AdaptiveMt (bee5fa4)
[alloydb] deprecated various PSC instance configuration fields (bee5fa4)
[alloydb] deprecated various PSC instance configuration fields (bee5fa4)
[asset] removes default scopes for some LRO methods (bee5fa4)
official name for java-managedkafka is Managed Service for Apache Kafka API (#11308) (32c071a)
Version Upgrades
Minor Version Upgrades
Patch Version Upgrades
Core Library Dependencies
These client libraries are built with the following Java libraries:
If you encounter compatibility issues with protobuf-java 4.x, please update your codebase and dependencies to ensure compatibility. If this is not feasible, use libraries-bom-protobuf3 as a workaround. libraries-bom-protobuf3 includes the same client libraries and library versions as libraries-bom.
API Reference
You can find the API references of the SDK in Java Cloud Client Libraries
v26.50.0
Compare Source
GCP Libraries BOM 26.50.0
Here are the differences from the previous version (26.49.0)
The group ID of the following artifacts is
com.google.cloud
.Notable Changes
Protobuf-Java v4.28.3
This version of Libraries-Bom is upgrading the Protobuf Java (PBJ) Runtime version to v4.28.3. The Java SDK aims to use the latest Protobuf version to utilize the latest stable features and to mitigate vulnerabilities (CVEs).
Potential PBJ Runtime 4.28.3 Upgrade Issues
There are a few potential compatibility issues that may arise for users following the PBJ Runtime upgrade to v4.28.3. Details about these potential issues are outlined below.
Note: The following issues may not be exhaustive and users may encounter additional issues.
Source Compatibility Issues
PBJ 4.26.x removed some methods from runtime. Users may see source compilation issues when compiling their application. If you do not use any of the following removed methods, you should not see these issues.
Binary Compatibility Issues
PBJ 4.26.x removed a few overloaded methods from runtime. Users may see binary compatibility issues during runtime. If you do not use any of the following Protobuf-Java’s removed methods, you should not see the following issues.
Note: The binary compatibility errors will show as
NoSuchMethodError: {Class}.{Method}
Note: Method parameter is of type GeneratedExtension
See this PR for an example of a fix
Note: Method parameter is of type GeneratedExtension
See this PR for an example of a fix
Note: Method parameter is of type GeneratedExtension
setOptions
inFieldOptions.Builder
. UsesetField()
to replacesetExtension()
See this PR for an example of a fix
Protoc Gen Code Compatibility Issues (Protoc 21.x - 25.x)
This section is for users who have additional protos defined alongside Java client libraries. If users do not define any additional protos, they should not see the following compatibility issue.
Protoc 21.6 and Earlier
Users that have Protoc 21.6 and earlier generated Java files will experience a compilation error from the generated
makeExtensionsImmutable
method. The Java compiler will complain that the method cannot be found:Note: This method was removed in Protobuf-Java v3.21.7+ as part of a disclosed vulnerability.
Resolution: Users will need to regenerate their protos with Protoc 25.x or 27.4+.
Protoc 21.7 - 24.x
Starting with Protoc 21.7, Protobuf no longer generates code that calls
makeExtensionsImmutable
. However, users may experience additional compatibility issues and may need to regenerate their protos with Protoc 25.x or 27.4+.Protoc 25.x
Protos generated with Protoc 25.x should be fully compatible with PBJ Runtime 4.28.3.
ErrorProne Errors
Users with ErrorProne enabled may see an ImpossibleNullComparison error. The Java SDK contained a few legacy null checks on fields from a Protobuf message.
Prior to the upgrade, the SDK contained code similar to:
The code has been updated to:
Resolution: Remove the unnecessary null checks on Protobuf fields.
Deprecation Warnings
Users may see new deprecation warnings from Protobuf-Java when compiling their application. These new warnings may occur for users that use the following classes and methods:
GeneratedMessageV3
Users who interface directly with the
GeneratedMessageV3
class in application code will see this deprecation warning:com.google.protobuf.GeneratedMessageV3 in com.google.protobuf has been deprecated
.Below is an example of code (
CustomClass
is a Protoc generated class from Java-Speech) that will trigger a deprecation warning:Explicitly casting any proto generated class to
GeneratedMessageV3
will cause the Java compiler flagging a deprecation warning.Resolution: Avoid using
GeneratedMessageV3
directly. UseMessage
orAbstractMessage
if a generic Message type is required.includingDefaultValueFields()
Users who have similar code in their application:
Will see this warning:
includingDefaultValueFields() in com.google.protobuf.util.JsonFormat.Printer has been deprecated
.Resolution: Use
JsonFormat.printer().alwaysPrintFieldsWithNoPresence()
instead.How can I upgrade to PBJ Runtime 4.28.3?
This Libraries-Bom version has been updated to use PBJ Runtime v4.28.3. As part of future releases, Libraries-Bom will continue to upgrade to the latest Protobuf Runtime version in the 4.x branch.
Users that do not use the Libraries-Bom will need to manually upgrade to PBJ Runtime 4.28.3. Older versions of client libraries may be generated with older versions of Protoc. To ensure full compatibility with the latest PBJ Runtime version, use the Libraries-Bom v26.28.0+ to manage the client library versions.
FAQ
Why not upgrade with PBJ Runtime v4.
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.
This PR was generated by Mend Renovate. View the repository job log.