Skip to content

Releases: googleapis/java-cloud-bom

v26.50.0

31 Oct 21:28
23ace8b
Compare
Choose a tag to compare

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.

Removed Method Suggested Alternative
TextFormat.print(...) TextFormat.printer().print(...)
TextFormat.printUnicode(...) TextFormat.printer().escapingNonAscii(false).print(...)
TextFormat.shortDebugString(...) TextFormat.printer().shortDebugString(...)
TextFormat.printToString(...) TextFormat.printer().printToString(...)
TextFormat.printToUnicodeString(...) TextFormat.printer().escapingNonAscii(false).printToString(...)
TextFormat.printField(...) TextFormat.printer().printField(...)
TextFormat.printFieldToString(...) TextFormat.printer().printFieldToString(...)
TextFormat.printUnicodeFieldValue(...) TextFormat.printer().escapingNonAscii(false).printFieldValue(...)
TextFormat.printFieldValue(...) TextFormat.printer().printFieldValue(...)

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}

Removed Method Suggested Fix
DescriptorProtos$FieldOptions.getExtension(GeneratedExtension)

Note: Method parameter is of type GeneratedExtension

Cast the parameter to ExtensionLite
DescriptorProtos$FieldOptions.getExtension((ExtensionLite<?,?>) ...)

See this PR for an example of a fix

DescriptorProtos$FieldOptions.hasExtension(GeneratedExtension)

Note: Method parameter is of type GeneratedExtension

Cast the parameter to ExtensionLite
DescriptorProtos$FieldOptions.hasExtension((ExtensionLite<?,?>) ...)

See this PR for an example of a fix

DescriptorProtos$FieldOptions$Builder.setExtension(GeneratedExtension, …)

Note: Method parameter is of type GeneratedExtension

Use setOptions in FieldOptions.Builder. Use setField() to replace setExtension()
Message.Builder messageBuilder = FieldOptions.newBuilder();
messageBuilder.setField(...);

DescriptorProtos$FieldOptions$Builder.setOptions((FieldOptions) messageBuilder.build());

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:

[ERROR] /home/runner/work/google-cloud-java/google-cloud-java/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java:[137,7] cannot find symbol
[ERROR]   symbol:   method makeExtensionsImmutable()

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:

public Iterable<EchoResponse> extractResources(PagedExpandResponse payload) {
	return payload.getResponsesList() == null
		? ImmutableList.<EchoResponse>of()
		: payload.getResponsesList();
}

The code has been updated to:

public Iterable<EchoResponse> extractResources(PagedExpandResponse payload) {
	return payload.getResponsesList();
}

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
  • JsonFormat.includingDefaultValueFields()
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:

GeneratedMessageV3 messageV3 = CustomClass.newBuilder().build();

Explicitly casting any proto generated class to GeneratedMessageV3 will cause the Java compiler flagging a deprecation warning.

Resolution: Avoid using GeneratedMessageV3 directly. Use Message or AbstractMessage if a generic Message type is required.

includingDefaultValueFields()

Users who have similar code in their application:

JsonFormat.printer().includingDefaultValueFields();

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.26.x?

In early 2024, Protobuf released a new major version (v4.26.0) for Protobuf-Java (PBJ) that was not backwards compatible with v3.25.x. Upgrading to PBJ v4.26.0 required regenerating all protos and releasing a new major version. Additionally, users with their own protos would be forced to either downgrade the runtime version to 3.25.x or regenerate their protos with Protoc 26.x.

Why not upgrade with PBJ Runtime v4.27.4 - v4.28.2?

As of the date of testing, PBJ Runtime 4.28.3 was the latest version of Protobuf released. The Java SDK planned to be updated with the latest version compatible with Protoc 25.x.

Why is only the PBJ Runtime version being updated in this release?

Protoc 26.x’s Protobuf generated messages extend from GeneratedMessage instead of GeneratedMessageV3. Upgrading to use Protoc 26.0 would require regeneration of all proto files and would not be backwards compatible for users on PBJ 3.x.

Upgrading to use Protoc 27.4+ would not be backwards compatible for users on PBJ 3.x. The Java SDK aims to be compatible with both PBJ 3.x and 4.x.

Can I keep my protos generated with Protoc 25.x and still use the latest Google Cloud Java Bom?

Protobuf runtime 4.28.3+ is fully co...

Read more

v26.49.0

15 Oct 15:33
20c0f3a
Compare
Choose a tag to compare

GCP Libraries BOM 26.49.0

Note about gRPC-Java v1.67.1

The Cloud Java SDK now pulls in v1.67.1 of gRPC-Java as part of the version of libraries-bom. This libraries-bom release changes gRPC-Java from v1.68.0 to v1.67.1. This is change is not a real downgrade in version, because the previous 1.67.0 was mistakenly released as 1.68.0. More context in v26.48.0 notes.

Notes

Here are the differences from the previous version (26.48.0)

New Addition

  • com.google.cloud:google-cloud-oracledatabase:0.1.0

The group ID of the following artifacts is com.google.cloud.

Notable Changes

google-cloud-bigtable 2.45.1 (prev: 2.44.1)

  • Add support for Cloud Bigtable Node Scaling Factor for CBT Clusters (caf879c)

  • Support override monitoring endpoint (#2364) (a341eb8)

google-cloud-datastore 2.23.0 (prev: 2.22.0)

  • Support for field update operators in the Datastore API and resolution strategies when there is a conflict at write time (b299266)

google-cloud-firestore 3.27.2 (prev: 3.26.5)

  • Add support for vector search with Query#findNearest (#1827) (4ad463a)

  • Update to Java 11, since runtime doesn't support 8. (#1867) (723c7cc)

google-cloud-spanner 6.79.0 (prev: 6.77.0)

  • Define ReplicaComputeCapacity and AsymmetricAutoscalingOption (f46a6b3)

  • Support DML auto-batching in Connection API (#3386) (a1ce267)

google-cloud-spanner-jdbc 2.23.0 (prev: 2.22.1)

  • Auto_batch_dml connection property (#1787) (8aa0edb)

  • Fixed transaction tagging and reset datafaker version (#1777) (3b117c0)

Other libraries

  • [admanager] Added support for Interactive Reporting (30455f7)

  • [aiplatform] add a dynamic retrieval API (30455f7)

  • [aiplatform] add a dynamic retrieval API (30455f7)

  • [aiplatform] add continuous sync option in feature_view.proto (30455f7)

  • [aiplatform] add enable_secure_private_service_connect in service attachment (30455f7)

  • [aiplatform] add new PscInterfaceConfig field to pipeline_job.proto (30455f7)

  • [aiplatform] add partner_model_tuning_spec to TuningJob (30455f7)

  • [aiplatform] add psc_automation_configs to DeployIndex v1 (30455f7)

  • [bigquerydatatransfer]Add scheduleOptionsV2 and Error fields for TransferConfig (30455f7)

  • [channel] Add support for primary_admin_email as customer_identity for ImportCustomer (30455f7)

  • [chat] Add doc for permission settings & announcement space support (30455f7)

  • [cloudcommerceconsumerprocurement] add Order modification RPCs and License Management Service (30455f7)

  • [contact-center-insights] Add import / export IssueModel (30455f7)

  • [deploy] added support for deploy policies (30455f7)

  • [documentai] remove deprecated v1beta1 and v1beta2 (#11228) (5876f54)

  • [marketingplatformadminapi] new module for marketingplatformadminapi (#11225) (c2d44dc)

  • [oracledatabase] new module for oracledatabase (#11224) (1c83c78)

  • [retail] add conversational search (9d60986)

  • [retail] add conversational search (9d60986)

  • [retail] add conversational search (9d60986)

  • [shopping-merchant-accounts] add 'force' parameter for accounts.delete method (30455f7)

  • [shopping-merchant-datasources] adding some more information about supplemental data sources (30455f7)

  • [aiplatform] annotate PipelineJob and PipelineTaskRerunConfig fields as optional (30455f7)

  • [backupdr] Remove visibility of unneeded TestIamPermissions RPC (30455f7)

Version Upgrades

Major Version Upgrades

Read more

v26.48.0

03 Oct 13:58
9474cbb
Compare
Choose a tag to compare

GCP Libraries BOM 26.48.0

Note about gRPC-Java v1.68.0

gRPC-Java v1.67.0 was mistakenly released as v1.68.0. See this Github issue for more info.

The Cloud Java SDK pulls in v1.68.0 of gRPC-Java as part of the version of libraries-bom. The following libraries-bom release will "upgrade" to use gRPC-Java v1.67.1. This is not an upgrade per SemVer, but it does contains all the functionally from v1.68.0. Customers should not experience any issues with the code as it is a superset of v1.68.0.

Note about Orphaned Classes Breaking Change

Note: This impacts the bigquerydatatransfer, monitoring, and speech modules. Change was introduced in this PR.

Prior to this release, the Java SDK had a few modules containing Proto generated classes that have not been updated. A few Proto generated classes were out of sync with the server definition and are no longer being used. These legacy Proto classes are called “orphaned proto classes”.

In this release, the Java SDK regenerated these modules with the latest proto definitions with the latest Protoc version in the 25.x branch (Protoc v25.5). As part of this change, the Java SDK removed these orphaned classes from these modules. If your application was using these removed orphaned classes, you may experience compilation issues.

Resolution: Remove references to the orphaned classes

Notes

Here are the differences from the previous version (26.47.0)

The group ID of the following artifacts is com.google.cloud.

Notable Changes

google-cloud-datastore 2.22.0 (prev: 2.21.3)

  • Add sample code for multiple inequalities indexing consideration query (#1579) (1286792)

  • Introducing Tracing with OpenTelemetry API #1537 (#1576) (5440c22)

  • Update opentelemetry-sdk dependency to be test-only (#1595) (9d719e8)

  • Update opentelemetry.version to 1.42.1 to match the BOM version (#1598) (23c5c26)

google-cloud-spanner 6.77.0 (prev: 6.74.1)

  • Add opt-in flag and ClientInterceptor to propagate trace context for Spanner end to end tracing (#3162) (0b7fdaf)

  • Add samples for backup schedule feature APIs. (#3339) (8cd5163)

  • Add INTERVAL API (c078ac3)

Other libraries

Version Upgrades

Major Version Upgrades

  • google-cloud-appengine-admin:0.2.0 (prev:2.49.0; Release Notes: )
  • google-iam-admin:0.2.0 (prev:3.44.0; Release Notes: )

Note that these two updates are unintentional and we've fixed this issue in the next release.

Minor Version Upgrades

  • google-cloud-apigee-registry:0.51.0 (prev:0.49.0; Release Notes: v0.51.0)
  • google-cloud-video-intelligence:2.50.0 (prev:2.48.0; Release Notes: v2.50.0)
  • google-cloud-assured-workloads:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-speech:4.46.0 (prev:4.44.0; Release Notes: v4.46.0)
  • google-cloud-eventarc-publishing:0.51.0 (prev:0.49.0; Release Notes: v0.51.0)
  • google-cloud-workstations:0.39.0 (prev:0.37.0; Release Notes: v0.39.0)
  • google-cloud-alloydb-connectors:0.29.0 (prev:0.27.0; Release Notes: v0.29.0)
  • google-cloud-network-security:0.54.0 (prev:0.52.0; Release Notes: v0.54.0)
  • google-cloud-bare-metal-solution:0.51.0 (prev:0.49.0; Release Notes: v0.51.0)
  • google-cloud-chat:0.15.0 (prev:0.13.0; Release Notes: v0.15.0)
  • google-cloud-domains:1.48.0 (prev:1.46.0; Release Notes: v1.48.0)
  • google-cloud-advisorynotifications:0.40.0 (prev:0.38.0; Release Notes: v0.40.0)
  • google-cloud-recommendations-ai:0.58.0 (prev:0.56.0; Release Notes: v0.58.0)
  • google-cloud-gke-multi-cloud:0.50.0 (prev:0.48.0; Release Notes: v0.50.0)
  • google-cloud-accessapproval:2.52.0 (prev:2.50.0; Release Notes: v2.52.0)
  • google-cloud-service-management:3.49.0 (prev:3.47.0; Release Notes: v3.49.0)
  • google-cloud-contact-center-insights:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-shell:2.50.0 (prev:2.48.0; Release Notes: v2.50.0)
  • google-cloud-policy-troubleshooter:1.50.0 (prev:1.48.0; Release Notes: v1.50.0)
  • google-cloud-translate:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-recommender:2.53.0 (prev:2.51.0; Release Notes: v2.53.0)
  • google-cloud-privilegedaccessmanager:0.5.0 (prev:0.3.0; Release Notes: v0.5.0)
  • google-cloud-compute:1.61.0 (prev:1.59.0; Release Notes: v1.61.0)
  • google-cloud-datacatalog:1.57.0 (prev:1.55.0; Release Notes: v1.57.0)
  • google-cloud-automl:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-binary-authorization:1.50.0 (prev:1.48.0; Release Notes: v1.50.0)
  • google-cloud-vpcaccess:2.52.0 (prev:2.50.0; Release Notes: v2.52.0)
  • google-cloud-language:2.52.0 (prev:2.50.0; Release Notes: v2.52.0)
  • google-cloud-publicca:0.48.0 (prev:0.46.0; Release Notes: v0.48.0)
  • google-cloud-biglake:0.39.0 (prev:0.37.0; Release Notes: v0.39.0)
  • google-cloud-api-gateway:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-run:0.51.0 (prev:0.49.0; Release Notes: v0.51.0)
  • google-cloud-service-usage:2.51.0 (prev:2.49.0; Release Notes: v2.51.0)
  • google-cloud-dataflow:0.55.0 (prev:0.53.0; Release Notes: v0.55.0)
  • google-cloud-connectgateway:0.3.0 (prev:0.1.0; Release Notes: v0.3.0)
  • google-cloud-securesourcemanager:0.21.0 (prev:0.19.0; Release Notes: v0.21.0)
  • google-cloud-vertexai:1.11.0 (prev:1.9.0; Release Notes: v1.11.0)
  • google-cloud-contentwarehouse:0.47.0 (prev:0.45.0; Release Notes: v0.47.0)
  • google-cloud-vision:3.49.0 (prev:3.47.0; Release Notes: v3.49.0)
  • google-cloud-apphub:0.15.0 (prev:0.13.0; Release Notes: v0.15.0)
  • google-cloud-storageinsights:0.36.0 (prev:0.34.0; Release Notes: v0.36.0)
  • google-cloud-pubsub:1.133.0 (prev:1.132.2; Release Notes: v1.132.3, v1.132.4, [v1.133.0](https://github.com/go...
Read more

v26.47.0

18 Sep 23:16
2dc6332
Compare
Choose a tag to compare

GCP Libraries BOM 26.47.0

Here are the differences from the previous version (26.46.0)

The group ID of the following artifacts is com.google.cloud.

Notable Changes

Other libraries

  • [aiplatform] add max_wait_duration to Scheduling (7f98418)
  • [aiplatform] add max_wait_duration to Scheduling (7f98418)
  • [alloydb] support for enabling outbound public IP on an instance (8759972)
  • [connectgateway] new module for connectgateway (#11106) (0ad33c1)
  • [container] add ReleaseChannel EXTENDED value (7f98418)
  • [marketingplatformadminapi] new module for marketingplatformadminapi (#11133) (466ae72)
  • [recaptchaenterprise] add AssessmentEnvironment for CreateAssessement to explicitly describe the environment of the assessment (7f98418)
  • [vertexai] add util class SchemaMaker to create Schema from JsonString or JsonObject (#11118) (22f9fe3)
  • [vertexai] update gapic library to the latest version (#11129) (711cd72)
  • [visionai] request client libraries for new languages (8759972)

Version Upgrades

Patch Version Upgrades

  • google-cloud-firestore:3.26.3 (prev:3.26.2; Release Notes: v3.26.3)
  • google-cloud-firestore-admin:3.26.3 (prev:3.26.2; Release Notes: v3.26.3)

Core Library Dependencies

These client libraries are built with the following Java libraries:

  • Guava: 33.3.0-jre
  • Protobuf Java: 3.25.4
  • Google Auth Library: 1.25.0
  • Google API Client: 2.7.0
  • gRPC: 1.66.0
  • GAX: 2.53.0
  • Google Cloud Core: 2.43.0

API Reference

You can find the API references of the SDK in Java Cloud Client Libraries

v26.46.0

17 Sep 20:01
857e0c1
Compare
Choose a tag to compare

GCP Libraries BOM 26.46.0

Here are the differences from the previous version (26.45.0)

New Addition

  • com.google.cloud:google-cloud-connectgateway:0.1.0

The group ID of the following artifacts is com.google.cloud.

Notable Changes

google-cloud-bigtable 2.44.0 (prev: 2.43.0)

google-cloud-firestore 3.26.2 (prev: 3.25.1)

  • BREAKING CHANGE: this version no longer supports Java versions less than 17

  • Add additional Firestore query snippets (#1790) (4099e5b)

  • Record serialization/deserialization (#1706) (f5613b4)

google-cloud-spanner-jdbc 2.22.0 (prev: 2.21.0)

  • Update DatabaseMetaData to include named schemas (#1733) (b162e2a)

google-cloud-storage 2.43.0 (prev: 2.42.0)

  • Allow specifying an expected object size for resumable operations. (#2661) (3405611), closes #2511

  • Close pending zero-copy responses when Storage#close is called (#2696) (1855308)

  • Github workflow vulnerable to script injection (#2663) (9151ac2)

  • Make ParallelCompositeUploadBlobWriteSessionConfig.ExecutorSupplier#cachedPool a singleton (#2691) (1494809)

Other libraries

  • [aiplatform] add max_wait_duration to Scheduling (7f98418)
  • [aiplatform] add max_wait_duration to Scheduling (7f98418)
  • [alloydb] support for enabling outbound public IP on an instance (8759972)
  • [connectgateway] new module for connectgateway (#11106) (0ad33c1)
  • [container] add ReleaseChannel EXTENDED value (7f98418)
  • [marketingplatformadminapi] new module for marketingplatformadminapi (#11133) (466ae72)
  • [recaptchaenterprise] add AssessmentEnvironment for CreateAssessement to explicitly describe the environment of the assessment (7f98418)
  • [vertexai] add util class SchemaMaker to create Schema from JsonString or JsonObject (#11118) (22f9fe3)
  • [vertexai] update gapic library to the latest version (#11129) (711cd72)
  • [visionai] request client libraries for new languages (8759972)

Version Upgrades

Minor Version Upgrades

  • google-cloud-apigee-registry:0.49.0 (prev:0.48.0; Release Notes: v0.49.0)
  • google-cloud-video-intelligence:2.48.0 (prev:2.47.0; Release Notes: v2.48.0)
  • google-cloud-assured-workloads:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-speech:4.44.0 (prev:4.43.0; Release Notes: v4.44.0)
  • google-cloud-eventarc-publishing:0.49.0 (prev:0.48.0; Release Notes: v0.49.0)
  • google-cloud-workstations:0.37.0 (prev:0.36.0; Release Notes: v0.37.0)
  • google-cloud-alloydb-connectors:0.27.0 (prev:0.26.0; Release Notes: v0.27.0)
  • google-cloud-network-security:0.52.0 (prev:0.51.0; Release Notes: v0.52.0)
  • google-cloud-bare-metal-solution:0.49.0 (prev:0.48.0; Release Notes: v0.49.0)
  • google-cloud-chat:0.13.0 (prev:0.12.0; Release Notes: v0.13.0)
  • google-cloud-domains:1.46.0 (prev:1.45.0; Release Notes: v1.46.0)
  • google-cloud-advisorynotifications:0.38.0 (prev:0.37.0; Release Notes: v0.38.0)
  • google-cloud-recommendations-ai:0.56.0 (prev:0.55.0; Release Notes: v0.56.0)
  • google-cloud-gke-multi-cloud:0.48.0 (prev:0.47.0; Release Notes: v0.48.0)
  • google-cloud-accessapproval:2.50.0 (prev:2.49.0; Release Notes: v2.50.0)
  • google-cloud-service-management:3.47.0 (prev:3.46.0; Release Notes: v3.47.0)
  • google-cloud-contact-center-insights:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-shell:2.48.0 (prev:2.47.0; Release Notes: v2.48.0)
  • google-cloud-policy-troubleshooter:1.48.0 (prev:1.47.0; Release Notes: v1.48.0)
  • google-cloud-translate:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-recommender:2.51.0 (prev:2.50.0; Release Notes: v2.51.0)
  • google-cloud-privilegedaccessmanager:0.3.0 (prev:0.2.0; Release Notes: v0.3.0)
  • google-cloud-compute:1.59.0 (prev:1.58.0; Release Notes: v1.59.0)
  • google-cloud-bigtable-emulator-core:0.181.0 (prev:0.180.0; Release Notes: v0.181.0)
  • google-cloud-datacatalog:1.55.0 (prev:1.54.0; Release Notes: v1.55.0)
  • google-cloud-automl:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-binary-authorization:1.48.0 (prev:1.47.0; Release Notes: v1.48.0)
  • google-cloud-vpcaccess:2.50.0 (prev:2.49.0; Release Notes: v2.50.0)
  • google-cloud-language:2.50.0 (prev:2.49.0; Release Notes: v2.50.0)
  • google-cloud-publicca:0.46.0 (prev:0.45.0; Release Notes: v0.46.0)
  • google-cloud-biglake:0.37.0 (prev:0.36.0; Release Notes: v0.37.0)
  • google-cloud-api-gateway:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-run:0.49.0 (prev:0.48.0; Release Notes: v0.49.0)
  • google-cloud-service-usage:2.49.0 (prev:2.48.0; Release Notes: v2.49.0)
  • google-cloud-dataflow:0.53.0 (prev:0.52.0; Release Notes: v0.53.0)
  • google-cloud-securesourcemanager:0.19.0 (prev:0.18.0; Releas...
Read more

v26.45.0

27 Aug 22:02
17edbb5
Compare
Choose a tag to compare

GCP Libraries BOM 26.45.0

Here are the differences from the previous version (26.44.0)

New Addition

  • com.google.cloud:google-cloud-apihub:0.1.0

The group ID of the following artifacts is com.google.cloud.

Known Issues

google-cloud-nio incompatible with GraalVM for JDK 21

There is a known issue in GraalVM which results in build time errors when using FileSystemProviders. While the workaround to use -H:-AddAllFileSystemProviders works on GraalVM for JDK 21 when using user credentials , you may observe permission issues at runtime if your application relies on reading service account credentials. See googleapis/java-storage-nio#1463 for more details on this issue.

Notable Changes

GraalVM for JDK 21

All libraries managed by this BOM except for com.google.cloud:google-cloud-nio are now compatible with GraalVM for JDK 21.

google-cloud-bigquerystorage 3.9.0 (prev: 3.8.0)

  • Github workflow vulnerable to script injection (#2600) (9ce25b6)

  • RequestProfilerTest.java regex in deep-preserve list (#2589) (e62ac66)

  • V1alpha client generation (#2615) (061691c)

google-cloud-bigtable 2.43.0 (prev: 2.42.0)

  • Add fields and the BackupType proto for Hot Backups (#2300) (acaa3ff)

  • Allow non default service account in DirectPath (#2312) (09d0f23)

  • bigtable: Remove deprecated Bytes from BigEndianBytesEncoding (#2309) (32f244f)

  • Enable hermetic library generation (#2234) (169aea5)

  • Add missing call to EqualsTester#testEquals (#2307) (8b49f9c)

google-cloud-spanner 6.74.0 (prev: 6.72.0)

  • Add option for cancelling queries when closing client (#3276) (95da1ed)

  • Github workflow vulnerable to script injection (#3232) (599255c)

  • Make DecodeMode.DIRECT the deafult (#3280) (f31a95a)

  • Synchronize lazy ResultSet decoding (#3267) (4219cf8)

  • spanner: Add edition field to the instance proto (6b7e6ca)

google-cloud-spanner-jdbc 2.21.0 (prev: 2.20.2)

  • Add Quickperf for simple performance testing with JDBC (#1619) (b6bbd8f)

google-cloud-storage 2.42.0 (prev: 2.41.0)

  • Enable grpc.lb.locality label for client-side metrics (#2659) (b681ee0)

  • Update modified field handling for blob and bucket with json transport to properly clear fields (#2664) (e2f5537), closes #2662

Other libraries

  • [aiplatform] A new field satisfies_pzs is added to message .google.cloud.aiplatform.v1.BatchPredictionJob (21cf7c6)
  • [aiplatform] A new message RoutingConfig is added (21cf7c6)
  • [aiplatform] add evaluation service proto to v1 (21cf7c6)
  • [aiplatform] add pointwise and pairwise metrics to evaluation service (21cf7c6)
  • [aiplatform] add reservation affinity proto (21cf7c6)
  • [aiplatform] add reservation affinity proto (21cf7c6)
  • [aiplatform] Allow v1 api calls for some dataset_service, llm_utility_service, and prediction_service apis without project and location (21cf7c6)
  • [aiplatform] Allow v1beta1 api calls for some dataset_service, llm_utility_service, and prediction_service apis without project and location (21cf7c6)
  • [aiplatform] release advanced parsing options for rag files (21cf7c6)
  • [analytics-admin] add GetKeyEvent, CreateKeyEvent, ListKeyEvents, UpdateKeyEvent, and DeleteKeyEvent methods (21cf7c6)
  • [analytics-data] add the comparisons field to the Metadata resource (21cf7c6)
  • [apihub] new module for apihub (#11089) (4b97769)
  • [batch] add block_project_ssh_keys field to the v1alpha job API to block project level ssh keys access to Batch created VMs (21cf7c6)
  • [dialogflow] Add Proactive Generative Knowledge Assist endpoints and types (21cf7c6)
  • [dialogflow] Add Proactive Generative Knowledge Assist endpoints and types (21cf7c6)
  • [discoveryengine] support natural language understanding in search (21cf7c6)
  • [dlp] add the TagResources API (21cf7c6)
  • [dlp] inspect template modified cadence discovery config for Cloud SQL (21cf7c6)
  • [document-ai] A new field imageless_mode is added to message .google.cloud.documentai.v1.ProcessRequest (21cf7c6)
  • [document-ai] A new field imageless_mode is added to message .google.cloud.documentai.v1.ProcessRequest (4aae553)
  • [functions] Added build_service_account field to CloudFunction (21cf7c6)
  • [functions] optional field for specifying a service account to use for the build. This helps navigate the change of historical default on new projects. For more details, see https://cloud.google.com/build/docs/cloud-build-service-account-updates (21cf7c6)
  • [functions] optional field for specifying a service account to use for the build. This helps navigate the change of historical default on new projects. For more details, see https://cloud.google.com/build/docs/cloud-build-service-account-updates (21cf7c6)
  • [gke-connect-gateway] removed the nonfunctional GatewayService and replaced it with the GatewayControl service ([acba70b](https://github.com/googleapis/google-c...
Read more

v26.44.0

09 Aug 01:56
5b88c23
Compare
Choose a tag to compare

GCP Libraries BOM 26.44.0

Known Issues

Regression in Native-image support

Due to a known graalvm issue with FileSystemProviders, you may see the following built-time error in google-cloud-nio when performing native image compilation:

Error: No instances of jdk.internal.misc.InnocuousThread are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=jdk.internal.misc.InnocuousThread.

or

Error: No instances of jdk.internal.misc.InnocuousThread are allowed in the image heap as this class should be initialized at image runtime. Object has been initialized by the com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider class initializer with a trace: 

when run with --trace-object-instantiation=jdk.internal.misc.InnocuousThread.

Workaround

Adding the flag -H:-AddAllFileSystemProviders and using GraalVM 21 results in a successful build.

Here are the differences from the previous version (26.43.0)

New Addition

  • com.google.cloud:google-cloud-privilegedaccessmanager:0.1.0

The group ID of the following artifacts is com.google.cloud.

Notable Changes

google-cloud-bigquery 2.42.0 (prev: 2.41.0)

  • Add ability to specify RetryOptions and BigQueryRetryConfig when create job and waitFor (#3398) (1f91ae7)

  • Add additional parameters to CsvOptions and ParquetOptions (#3370) (34f16fb)

  • Add remaining Statement Types (#3381) (5f39b19)

  • Null field mode inconsistency (#2863) (b9e96e3)

google-cloud-bigquerystorage 3.8.0 (prev: 3.6.1)

  • Add profiler for request execution details for write api connection worker (#2555) (5691bd5)

  • Enable hermetic library generation (#2515) (e1b14c1)

  • Wire and expose profiler api to the StreamWirter/JsonStreamWriter (#2561) (16f19dd)

  • Correct hermetic library generation script path (#2545) (55cc139)

  • Remove singleton access to request profiler. Use instance of hook instead. (#2567) (2f45fa2)

  • Using context from call in ReadRowsRetryingCallable (#2560) (eeb19b7)

  • Add opentelemetry counters for sent and acked messages (#2532) (2fc5c55)

  • Add RequestProfile classes to deep-preserve list (#2574) (2141f89)

google-cloud-bigtable 2.42.0 (prev: 2.40.0)

  • Add MergeToCell to Mutation APIs (#2279) (0ce8a2a)

  • Add support for MergeToCell API (#2258) (191d15c)

  • Add support for new functions (#2287) (dd6583a)

  • Create new environment variable to toggle directpath scoped to cloud bigtable. (#2261) (9062944)

  • Implement ExecuteQuery API for SQL support (#2280) (25218e8)

  • Support float32, float64, and array type query params (#2297) (a65640e)

  • Adapt toString tests to introduction of java.time in gax (93f66a7)

google-cloud-firestore 3.24.3 (prev: 3.22.0)

google-cloud-logging 3.20.0 (prev: 3.19.0)

google-cloud-pubsub 1.132.0 (prev: 1.131.0)

google-cloud-pubsublite 1.14.0 (prev: 1.13.8)

google-cloud-spanner 6.72.0 (prev: 6.71.0)

  • Add RESOURCE_EXHAUSTED to the list of retryable error codes (e859b29)

  • Add field order_by in spanner.proto (e859b29)

  • Add QueryCancellationAction message in executor protos (e859b29)

  • Add SessionPoolOptions, SpannerOptions protos in executor protos (e859b29)

  • Add support for multi region encryption config (e859b29)

  • Enable hermetic library generation (#3129) (94b2a86)

  • spanner: Add samples for instance partitions (#3221) (bc48bf2)

  • spanner: Add support for Cloud Spanner Scheduled Backups (e859b29)

  • spanner: Adding EXPECTED_FULFILLMENT_PERIOD to the indicate instance creation times (with FULFILLMENT_PERIOD_NORMAL or FULFILLMENT_PERIOD_EXTENDED ENUM) with the extended instance creation time triggered by On-Demand Capacity Feature (e859b29)

  • spanner: Set manual affinity incase of gRPC-GCP extenstion (#3215) (86b306a)

  • Support Read RPC OrderBy (#3180) (735bca5)

  • Make sure commitAsync always finishes (#3216) (440c88b)

  • SessionPoolOptions.Builder#toBuilder() skipped useMultiplexedSessions (#3197) (027f92c)

google-cloud-storage 2.41.0 (prev: 2.40.1)

Read more

v26.43.0

08 Jul 15:50
8ee9baa
Compare
Choose a tag to compare

GCP Libraries BOM 26.43.0

Here are the differences from the previous version (26.42.0)

New Addition

  • com.google.cloud:google-cloud-gdchardwaremanagement:0.1.0

The group ID of the following artifacts is com.google.cloud.

Notable Changes

google-cloud-bigquery 2.41.0 (prev: 2.40.3)

  • Add columnNameCharacterMap to LoadJobConfiguration (#3356) (2f3cbe3)

  • Add MetadataCacheMode to ExternalTableDefinition (#3351) (2814dc4)

  • Add clustering value to ListTables result (#3359) (5d52bc9)

google-cloud-bigtable 2.40.0 (prev: 2.39.5)

google-cloud-firestore 3.22.0 (prev: 3.21.4)

google-cloud-logging 3.19.0 (prev: 3.18.0)

  • logging: OpenTelemetry trace/span ID integration for Java logging library (#1596) (67db829)

google-cloud-pubsub 1.131.0 (prev: 1.130.0)

  • Add use_topic_schema for Cloud Storage Subscriptions (#2082) (11d67d4)

google-cloud-spanner 6.71.0 (prev: 6.69.0)

google-cloud-spanner-jdbc 2.20.1 (prev: 2.19.3)

Other libraries

  • [aiplatform] add enum value MALFORMED_FUNCTION_CALL to .google.cloud.aiplatform.v1beta1.content.Candidate.FinishReason (666a3ac)

  • [aiplatform] add MALFORMED_FUNCTION_CALL to FinishReason (666a3ac)

  • [batch] add a install_ops_agent field to InstancePolicyOrTemplate for Ops Agent support (564c369)

  • [container] A new message HugepagesConfig is added (4be1db5)

  • [container] A new method_signature parent is added to method ListOperations in service ClusterManager (4be1db5)

  • [dataplex] exposing EntrySource.location field that contains location of a resource in the source system (666a3ac)

  • [dataproc] add the cohort and auto tuning configuration to the batch's RuntimeConfig (666a3ac)

  • [gdchardwaremanagement] new module for gdchardwaremanagement (#10990) (c3cdc2a)

  • [gkehub] add a new field PENDING under DeploymentState enum (666a3ac)

  • [kms] support Key Access Justifications policy configuration (666a3ac)

  • [monitoring] Add support to add links in AlertPolicy (666a3ac)

  • [recaptchaenterprise] added SMS Toll Fraud assessment (564c369)

  • [redis-cluster] [Memorystore for Redis Cluster] Add support for different node types (4be1db5)

  • [redis-cluster] Add support for different node types (4be1db5)

  • [retail] support merged facets (4be1db5)

  • [retail] support merged facets (4be1db5)

  • [retail] support merged facets (4be1db5)

  • [securitycenter] Add toxic_combination and group_memberships fields to finding (666a3ac)

  • [securitycenter] Add toxic_combination and group_memberships fields to finding (666a3ac)

  • [securitycentermanagement] add TOXIC_COMBINATION to FindingClass enum (666a3ac)

  • [securitycentermanagement] add an INGEST_ONLY EnablementState (666a3ac)

  • [vertexai] add AutomaticFunctionCallingResponder class (#10896) (a97ac3d)

  • [vertexai] add FunctionDeclarationMaker.fromFunc to create FunctionDeclaration from a Java static method (#10915) (5a10656)

  • [vertexai] allow setting ToolConfig and SystemInstruction in ChatSession (#10953) (5ebfc33)

  • [vertexai] enable AutomaticFunctionCallingResponder in ChatSession (#10913) (4db0d1d)

  • [vertexai] infer location and project when user doesn't specify them. (#10868) (14f9825)

  • [vertexai] support ToolConfig in GenerativeModel (#10950) (0801812)

  • [vertexai] Update gapic to include ToolConfig (#10920) (782f21b)

  • [dialogflow-cx] An existing field start_flow is moved in to oneof in message .google.cloud.dialogflow.cx.v3beta1.Agent (4be1db5)

  • bind maven local repository in docker environment (#10967) (3e7752f)

  • restore guava dependency (#10957) (9e124ee)

Version Upgrades

Minor Version Upgrades

  • google-cloud-apigee-registry:0.46.0 (prev:0.45.0; Release Notes: v0.46.0)
  • google-cloud-video-intelligence:2.45.0 (prev:2.44.0; Release Notes: [v2.45.0](https://github.com...
Read more

v26.42.0

18 Jun 21:13
515d0c1
Compare
Choose a tag to compare

GCP Libraries BOM 26.42.0

Here are the differences from the previous version (26.41.0)

The group ID of the following artifacts is com.google.cloud.

Notable Changes

Other libraries

  • [aiplatform] add cached_content to GenerationContentRequest (2c46a48)
  • [aiplatform] add ChatCompletions to PredictionService (2c46a48)
  • [aiplatform] add dataplex_config to MetadataStore (2c46a48)
  • [aiplatform] add dataplex_config to MetadataStore (2c46a48)
  • [aiplatform] add direct_notebook_source to NotebookExecutionJob (2c46a48)
  • [aiplatform] add direct_notebook_source to NotebookExecutionJob (2c46a48)
  • [aiplatform] add encryption_spec to FeatureOnlineStore (2c46a48)
  • [aiplatform] add encryption_spec to FeatureOnlineStore (2c46a48)
  • [aiplatform] add encryption_spec to NotebookRuntimeTemplate (2c46a48)
  • [aiplatform] add encryption_spec to NotebookRuntimeTemplate (2c46a48)
  • [aiplatform] add encryption_spec, service_account, disable_container_logging to DeploymentResourcePool (2c46a48)
  • [aiplatform] add encryption_spec, service_account, disable_container_logging to DeploymentResourcePool (2c46a48)
  • [aiplatform] add idle_shutdown_config, encryption_spec, satisfies_pzs, satisfies_pzi to NotebookRuntime (2c46a48)
  • [aiplatform] add idle_shutdown_config, encryption_spec, satisfies_pzs, satisfies_pzi to NotebookRuntime (2c46a48)
  • [aiplatform] add INVALID_SPARSE_DIMENSIONS, INVALID_SPARSE_EMBEDDING, INVALID_EMBEDDING to NearestNeighborSearchOperationMetadata.RecordError (2c46a48)
  • [aiplatform] add INVALID_SPARSE_DIMENSIONS, INVALID_SPARSE_EMBEDDING, INVALID_EMBEDDING to NearestNeighborSearchOperationMetadata.RecordError (2c46a48)
  • [aiplatform] add max_embedding_requests_per_min to ImportRagFilesConfig (2c46a48)
  • [aiplatform] add model_reference to Dataset (2c46a48)
  • [aiplatform] add model_reference to Dataset (2c46a48)
  • [aiplatform] add model_reference to DatasetVersion (2c46a48)
  • [aiplatform] add model_reference to DatasetVersion (2c46a48)
  • [aiplatform] add more fields in FindNeighborsRequest.Query (2c46a48)
  • [aiplatform] add more fields in FindNeighborsRequest.Query (2c46a48)
  • [aiplatform] add new GenAiCacheService and CachedContent (2c46a48)
  • [aiplatform] add progress_percentage to ImportRagFilesOperationMetadata (2c46a48)
  • [aiplatform] add rag_embedding_model_config to RagCorpus (2c46a48)
  • [aiplatform] add RaySpec to PersistentResource (2c46a48)
  • [aiplatform] add sparse_distance to FindNeighborsResponse.Neighbor (2c46a48)
  • [aiplatform] add sparse_distance to FindNeighborsResponse.Neighbor (2c46a48)
  • [aiplatform] add sparse_embedding to IndexDatapoint (2c46a48)
  • [aiplatform] add sparse_embedding to IndexDatapoint (2c46a48)
  • [aiplatform] add sparse_vectors_count to IndexStats (2c46a48)
  • [aiplatform] add sparse_vectors_count to IndexStats (2c46a48)
  • [aiplatform] add struct_value to FeatureValue (2c46a48)
  • [aiplatform] add struct_value to FeatureValue (2c46a48)
  • [aiplatform] add tool_config to GenerateContentRequest (2c46a48)
  • [aiplatform] add UpdateNotebookRuntimeTemplate to NotebookService (2c46a48)
  • [aiplatform] add UpdateNotebookRuntimeTemplate to NotebookService (2c46a48)
  • [aiplatform] add UpdateReasoningEngine to ReasoningEngineService (2c46a48)
  • [aiplatform] add valid_sparse_record_count, invalid_sparse_record_count to NearestNeighborSearchOperationMetadata.ContentValidationStats (2c46a48)
  • [aiplatform] add valid_sparse_record_count, invalid_sparse_record_count to NearestNeighborSearchOperationMetadata.ContentValidationStats (2c46a48)
  • [aiplatform] add ValueType.STRUCT to Feature (2c46a48)
  • [aiplatform] add ValueType.STRUCT to Feature (2c46a48)
  • [aiplatform] Added the new GenerationConfig.response_schema field (135c89c)
  • [batch] add a install_ops_agent field to InstancePolicyOrTemplate for Ops Agent support (2c46a48)
  • [container] A new message HugepagesConfig is added (2c46a48)
  • [discoveryengine] add control service APIs (2c46a48)
  • [discoveryengine] add control service APIs (2c46a48)
  • [discoveryengine] add control service APIs (135c89c)
  • [discoveryengine] add custom model list API (2c46a48)
  • [discoveryengine] add custom model list API (2c46a48)
  • [discoveryengine] add provision project API (2c46a48)
  • [discoveryengine] promote answer APIs to v1 GA (135c89c)
  • [discoveryengine] promote grounding check APIs to v1 GA (135c89c)
  • [discoveryengine] promote ranking APIs to v1 GA (135c89c)
  • [discoveryengine] return relevance score for chunk based search (alpha only) ([2c46a48](http...
Read more

v26.41.0

12 Jun 21:09
afdb1fe
Compare
Choose a tag to compare

26.41.0 (2024-06-12)

Dependencies

  • update dependency com.google.cloud:first-party-dependencies to v3.31.0 (#6624) (6b74d3e)
  • update dependency com.google.cloud:gapic-libraries-bom to v1.39.0 (#6638) (67320ae)
  • update dependency com.google.cloud:google-cloud-bigquery to v2.40.3 (#6633) (e9574c2)
  • update dependency com.google.cloud:google-cloud-bigquerystorage-bom to v3.6.0 (#6639) (8dca9b0)
  • update dependency com.google.cloud:google-cloud-bigtable-bom to v2.39.5 (#6631) (23f5ad6)
  • update dependency com.google.cloud:google-cloud-datastore-bom to v2.20.1 (#6628) (4206ac8)
  • update dependency com.google.cloud:google-cloud-firestore-bom to v3.21.4 (#6634) (6b0e366)
  • update dependency com.google.cloud:google-cloud-logging-bom to v3.18.0 (#6627) (678a51c)
  • update dependency com.google.cloud:google-cloud-logging-logback to v0.131.8-alpha (#6635) (922b901)
  • update dependency com.google.cloud:google-cloud-nio to v0.127.19 (#6636) (7533d4c)
  • update dependency com.google.cloud:google-cloud-pubsub-bom to v1.130.0 (#6621) (e1242c3)
  • update dependency com.google.cloud:google-cloud-pubsublite-bom to v1.13.7 (#6637) (2914fb9)
  • update dependency com.google.cloud:google-cloud-spanner-bom to v6.68.1 (#6622) (c62eac0)
  • update dependency com.google.cloud:google-cloud-spanner-bom to v6.69.0 (#6641) (78651d7)
  • update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.19.2 (#6625) (45533f7)
  • update dependency com.google.cloud:google-cloud-storage-bom to v2.40.0 (#6629) (e90e761)
  • update dependency org.freemarker:freemarker to v2.3.33 (#6626) (d5c3bdf)