Notas de la versión

Esta página contiene actualizaciones de producción y anuncios de funciones para el servicio de Pub/Sub. Si quieres obtener actualizaciones de lanzamientos de bibliotecas cliente de Pub/Sub para lenguajes específicos, usa los vínculos siguientes: C#, Go, Java, Node.js, PHP, Python y Ruby.

Puedes ver las actualizaciones más recientes de todos los productos de Google Cloud en la página de notas de la versión de Google Cloud.

Para recibir las últimas actualizaciones de productos, agrega la URL de esta página a tu lector de feeds, o agrega directamente la URL del feed: https://cloud.google.com/feeds/pubsub-release-notes.xml

December 20, 2024

Documentation is now available to help you troubleshoot Pub/Sub issues by using audit logs. You can use audit logs to troubleshoot issues related to identifying who created, deleted, or modified Pub/Sub resources, tracking configuration changes to topics or subscriptions, and verifying the existence and status of topics and subscriptions. For more information, see Troubleshoot Pub/Sub issues with audit logs and General troubleshooting.

December 19, 2024

Documentation is now available to help you choose between Pub/Sub and Google Cloud Managed Service for Apache Kafka. The comparison is based on factors such as operational ease, portability, existing Kafka setup, and integration with other Google Cloud products. A detailed feature comparison table is also included. For more information, see Choose Pub/Sub or Cloud Managed Service for Apache Kafka.

December 16, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.135.0 (2024-12-12)

Features
  • Introduce java.time variables and methods (#2271) (7edfd9c)
Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.51.0 (0b0d52c)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.44.0 (#2270) (a5f70a9)
  • Update dependency com.google.cloud:google-cloud-core to v2.48.0 (#2263) (d7e5588)
  • Update dependency com.google.cloud:google-cloud-core to v2.49.0 (#2285) (cd94a19)
  • Update dependency com.google.cloud:google-cloud-storage to v2.45.0 (#2268) (80a09e6)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.41.0 (#2286) (0c0a1b9)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.29.0 (#2276) (54ef88d)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.29.1 (#2279) (de3c9e1)
  • Update googleapis/sdk-platform-java action to v2.51.0 (#2284) (0be820e)
Documentation

December 09, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.45.3 (2024-12-04)

Bug Fixes
  • pubsub: Convert stream ack deadline seconds from duration (#11214) (b2b05e4)

1.45.2 (2024-12-03)

Bug Fixes
  • pubsub/pstest: Make invalid filter return error instead of panic (#11087) (45e1ce7)
  • pubsub: Only init batch span if trace enabled (#11193) (f843d50)
  • pubsub: Use official semconv variable whenever possible (#10904) (1ce4b6d)
Documentation
  • pubsub: MinExtensionPeriod defaults to 60 seconds (#10791) (cc88fe1)

November 25, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.134.2 (2024-11-18)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.49.0 (77546e0)
  • deps: Update the Java code generator (gapic-generator-java) to 2.50.0 (3f21af3)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.43.3 (#2256) (f7fbc6c)
  • Update dependency com.google.cloud:google-cloud-core to v2.47.0 (#2249) (3df5729)
  • Update dependency com.google.cloud:google-cloud-storage to v2.44.1 (#2240) (f8dae4d)
  • Update googleapis/sdk-platform-java action to v2.50.0 (#2261) (d0aab7d)
  • Update sdk platform java dependencies (#2262) (b689fe2)

November 18, 2024

Pub/Sub is now available in the northamerica-south1 region (Querétaro, Mexico, North America). For more information, see Cloud locations.

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.9.0 (2024-11-12)

Features
  • Add IngestionFailureEvent to the external proto (#1984) (7075430)
Bug Fixes

November 11, 2024

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.27.1 (2024-11-08)

Bug Fixes

November 06, 2024

General availability: You can now create Cloud Storage import topics in Pub/Sub that lets you ingest data from Cloud Storage into Pub/Sub. The change is being rolled out in a phased manner over the rest of the week. For more information about Cloud Storage import topics, see Create a Cloud Storage import topic .

General availability: You can now enable Google Cloud platform logs to help you troubleshoot issues when you are using Cloud Storage import topics to ingest data. For more information, see Use platform logs to troubleshoot Cloud Storage import topics.

November 04, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.134.1 (2024-10-26)

Dependencies
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.39.0 (#2251) (083cc7c)
  • Update googleapis/sdk-platform-java action to v2.49.0 (#2250) (af0f194)

Python

Changes for google-cloud-pubsub

2.27.0 (2024-11-02)

Features
Bug Fixes
  • Mark test_streaming_pull_max_messages flaky (#1288) (d6635a0)

October 28, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.45.1 (2024-10-24)

Bug Fixes
  • pubsub: Update google.golang.org/api to v0.203.0 (8bb87d5)
  • pubsub: WARNING: On approximately Dec 1, 2024, an update to Protobuf will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go files. This change is expected to affect very few if any users of this client library. For more information, see https://togithub.com/googleapis/google-cloud-go/issues/11020. (8bb87d5)
Documentation
  • pubsub: Add doc links to top level package doc (#11029) (fe2ec56)

1.45.0 (2024-10-22)

Features
  • pubsub: Add IngestionFailureEvent to the external proto (f0b05e2)
  • pubsub: Add support for ingestion platform logging settings (#10969) (c60241f)

Java

Changes for google-cloud-pubsub

1.134.0 (2024-10-23)

Features
  • Add IngestionFailureEvent to the external proto (6c67798)
  • Track batch size using serialized size of PublishRequest (#2113) (be78e64)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.43.1 (#2202) (acaf5f2)
  • Update dependency com.google.cloud:google-cloud-core to v2.46.0 (#2238) (dc06d54)
  • Update dependency com.google.cloud:google-cloud-storage to v2.43.2 (#2226) (eb87c04)
  • Update dependency com.google.cloud.opentelemetry:exporter-trace to v0.33.0 (#2225) (cc1b072)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.28.3 (#2237) (75abe83)
  • Update dependency org.apache.avro:avro to v1.11.4 security (31f276b)
  • Update sdk platform java dependencies (#2239) (8f4f855)
Documentation

October 21, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.8.0 (2024-10-15)

Features
  • Add ingestion Cloud Storage fields and Platform Logging fields to Topic (#1974) (afec9a1)
  • Return listing information for subscriptions created via Analytics Hub (afec9a1)

Python

Changes for google-cloud-pubsub

2.26.1 (2024-10-10)

Documentation

October 14, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.44.0 (2024-10-08)

Features
  • pubsub: Add ingestion Cloud Storage fields and Platform Logging fields to Topic (7250d71)
  • pubsub: Add support for cloud storage ingestion topics (#10959) (1a11675)
  • pubsub: Return listing information for subscriptions created via Analytics Hub (fdb4ea9)
Documentation
  • pubsub: Update documentation for 31 day subscription message retention (#10845) (9b4b2fa)

Java

Changes for google-cloud-pubsub

1.133.1 (2024-10-07)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.47.0 (ccd23af)
Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.45.0 (#2213) (5ee969b)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.37.0 (#2214) (d938709)
  • Update googleapis/sdk-platform-java action to v2.47.0 (#2212) (6a9723d)
Documentation
  • Add ingestion from GCS sample (#2211) (ddb7391)
  • Update emulator sample to create a topic and publish to it (#2039) (21d5cfc)

Python

Changes for google-cloud-pubsub

2.26.0 (2024-10-09)

Features
  • Add ingestion Cloud Storage fields and Platform Logging fields to Topic (#1248) (a7a4caa)

October 07, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.133.0 (2024-10-01)

Features
  • Add OpenTelemetry tracing to the Publisher and Subscriber (#2086) (db522b6)
Dependencies
  • Update dependency com.google.cloud.opentelemetry:exporter-trace to v0.32.0 (#2205) (76f17e4)
  • Update dependency org.assertj:assertj-core to v3.26.3 (#2204) (71c2e76)

1.132.4 (2024-09-30)

Dependencies
  • Update dependency com.google.cloud:google-cloud-storage to v2.43.1 (#2194) (979e420)
  • Update dependency ubuntu to v24 (#2193) (f295b01)

Python

Changes for google-cloud-pubsub

2.25.2 (2024-09-30)

Documentation
  • Add command line args for OpenTelemetry Subscribe sample (#1265) (0ff7f2a)

October 01, 2024

Pub/Sub adds support for OpenTelemetry tracing. OpenTelemetry tracing lets you identify and trace the latency of various Pub/Sub client library operations.

September 30, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.132.3 (2024-09-26)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.42.3 (#2173) (294d039)
  • Update dependency com.google.cloud:google-cloud-core to v2.44.0 (#2184) (faecb3b)
  • Update dependency com.google.cloud:google-cloud-core to v2.44.1 (#2190) (9ea45dc)
  • Update dependency com.google.cloud:google-cloud-storage to v2.43.0 (#2174) (ae800d7)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.36.0 (#2185) (5ca2c7c)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.36.1 (#2191) (555216e)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.28.2 (#2179) (c9bbd2c)

Python

Changes for google-cloud-pubsub

2.25.0 (2024-09-28)

Features

2.24.0 (2024-09-24)

Features
Bug Fixes

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.25.1 (2024-09-29)

Bug Fixes
  • Update the requirements.txt for samples directory (#1263) (5cce8b1)

The message retention duration option for a subscription specifies how long Pub/Sub retains messages after publication. The maximum value for this property is now increased to 31 days. For more information, see Message retention duration.

September 16, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.7.2 (2024-09-13)

Bug Fixes

Go

Changes for pubsub/apiv1

1.43.0 (2024-09-09)

Features
  • pubsub: Add support for Go 1.23 iterators (84461c0)
  • pubsub: Allow trace extraction from protobuf message (#10827) (caa826c)
Bug Fixes

Java

Changes for google-cloud-pubsub

1.132.2 (2024-09-11)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.42.1 (#2152) (1457489)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.42.2 (#2157) (d671347)
  • Update dependency com.google.cloud:google-cloud-core to v2.43.0 (#2161) (05a37b7)
  • Update dependency com.google.cloud:google-cloud-storage to v2.42.0 (#2145) (77c3e78)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.35.0 (#2162) (27eaffd)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.27.4 (#2153) (32c78b3)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.28.0 (#2155) (5f61fe1)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.28.1 (#2167) (bb8ea71)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.7 (#2165) (e7fb60e)

Python

Changes for google-cloud-pubsub

2.23.1 (2024-09-09)

Bug Fixes
  • Replace asserts with None checks for graceful shutdown (#1244) (ced4f52)

September 09, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.7.1 (2024-08-26)

Bug Fixes
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.26.0 (#1945) (f082869)
  • deps: Update dependency protobufjs to ~7.4.0 (#1959) (25946e0)
  • Propagate set options to LeaseManager (from https://github.com/googleapis/nodejs-pubsub/pull/1880) (#1954) (cdb0916)

September 02, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.7.0 (2024-08-24)

Features
  • Add support for OTel context propagation and harmonized spans (#1833) (4b5c90d)

August 26, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.6.0 (2024-07-12)

Features
  • Add max messages batching for Cloud Storage subscriptions (#1956) (90546f6)
  • Add use_topic_schema for Cloud Storage Subscriptions (#1948) (120fa1b)
Bug Fixes
  • docs samples: Update missing argv in sample metadata for push subscription (#1946) (34b8c03)

Go

Changes for pubsub/apiv1

1.42.0 (2024-08-19)

Features
Bug Fixes
  • pubsub: Update google.golang.org/api to v0.191.0 (5b32644)

Java

Changes for google-cloud-pubsub

1.132.1 (2024-08-20)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.42.0 (#2140) (80dca35)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.34.0 (#2141) (273fbf3)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.27.3 (#2127) (8523b4f)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.6 (#2135) (102ff84)

August 20, 2024

BigQuery subscriptions with use table schema enabled now support type conversions for DATE, TIME, DATETIME, TIMESTAMP, NUMERIC, and BIGNUMERIC data types. For more information about these conversions, see the Use table schema documentation.

Pub/Sub has increased the limit on schema definition size to 300 KB. For more information, see Resource limits.

Cloud Storage subscriptions now support using the schema of the Pub/Sub topic to which the subscription is attached when writing Avro files. For more information, see the file format documentation.

August 05, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

Beta release for the pubsub opentelemetry tracing feature

OpenTelemetry tracing standards are in active development, and thus attributes, links, and span names are EXPERIMENTAL and subject to change or removal without notice.

1.41.0 (2024-08-01)

Features
  • pubsub/pstest: Add Message.Topic field and populate on publish (#10510) (01bf051)
  • pubsub: Add max messages batching for Cloud Storage subscriptions (1bb4c84)
Bug Fixes
  • pubsub: Bump google.golang.org/api@v0.187.0 (8fa9e39)
  • pubsub: Bump google.golang.org/grpc@v1.64.1 (8ecc4e9)
  • pubsub: Update dependencies (257c40b)

Java

Changes for google-cloud-pubsub

1.132.0 (2024-08-01)

Features
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.41.0 (#2093) (217b8a3)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.42.0 (#2124) (24ebe24)
  • Update dependency com.google.cloud:google-cloud-core to v2.41.0 (#2120) (1f6428a)
  • Update dependency com.google.cloud:google-cloud-storage to v2.40.1 (#2095) (0d64d6c)
  • Update dependency com.google.cloud:google-cloud-storage to v2.41.0 (#2129) (2348d20)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.33.0 (#2121) (7fbea6d)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.27.2 (#2091) (9859f11)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.3 (#2096) (42f12ed)
Documentation

Python

Changes for google-cloud-pubsub

2.23.0 (2024-07-29)

Features
  • Add max messages batching for Cloud Storage subscriptions (#1224) (91c89d3)

July 22, 2024

If you retain unacknowledged messages in a subscription for more than 24 hours, you incur additional charges. For more information, see Storage costs.

July 08, 2024

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.22.0 (2024-07-06)

Features
  • Add service_account_email for export subscriptions (ec0cc34)
  • Add use_topic_schema for Cloud Storage Subscriptions (ec0cc34)

July 01, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.40.0 (2024-06-26)

Features
  • pubsub: Add client ID to initial streaming pull request (#10436) (a3d70ed)
  • pubsub: Add use_topic_schema for Cloud Storage Subscriptions (d6c543c)

Java

Changes for google-cloud-pubsub

1.131.0 (2024-06-25)

Features
  • Add use_topic_schema for Cloud Storage Subscriptions (#2082) (11d67d4)
Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.40.0 (#2087) (26b01c9)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.32.0 (#2088) (aebc3ed)

Public preview: Data publishers can now share Pub/Sub topics and manage subscriptions in Analytics Hub.

June 24, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.39.0 (2024-06-18)

Features
  • pubsub/pstest: Add support to register other servers into grpc.Server (#9722) (db8216e)
  • pubsub: Add service_account_email for export subscriptions (92dc381)
  • pubsub: Batch receipt modacks (#10234) (4c2cd10)
  • pubsub: Make lease management RPCs concurrent (#10238) (426a8c2)
Bug Fixes

Python

Changes for google-cloud-pubsub

2.21.5 (2024-06-20)

Bug Fixes

2.21.4 (2024-06-18)

Documentation
  • samples: Add code sample for optimistic subscribe (#1182) (d8e8aa5)

June 17, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.5.0 (2024-06-11)

Features
  • Add service_account_email for export subscriptions (#1927) (c532854)

Java

Changes for google-cloud-pubsub

1.130.1 (2024-06-13)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.40.3 (#2071) (0844bfb)
  • Update dependency com.google.cloud:google-cloud-storage to v2.40.0 (#2066) (dfcaeb5)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.27.1 (#2065) (6baf69a)

Python

Changes for google-cloud-pubsub

2.21.3 (2024-06-10)

Bug Fixes
  • Race condition where future callbacks invoked before client is in paused state (#1145) (d12bac6)
  • Suppress warnings caused during pytest runs (#1189) (cd51149)
  • Typecheck errors in samples/snippets/subscriber.py (#1186) (3698450)

June 10, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.130.0 (2024-06-03)

Features
  • [java] allow passing libraries_bom_version from env (#1967) (#2033) (825c5f8)
  • Add service_account_email for export subscriptions (#2054) (670db3e)
Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.39.0 (#2057) (43446d2)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.31.0 (#2058) (a998ef5)

June 03, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.4.1 (2024-05-30)

Bug Fixes
  • An existing message UpdateVehicleLocationRequest is removed (5451d15)
  • An existing method SearchFuzzedVehicles is removed from service VehicleService (5451d15)
  • An existing method UpdateVehicleLocation is removed from service VehicleService (5451d15)
  • deps: Update dependency protobufjs to ~7.3.0 (#1921) (c5afd34)
  • Pull in new gax for protobufjs vuln fix (#1925) (8024c6d)

Java

Changes for google-cloud-pubsub

1.129.7 (2024-05-29)

Dependencies
  • Change scope of grpc-inprocess dependency from runtime to test (#2038) (1ab45c9)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.40.2 (#2046) (f81c5e1)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.27.0 (#2044) (37e94ce)

Python

Changes for google-cloud-pubsub

2.21.2 (2024-05-30)

Bug Fixes

May 27, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.129.6 (2024-05-23)

Dependencies
  • Update dependency com.google.cloud:google-cloud-storage to v2.39.0 (#2040) (eb6bd9c)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.2 (#2035) (40fdd7a)

May 20, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.129.5 (2024-05-16)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.38.1 (#2027) (535edf6)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.30.1 (#2028) (aedcffd)

May 13, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.4.0 (2024-05-03)

Features
  • Add several fields to manage state of database encryption update (#1904) (aba9aee)
Bug Fixes
  • deps: Update dependency @types/long to v5 (#1901) (d13d395)

Go

Changes for pubsub/apiv1

1.38.0 (2024-05-06)

Features
  • pubsub: Add custom datetime format for Cloud Storage subscriptions (4834425)
  • pubsub: Support publisher compression (#9711) (4940c3c)
  • pubsub: Use Streaming Pull response for ordering check (#9682) (7bf4904)
Bug Fixes
  • pubsub: Bump x/net to v0.24.0 (ba31ed5)
  • pubsub: Respect gRPC dial option when PUBSUB_EMULATOR_HOST is set (#10040) (95bf6b2)
  • pubsub: Update protobuf dep to v1.33.0 (30b038d)

Java

Changes for google-cloud-pubsub

1.129.4 (2024-05-10)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.40.0 (#2016) (beee523)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.40.1 (#2021) (0873594)
  • Update dependency com.google.cloud:google-cloud-storage to v2.38.0 (#2019) (ba3dffc)

1.129.3 (2024-05-06)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.38.0 (#2011) (4a547d0)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.30.0 (#2012) (811d0e6)

May 06, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.129.2 (2024-04-30)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.39.1 (#2006) (a7f4afb)

April 29, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.129.1 (2024-04-25)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.39.0 (#2000) (09ee49a)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.39.0 (#2002) (88517fe)
  • Update dependency com.google.cloud:google-cloud-core to v2.37.0 (#1997) (b4573ae)
  • Update dependency com.google.cloud:google-cloud-storage to v2.37.0 (#1999) (cff6d6a)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.29.0 (#1998) (bb80924)

April 22, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.129.0 (2024-04-17)

Features
Dependencies

Resolved an issue where Pub/Sub pull RPCs incorrectly return a "cancelled" status when the configured deadline is reached in the absence of a backlog. This fix ensures deadlines are honored.

April 15, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

This is the second preview release of the Pub/Sub client that includes OpenTelemetry Tracing.

CHANGES

  • Fix leak of ackIDs in activeSpans map
  • Allow passing of context into user callback
  • Align attributes for batch operation spans (publish, ack, nack, modack) with that of the main message spans

Java

Changes for google-cloud-pubsub

1.128.1 (2024-04-10)

Dependencies

April 11, 2024

If you use Pub/Sub metrics as a signal to autoscale your pipeline, refer to Best practices for using Pub/Sub metrics as a scaling signal.

April 08, 2024

You can now ingest streaming data from Amazon Kinesis Data Streams into Pub/Sub by using an import topic. For more information about import topics, including required roles and permissions and how to create an import topic, see Create an import topic. The change is being rolled out in a phased manner over the rest of the week.

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.128.0 (2024-04-03)

Features
  • Add custom datetime format for Cloud Storage subscriptions (#1970) (7113f06)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.38.2 (#1965) (ec3b386)
  • Update dependency com.google.cloud:google-cloud-storage to v2.36.1 (#1968) (524109c)
  • Update dependency com.google.protobuf:protobuf-java-util to v4.26.1 (#1972) (53c1120)
Documentation

Python

Changes for google-cloud-pubsub

2.21.1 (2024-04-04)

Bug Fixes
  • Set timeout to infinite for publishing with ordering keys enabled (#1134) (67daf3c)

April 01, 2024

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.21.0 (2024-03-26)

Features
  • Add custom datetime format for Cloud Storage subscriptions (#1131) (4da6744)

March 25, 2024

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.127.3 (2024-03-20)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.36.0 (#1955) (d25d14a)
  • Update dependency com.google.cloud:google-cloud-core to v2.36.1 (#1962) (96c1c97)
  • Update dependency com.google.cloud:google-cloud-storage to v2.36.0 (#1957) (0d8c182)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.28.0 (#1956) (183df2c)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 (#1960) (faa45a4)
  • Update dependency com.google.protobuf:protobuf-java-util to v4 (#1951) (243ec9a)

Python

Changes for google-cloud-pubsub

2.20.3 (2024-03-21)

Documentation

March 18, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

This is a beta release of the Pub/Sub client that includes OpenTelemetry Tracing.

Python

Changes for google-cloud-pubsub

2.20.2 (2024-03-15)

Documentation
  • samples: Add Create Topic with Kinesis IngestionDataSourceSettings Sample (#1120) (83dc9ff)
  • samples: Update Topic with Kinesis Ingestion Settings (#1123) (e0e2d83)

March 11, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.3.3 (2024-03-03)

Bug Fixes

Go

Changes for pubsub/apiv1

1.37.0 (2024-03-07)

Features
Documentation
  • pubsub: Check for nil responses for receive examples (#9516) (6deb969)

Java

Changes for google-cloud-pubsub

1.127.1 (2024-03-04)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.38.0 (#1931) (357c901)
  • Update dependency com.google.cloud:google-cloud-core to v2.35.0 (#1936) (785e6d1)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 (#1937) (75e7e5e)

Python

Changes for google-cloud-pubsub

2.20.1 (2024-03-06)

Bug Fixes

2.20.0 (2024-03-05)

Features
  • Add include_recaptcha_script for as a new action in firewall policies (#1109) (54041a5)
Documentation
  • samples: Correct type and description of timeout parameter in subscriber quickstart (#1051) (141a473)

2.19.8 (2024-03-05)

Bug Fixes
  • deps: Exclude google-auth 2.24.0 and 2.25.0 (#1102) (165c983)

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.127.2 (2024-03-10)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.37.0 (#1938) (1435c4e)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.38.1 (#1944) (76317e1)
  • Update dependency com.google.cloud:google-cloud-storage to v2.35.0 (#1942) (989f7ba)
  • Update dependency com.google.cloud:google-cloud-storage to v2.35.0 (#1946) (b94989d)

March 04, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.36.2 (2024-02-28)

Bug Fixes
  • pubsub: Fix out of order issue when exactly once is enabled (#9472) (e89fd6c)
Documentation
  • pubsub: Small fix in Pub/Sub ingestion comments (a86aa8e)

Java

Changes for google-cloud-pubsub

1.127.0 (2024-02-28)

Features
  • Add an API method for reordering firewall policies (#1868) (2039f7e)
  • Add universe domain support for Java (#1904) (1e316d3)
  • Next release from main branch is 1.126.0 (#1933) (255d8bc)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.37.2 (#1918) (b8846f9)
  • Update dependency com.google.cloud:google-cloud-storage to v2.34.0 (#1917) (4a7d6b9)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.25.3 (#1919) (4bf13bb)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.1 (#1923) (cd704bd)

Python

Changes for google-cloud-pubsub

2.19.7 (2024-02-24)

Bug Fixes
  • deps: Require google-api-core>=1.34.1 (#1080) (1a5a134)

February 26, 2024

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.19.6 (2024-02-23)

Bug Fixes

2.19.5 (2024-02-22)

Bug Fixes

February 22, 2024

If you have filtering enabled, the backlog metrics only include data from messages that match the filter. To learn more, see How filters affect backlog metrics.

February 19, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.3.2 (2024-02-13)

Bug Fixes
  • Update minimum google-gax versions for auth fixes (#1888) (08acade)

Java

Changes for google-cloud-pubsub

1.126.6 (2024-02-14)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.33.0 (#1912) (9691c6f)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.25.0 (#1913) (9636c55)

1.126.5 (2024-02-12)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.37.1 (#1898) (fc0dc96)
  • Update dependency com.google.cloud:google-cloud-storage to v2.33.0 (#1900) (0efceb4)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.10.0 (#1887) (2bfa5cc)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.0 (#1888) (5017789)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.2 (#1891) (231ba51)

February 12, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.3.1 (2024-02-08)

Bug Fixes
  • Add option to disable emulator auth handling (temp fix) (#1861) (761cdc8)

4.3.0 (2024-02-05)

Features
  • Trusted Private Cloud support, use the universeDomain parameter (#1878) (d89fd1d)
Bug Fixes

Java

Changes for google-cloud-pubsub

1.126.4 (2024-02-09)

Bug Fixes

1.126.3 (2024-02-08)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.32.0 (#1885) (a2063cf)

Python

Changes for google-cloud-pubsub

2.19.4 (2024-02-09)

Bug Fixes
  • diregapic: S/bazel/bazelisk/ in DIREGAPIC build GitHub action (#1064) (d56ad12)

2.19.3 (2024-02-08)

Bug Fixes

2.19.2 (2024-02-08)

Bug Fixes
  • Unit test failures in https://github.com/googleapis/python-pubsu… (#1074) (3c6d128)

February 05, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.2.0 (2024-02-01)

Features
  • Add enforce_in_transit fields and optional annotations (#1873) (09fc424)
  • Add schema revision samples (#1870) (044e149)
Bug Fixes
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.20.0 (#1871) (2ee0dba)
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.21.0 (#1876) (0fe61a9)

Go

Changes for pubsub/apiv1

1.36.1 (2024-01-30)

Bug Fixes
  • pubsub: Enable universe domain resolution options (fd1d569)

Python

Changes for google-cloud-pubsub

2.19.1 (2024-02-02)

Documentation
  • samples: Swap writer and reader schema to correct places (265f410)

January 31, 2024

Pub/Sub is available in Johannesburg, South Africa (africa-south1).

January 29, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.36.0 (2024-01-26)

Features
  • pubsub: Add ingestion_data_source_settings field to Topic (97d62c7)
  • pubsub: Add enforce_in_transit fields and optional annotations (97d62c7)
Bug Fixes
  • pubsub: Move flow control release to callback completion (#9311) (2b6b0da)

1.35.0 (2024-01-25)

Features
  • pubsub: Support message filtering in pstest (#9015) (49231bf)

Java

Changes for google-cloud-pubsub

1.126.2 (2024-01-26)

Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.32.0 (#1875) (0aac3e4)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.37.0 (#1878) (16dee8b)

1.126.1 (2024-01-25)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.36.0 (#1840) (8c5117d)
  • Update dependency com.google.cloud:google-cloud-core to v2.30.0 (#1853) (db36def)
  • Update dependency com.google.cloud:google-cloud-core to v2.31.0 (#1872) (06db9a0)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.22.0 (#1865) (f4c6f51)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.23.0 (#1873) (0d445f1)
  • Update dependency com.google.cloud:google-cloud-storage to v2.32.0 (#1857) (d673e55)
  • Update dependency com.google.cloud:google-cloud-storage to v2.32.1 (#1874) (adae8a4)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.25.2 (#1858) (8fa6354)

January 22, 2024

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.34.0 (2024-01-19)

Features
  • pubsub/pstest: Update max topic retention duration to 31 days (#8605) (d4f90ec)
  • pubsub: Add use_table_schema field to BigQueryConfig (5132d0f)
Bug Fixes
  • pubsub: Add veneer header to sub client (#8608) (04c380d)
  • pubsub: Bump google.golang.org/api to v0.149.0 (8d2ab9f)
  • pubsub: Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD (#8438) (81a33c0)
  • pubsub: Set x-goog-request-params for streaming pull request (#8753) (21ec815)
  • pubsub: Update golang.org/x/net to v0.17.0 (174da47)
  • pubsub: Update grpc-go to v1.56.3 (343cea8)
  • pubsub: Update grpc-go to v1.59.0 (81a97b0)
Documentation
  • pubsub: Clarified where ordering_key will be written if write_metadata is set (327e101)
  • pubsub: Modified some descriptions (e864fbc)
  • pubsub: Update allowed message retention duration by server (#8559) (78c178b)

Java

Changes for google-cloud-pubsub

1.126.0 (2024-01-13)

Features
  • Add use_table_schema field to BigQueryConfig (#1838) (8653f4f)
Bug Fixes
  • deps: Update the Java code generator (gapic-generator-java) to 2.31.0 (#1855) (7e733d2)
  • Swap writer and reader schema to correct places in sample (#1849) (1c79ad7)
  • Temporarily remove publisher tests causing timeouts (#1860) (a8fa24d)
  • Use message ordering enabled property that comes with streaming pull responses (#1851) (d816138)
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.21.0 (#1854) (b36825b)
  • Update dependency com.google.cloud:google-cloud-storage to v2.30.1 (#1841) (d6f1352)

BigQuery subscriptions now support the ability to parse JSON messages by using the schema of a BigQuery table. For more information, see use table schema. The change is being rolled out in a phased manner over the rest of the week.

January 15, 2024

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.1.1 (2024-01-05)

Bug Fixes
  • Correct long audio synthesis HTTP binding (#1867) (65940a4)
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.19.0 (#1862) (92259f5)

December 18, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.1.0 (2023-12-04)

Features
  • Add use_table_schema field to BigQueryConfig (#1858) (2875d83)

Python

Changes for google-cloud-pubsub

2.19.0 (2023-12-10)

Features
  • Add use_table_schema field to BigQueryConfig (#1035) (ac6d912)
  • Add support for Python 3.12 (#1025) (660b8ea)
  • Introduce compatibility with native namespace packages (#1024) (0432420)
Bug Fixes
  • Use retry_async instead of retry in async client (#1030) (05dd571)

December 04, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.13 (2023-11-30)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.28.0 (#1830) (8990b7c)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.20.0 (#1831) (d188af8)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.25.1 (#1816) (e4f2b26)

November 27, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.12 (2023-11-21)

Bug Fixes
  • Concurrent modification of processing receievd messages (#1807) (d162126)
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.34.2 (#1821) (c21ba1a)
  • Update dependency com.google.cloud:google-cloud-storage to v2.29.1 (#1817) (e179b94)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.1 (#1819) (af84aa3)

November 13, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.7 (2023-11-09)

Bug Fixes
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.18.0 (#1852) (d9a0432)
  • Set x-goog-request-params for streaming pull request (#1849) (7b82ff0)

November 06, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.11 (2023-11-01)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.27.0 (#1810) (edd89f3)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.19.0 (#1811) (d671bcb)

1.125.10 (2023-10-31)

Dependencies
  • Update dependency com.google.cloud:google-cloud-storage to v2.29.0 (#1800) (8c43cc2)
Documentation
  • Adding a GCS subscription example (#1762) (3ce824c)
  • Renaming the CreateUnwrappedPushSubscription File (#1794) (3264290)

October 30, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.9 (2023-10-27)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.34.0 (#1795) (670daf1)

1.125.8 (2023-10-23)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.26.0 (#1780) (2d38175)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 (#1781) (5b6cb15)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.28 (#1782) (c9be478)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.28 (#1783) (5e39b79)
Documentation

October 23, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.7 (2023-10-17)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.33.2 (#1770) (db73af7)

October 16, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.6 (2023-10-10)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.33.1 (#1756) (239f474)
  • Update dependency com.google.cloud:google-cloud-core to v2.25.0 (#1764) (72404ea)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 (#1765) (a447292)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.24.4 (#1760) (10a64c6)

Public preview: Pub/Sub BigQuery subscriptions now support BigQuery change data capture.

October 02, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.125.5 (2023-09-28)

Dependencies
  • Update gapic-generator-java to 2.26.0 (935849c)

1.125.4 (2023-09-28)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.33.0 (#1750) (bcbfcd0)

1.125.3 (2023-09-27)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.24.1 (#1737) (48a4432)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 (#1738) (e2cf7c1)
  • Update dependency org.apache.avro:avro to v1.11.3 (#1740) (971b35f)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.4 security (70ba500)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.5 (#1746) (a4b1994)

September 25, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.7.5 (2023-09-20)

Bug Fixes

Java

Changes for google-cloud-pubsub

1.125.2 (2023-09-18)

Dependencies
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.27 (#1730) (687a855)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.27 (#1731) (403b7e7)

September 19, 2023

Pub/Sub is now available in Dammam, Saudi Arabia (me-central2).

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.6 (2023-09-15)

Bug Fixes
  • Bump the minimum gax up to 4.0.4 to get grpc-js fixes (#1829) (cc86e2b)
  • deps: Update dependency @opentelemetry/semantic-conventions to ~1.17.0 (#1824) (679c6b8)

3.7.4 (2023-09-08)

Bug Fixes
  • Always fill the topic and sub names when creating from a PubSub object (#1816) (ddf8b8a)
  • Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD (#1806) (bfcf523)
  • Set grpc keepalive time|outs by default (#1814) (dedfdea)
  • Simplify logic for HTTP/1.1 REST fallback option (#1809) (ee09b69)

Java

Changes for google-cloud-pubsub

1.125.1 (2023-09-14)

Dependencies
  • Update actions/checkout action to v4 - abandoned (#1719) (b82f15a)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.32.0 (#1725) (f40f09a)

1.125.0 (2023-09-12)

Features
Bug Fixes
  • Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD (#1704) (f61e7e0)
Dependencies
  • Update actions/checkout action to v4 (#1712) (404c492)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.31.2 (#1713) (32cb43c)
  • Update dependency com.google.cloud:google-cloud-core to v2.23.0 (#1717) (929f778)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 (#1718) (0eeaa19)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.24.3 (#1698) (1157fbf)
  • Update dependency org.easymock:easymock to v5.2.0 (#1711) (313f6dd)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.25 (#1709) (1cc8a53)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.26 (#1715) (f2cc75f)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.25 (#1710) (9764c3f)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.26 (#1716) (6c9e949)

Messages written to a dead letter topic configured for a BigQuery subscription contain an attribute with the reason the message could not be written to BigQuery. For more information, see Handle message failures.

September 11, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.5 (2023-09-07)

Bug Fixes
  • Always fill the topic and sub names when creating from a PubSub object (#1816) (be8ed53)

4.0.4 (2023-09-05)

Bug Fixes

4.0.3 (2023-08-31)

Bug Fixes
  • Simplify logic for HTTP/1.1 REST fallback option (#1809) (f26008d)

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.18.4 (2023-09-09)

Documentation

August 28, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.2 (2023-08-24)

Bug Fixes
  • Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD (#1806) (e9969ba)

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.124.2 (2023-08-15)

Bug Fixes
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.31.1 (#1697) (9e90790)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.24 (#1695) (ec64036)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.24 (#1696) (cc9ae19)

August 22, 2023

Pub/Sub is now available in europe-west10 (Berlin, Germany).

August 21, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.1 (2023-08-11)

Bug Fixes
  • deps: Update dependency @google-cloud/paginator to v5 (#1799) (3195d21)
  • deps: Update dependency @google-cloud/precise-date to v4 (#1803) (2c22d67)
  • deps: Update dependency @google-cloud/projectify to v4 (#1800) (5787d56)
  • deps: Update dependency @google-cloud/promisify to v4 (#1798) (093c46b)

Python

Changes for google-cloud-pubsub

2.18.3 (2023-08-18)

Bug Fixes
  • Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD (#979) (4073b3d)

August 14, 2023

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.18.2 (2023-08-07)

Bug Fixes
  • Change retry multiplier from 1.3 to 4, for requests that retry Resour… (#971) (e4364d2)

August 07, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

4.0.0 (2023-08-03)

⚠ BREAKING CHANGES
  • node 12 eos (#1774) (#1784)
Features
Bug Fixes

Java

Changes for google-cloud-pubsub

1.124.1 (2023-08-03)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.22.0 (#1687) (220f318)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 (#1688) (0ded9f1)

July 31, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.7.3 (2023-07-26)

Bug Fixes
  • Update masks for topic should be snake case (#1778) (ba72638)

3.7.2 (2023-07-24)

Bug Fixes

Go

Changes for pubsub/apiv1

1.33.0 (2023-07-24)

Features
  • pubsub: Support payload wrapping for push subs (#8292) (fd49db5)
Bug Fixes
  • pubsub/pstest: Update maxMessageRetentionDuration to be 31 days (#8199) (1fa4bb8)

Java

Changes for google-cloud-pubsub

1.124.0 (2023-07-27)

Features
Documentation
  • Clarified where ordering_key will be written if write_metadata is set (#1675) (462746c)

1.123.20 (2023-07-25)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.31.0 (#1671) (c51d396)

1.123.19 (2023-07-25)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.30.1 (#1656) (4fe4bc4)
  • Update dependency com.google.cloud:google-cloud-core to v2.21.1 (#1662) (e10292c)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.1 (#1663) (50f4ff1)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.10.0 (#1666) (d8712a3)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.3 (#1665) (ad1c515)

Python

Changes for google-cloud-pubsub

2.18.1 (2023-07-26)

Documentation
  • Clarified where ordering_key will be written if write_metadata is set (#965) (3d95034)

July 28, 2023

General availability: You can now create Cloud Storage subscriptions in Pub/Sub to write messages directly to an existing Cloud Storage bucket. The change is being rolled out in a phased manner over the rest of the week.

July 24, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.18 (2023-07-17)

Documentation
  • Tightened requirements on cloud storage subscription filename suffixes (#1639) (34a182a)
Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.21.0 (#1650) (69879d4)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 (#1651) (83fdbe2)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.23.4 (#1649) (9f9c5ca)
  • Update dependency org.apache.avro:avro to v1.11.2 (#1646) (5859fe4)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.2 (#1654) (05445f0)

July 18, 2023

Payload unwrapping for push subscriptions is now available. Payload unwrapping lets you deliver Pub/Sub messages stripped of all message metadata, except for the message data. With payload unwrapping enabled, message data is delivered directly as the HTTP body.

July 17, 2023

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.18.0 (2023-07-12)

Features
Bug Fixes
  • Add async context manager return types (#944) (a3b2061)
Documentation
  • Tightened requirements on cloud storage subscription filename suffixes (#938) (f54dcd0)
  • Update Community section in README.rst (#945) (dea258c)

July 03, 2023

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.32.0 (2023-06-27)

Features
  • pubsub: Add push config wrapper fields (ca94e27)
  • pubsub: Add support for cloud storage subscriptions (#7977) (54218e9)
  • pubsub: Enable project autodetection and detect empty project (#8168) (c7e05d8)
  • pubsub: Update all direct dependencies (b340d03)
Bug Fixes
  • pubsub/pstest: Align fake handling of bqconfig subscription to server behavior (#8066) (57914ec)
  • pubsub/pstest: Fix failing bq config test (#8060) (fb9db66)
  • pubsub: Fix issue preventing clearing BQ subscription (#8040) (0366bf3)
  • pubsub: REST query UpdateMask bug (df52820)
  • pubsub: Use fieldmask directly instead of field_mask genproto alias (#8030) (087a5fc)
Documentation
  • pubsub: Tightened requirements on cloud storage subscription filename suffixes (1da334c)

Java

Changes for google-cloud-pubsub

1.123.17 (2023-06-26)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.29.0 (#1633) (20096e7)

1.123.16 (2023-06-26)

Dependencies
  • Update dependency com.google.protobuf:protobuf-java-util to v3.23.3 (#1634) (2481c4b)

June 26, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.15 (2023-06-22)

Bug Fixes
  • Fixing the shutdown logic for streaming subscriber connection (#1613) (09aff9c)
Documentation
Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.27.0 (#1599) (3b4b7d0)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.27.1 (#1614) (a974e08)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.28.0 (#1626) (a4a02b4)
  • Update dependency com.google.cloud:google-cloud-core to v2.20.0 (#1629) (5f88f4f)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.12.0 (#1630) (b444a9d)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.23 (#1623) (b5f8e49)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.23 (#1624) (68ada24)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.1 - abandoned (#1616) (48ec282)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.1 security (a1cb267)

June 19, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.14 (2023-06-12)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.19.0 (#1604) (7ac609e)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.11.0 (#1605) (077ac04)

June 12, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.7.1 (2023-06-08)

Bug Fixes
  • Don't crash if an already-drained/removed queue gets flushed again (#1747) (52ea441)

June 05, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.13 (2023-05-30)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.26.0 (#1582) (a7c09b7)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.26.1 (#1585) (e2c37bf)
  • Update dependency com.google.cloud:google-cloud-core to v2.18.1 (#1591) (1637f0d)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.10.0 (#1592) (a6be7b7)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.10.1 (#1594) (52263ce)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.10.0 (#1590) (338f31f)

May 29, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.7.0 (2023-05-26)

Features

Go

Changes for pubsub/apiv1

1.31.0 (2023-05-24)

Features
  • pubsub: Expose common errors for easier handling (#7940) (983105d)
Bug Fixes
  • pubsub: Allow clearing of topic schema (#7980) (46fc060)
  • pubsub: Update grpc to v1.55.0 (1147ce0)

Python

Changes for google-cloud-pubsub

2.17.1 (2023-05-23)

Documentation

May 22, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.12 (2023-05-12)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.25.0 (#1566) (7e63280)
  • Update dependency com.google.cloud:google-cloud-core to v2.17.0 (#1574) (9c80f14)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.9.0 (#1576) (03a027f)
  • Update dependency org.easymock:easymock to v5.1.0 (#1448) (5ad86fe)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.22 (#1570) (bbe9a8b)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.22 (#1571) (e7b62d3)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.9.0 - abandoned (#1471) (1620e00)
  • Update dependency org.xerial.snappy:snappy-java to v1.1.9.1 (#1572) (1ec2fec)

May 15, 2023

BigQuery subscriptions now support the NUMERIC and BIGNUMERIC data types. For more information, see Schema compatibility.

May 08, 2023

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.30.1 (2023-05-03)

Bug Fixes
  • pubsub/pstest: Clear Subscription when calling ClearMessages. (6de8eda)
  • pubsub/pstest: Start DeliveryAttempt at 1 (2bf6e14)
Documentation
  • pubsub: Clarify NumGoroutines configures number of streams (#7874) (8ac4432)

Python

Changes for google-cloud-pubsub

2.16.1 (2023-05-05)

Bug Fixes
Documentation

May 01, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.5.2 (2023-04-26)

Bug Fixes
  • Avoid zalgo when calling down to publish messages (#1710) (dedae1e)

3.5.1 (2023-04-20)

Bug Fixes
  • Handle receipt modAck and lease extensions with exactly-once delivery correctly (#1709) (d786d22)

Java

Changes for google-cloud-pubsub

1.123.11 (2023-04-27)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.15.0 (#1558) (acf0a4f)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.8.0 (#1561) (13bfd09)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.3 (#1563) (c2329d2)

April 24, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.5.0 (2023-04-16)

Features
  • Rework low level message stream retries, add debugging (#1713) (c1cc6e0)

Java

Changes for google-cloud-pubsub

1.123.10 (2023-04-17)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.24.5 (#1555) (7d81b06)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.7.0 (#1551) (bccf566)

April 17, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.9 (2023-04-13)

Dependencies
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.21 (#1547) (e78f210)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.21 (#1548) (42957f8)

April 10, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.8 (2023-04-04)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.6.0 (#1541) (828db7c)

Python

Changes for google-cloud-pubsub

2.16.0 (2023-04-06)

Features
  • Enable "rest" transport in Python for services supporting numeric enums (#863) (a80c1d1)
Documentation
  • Fix formatting of request arg in docstring (#894) (ee2ea73)

March 27, 2023

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.30.0 (2023-03-22)

Features
  • pubsub: Update iam and longrunning deps (91a1f78)
Bug Fixes
  • pubsub: Check response of receipt modacks for exactly once delivery (#7568) (94d0408)

Java

Changes for google-cloud-pubsub

1.123.7 (2023-03-21)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.5.0 (#1532) (d63fba7)

Python

Changes for google-cloud-pubsub

2.15.2 (2023-03-20)

Documentation

March 21, 2023

Pub/Sub is now available in Turin, Italy (europe-west12).

Generally available: In projects protected by a service perimeter, and if using Eventarc to route events to Workflows destinations, you can create a new push subscription through Eventarc where the endpoint is set to a Workflows execution. To know more, see Set up a service perimeter using VPC Service Controls.

March 20, 2023

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.29.0 (2023-03-13)

Features
  • pubsub: Add google.api.method.signature to update methods (aeb6fec)
  • pubsub: Add REST client (06a54a1)
  • pubsub: Add schema evolution methods and fields (ee41485)
  • pubsub: Add support for schema revisions (#7295) (369b16f)
  • pubsub: Add temporary_failed_ack_ids to ModifyAckDeadlineConfirmation (aeb6fec)
  • pubsub: Make INTERNAL a retryable error for Pull (aeb6fec)
Bug Fixes
  • pubsub/pstest: Fix panic on undelivered message (#7377) (98dd29d)
  • pubsub: Allow updating topic schema fields individually (#7362) (f09e059)
  • pubsub: Dont compare revision fields in schema config test (#7317) (e364f7a)
  • pubsub: Fix bug with AckWithResult with exactly once disabled (#7319) (c88fbdf)
  • pubsub: Pipe revision ID in name in DeleteSchemaRevision (#7519) (e211635)
Documentation
  • pubsub: Add x-ref for ordering messages docs: Clarify subscription expiration policy (aeb6fec)
  • pubsub: Clarify BigQueryConfig PERMISSION_DENIED state (aeb6fec)
  • pubsub: Clarify subscription description (aeb6fec)
  • pubsub: Mark revision_id in CommitSchemaRevisionRequest deprecated (2fef56f)
  • pubsub: Replacing HTML code with Markdown docs: Fix PullResponse description docs: Fix Pull description (aeb6fec)
  • pubsub: Update Pub/Sub topic retention limit from 7 days to 31 days (aeb6fec)

Java

Changes for google-cloud-pubsub

1.123.6 (2023-03-14)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.23.2 (#1512) (60e889e)

Python

Changes for google-cloud-pubsub

2.15.1 (2023-03-14)

Bug Fixes
  • Set x-goog-request-params for streaming pull request (#884) (0d247e6)

March 13, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.4.1 (2023-03-08)

Bug Fixes
  • Update minimum google-gax to avoid taffydb vulnerabilities (#1695) (11372e6)

3.4.0 (2023-03-06)

Features
  • Add google.api.method.signature to update methods (1e28405)
  • Add temporary_failed_ack_ids to ModifyAckDeadlineConfirmation (1e28405)
  • Make INTERNAL a retryable error for Pull (#1681) (1e28405)
Bug Fixes
  • Don't do multiple drains per publish() in message queues unless requested (#1691) (d9b3a63)

General availability: You can now update the schemas that you create in Pub/Sub. Before you do so, read the guidelines. The change is being rolled out in a phased manner over the rest of the week.

March 06, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.5 (2023-03-03)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.12.0 (#1509) (6f70d8a)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.4.0 (#1510) (0d0ece7)

February 27, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.4 (2023-02-22)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.23.0 (#1496) (713d727)

1.123.3 (2023-02-22)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.21.0 (#1470) (105c293)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.22.0 (#1489) (665436c)
  • Update dependency com.google.cloud:google-cloud-core to v2.10.0 (#1464) (8cab4e2)
  • Update dependency com.google.cloud:google-cloud-core to v2.11.0 (#1490) (c42474a)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.3.0 (#1491) (e5e3227)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.20 (#1484) (8206d12)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.20 (#1485) (d0e9b2a)

Python

Changes for google-cloud-pubsub

2.15.0 (2023-02-22)

Features
  • Add google.api.method.signature to update methods (3dd43d6)
  • Add temporary_failed_ack_ids to ModifyAckDeadlineConfirmation (3dd43d6)
Bug Fixes
  • Add service_yaml_parameters to py_gapic_library BUILD.bazel targets (3dd43d6)
  • Move global import in publisher sample (#866) (271a46d)
  • Port proto changes (#871) (3dd43d6)
Documentation
  • Clarify BigQueryConfig PERMISSION_DENIED state (3dd43d6)
  • Clarify subscription description (3dd43d6)
  • Fix Pull description (3dd43d6)
  • Fix PullResponse description (3dd43d6)
  • Replacing HTML code with Markdown (3dd43d6)
  • Update Pub/Sub topic retention limit from 7 days to 31 days (3dd43d6)

February 13, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.2 (2023-02-06)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.2.0 (#1474) (5fccae4)

Python

Changes for google-cloud-pubsub

2.14.1 (2023-02-08)

Bug Fixes
  • Add context manager return types (4f690b9)
Documentation
  • Add documentation for enums (4f690b9)
  • Mark revision_id in CommitSchemaRevisionRequest as deprecated (#861) (09b846d)

January 30, 2023

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.3.0 (2023-01-23)

Features
Bug Fixes

January 23, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.1 (2023-01-20)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.20.2 (#1441) (a675556)
  • Update dependency com.google.cloud:google-cloud-core to v2.9.2 (#1449) (e68c9e0)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.2 (#1463) (e9e6649)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.12 (#1437) (88f7a99)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.2 (#1451) (054572a)

Python

Changes for google-cloud-pubsub

2.14.0 (2023-01-18)

Features
  • Add schema evolution methods and fields (9479356)
  • Add support for python 3.11 (9479356)

January 16, 2023

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.123.0 (2023-01-10)

Features
Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.1 (#1450) (2dcbcad)

Python

Changes for google-cloud-pubsub

2.13.12 (2023-01-06)

Bug Fixes
  • deps: Require google-api-core >=1.34.0, >=2.11.0 (060f00b)
  • Drop usage of pkg_resources (060f00b)
  • Fix timeout default values (060f00b)
Documentation
  • samples: Snippetgen should call await on the operation coroutine before calling result (060f00b)

December 19, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.122.2 (2022-12-15)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.9.0 (#1435) (786c493)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 (#1436) (a40337b)

December 14, 2022

The Pull subscription guide is now updated with improved conceptual information regarding the following topics:

December 12, 2022

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.28.0 (2022-12-05)

Features
  • pubsub: rewrite signatures and type in terms of new location (620e6d8)

December 05, 2022

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.27.1 (2022-12-02)

Bug Fixes
  • pubsub: downgrade some dependencies (7540152)

1.27.0 (2022-11-29)

Features
  • pubsub: start generating proto stubs (cf89415)

Java

Changes for google-cloud-pubsub

1.122.1 (2022-12-02)

Dependencies
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.19 (#1428) (bfa9c3d)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.19 (#1429) (d3c44e7)

1.122.0 (2022-12-01)

Features
  • Next release from main branch is 1.122.0 (#1409) (dad2c82)
Dependencies
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.10 (#1425) (39c22cb)

December 01, 2022

November 28, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.121.1 (2022-11-21)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.18.0 (#1375) (b6ada4e)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.19.1 (#1416) (e140a49)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.18 (#1413) (b3fb828)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.18 (#1414) (74d2dc3)

November 21, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.121.0 (2022-11-16)

Features
  • Next release from main branch is 1.121.0 (#1406) (1b25b0e)
Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.8.28 (#1399) (ec1cae8)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 (#1395) (a3c32ea)

November 18, 2022

The Kafka Connector library for Pub/Sub and Pub/Sub Lite is now generally available.

November 15, 2022

BigQuery subscriptions now support the JSON type for all string fields, including data and attributes. For more information about JSON type compatibility, see Properties of a BigQuery subscription.

November 14, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.25 (2022-11-09)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.8.27 (#1391) (dd9f1c3)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.9 (#1370) (8b753a4)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.17 (#1389) (6def6bb)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.17 (#1388) (0924923)

Python

Changes for google-cloud-pubsub

2.13.11 (2022-11-11)

Bug Fixes
  • Remove suboptimal logic in leasing behavior (#816) (f067af3)

November 07, 2022

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.2.1 (2022-11-04)

Bug Fixes

Java

Changes for google-cloud-pubsub

1.111.0-sp.3 (2022-11-03)

Dependencies
  • Regenerating with new Protobuf (1.111.0-sp) (#1382) (58d55aa)

November 01, 2022

BigQuery subscriptions now support the Avro logical types timestamp-micros, date, and time-micros. For more information about schema compatibility between a Pub/Sub topic and a BigQuery table, see Schema compatibility.

October 31, 2022

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.26.0 (2022-10-24)

Features
Bug Fixes
Documentation

Java

Changes for google-cloud-pubsub

1.120.24 (2022-10-28)

Bug Fixes
  • Adding an explicit check to prevent empty publishes (#1376) (689d7da)

1.120.23 (2022-10-27)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.8.22 (#1361) (0355868)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.24 (#1368) (9776aad)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 (#1362) (d32c591)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.8 (#1356) (dc1e0ca)
  • Update dependency org.easymock:easymock to v5.0.1 (#1365) (2a807a5)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 (#1358) (226e105)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 (#1359) (3f10227)

October 24, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.22 (2022-10-18)

Dependencies
  • Update dependency org.easymock:easymock to v5 (#1350) (1e88543)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.15 (#1351) (2af7579)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 (#1352) (379e39b)

October 17, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.21 (2022-10-14)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.17.0 (#1334) (d2edb44)
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.17.1 (#1340) (2b9c2e8)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.21 (#1341) (d219a56)
  • Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.14 (#1296) (00f61aa)

1.117.1 (2022-10-13)

Dependencies
  • Regenerating with new Protobuf (1.117.x) (#1342) (c0945b8)
Miscellaneous Chores
  • fixing sp.1 version in 1.117.x branch (4399010)

Python

Changes for google-cloud-pubsub

2.13.9 (2022-10-10)

Bug Fixes

2.13.9 (2022-10-10)

Bug Fixes

2.13.10 (2022-10-14)

Bug Fixes
  • Batch at most 1,000 ack ids per request (#802) (4361e67)
  • deps: Allow protobuf 3.19.5 (#801) (fa23503)
  • Silence invalid_ack_id warnings for receipt modacks (#798) (17feea5)
Miscellaneous Chores

October 10, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.20 (2022-10-05)

Bug Fixes
  • update protobuf to v3.21.7 (7c3ea60)

1.120.19 (2022-10-03)

Dependencies
  • Update dependency cachetools to v5 (#1324) (72b6d5f)
  • Update dependency certifi to v2022.9.24 (#1303) (dc05237)
  • Update dependency charset-normalizer to v2.1.1 (#1308) (fedf2e1)
  • Update dependency click to v8.1.3 (#1309) (0ddcb5b)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.15 (#1299) (11f220c)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.16 (#1301) (186c794)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.17 (#1326) (361a2f2)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.18 (#1328) (ae23532)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.20 (#1329) (c37b88e)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 (#1330) (0f6cc6c)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.7 (#1327) (6355eb0)
  • Update dependency gcp-releasetool to v1.8.8 (#1304) (1c7c6eb)
  • Update dependency google-api-core to v2.10.1 (#1310) (14725f2)
  • Update dependency google-auth to v2.11.1 (#1305) (a6954d1)
  • Update dependency google-auth to v2.12.0 (#1313) (ffcebe4)
  • Update dependency google-cloud-core to v2.3.2 (#1306) (fbb4460)
  • Update dependency importlib-metadata to v4.12.0 (#1314) (e319df0)
  • Update dependency jeepney to v0.8.0 (#1315) (5ed336e)
  • Update dependency jinja2 to v3.1.2 (#1316) (14ecdc6)
  • Update dependency keyring to v23.9.3 (#1317) (3e783d4)
  • Update dependency markupsafe to v2.1.1 (#1318) (ecd9c76)
  • Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.14 (#1297) (7e7ce60)
  • Update dependency protobuf to v3.20.2 (#1319) (f5123fa)
  • Update dependency pyjwt to v2.5.0 (#1320) (a568462)
  • Update dependency requests to v2.28.1 (#1321) (41b105a)
  • Update dependency typing-extensions to v4.3.0 (#1322) (288cd7e)
  • Update dependency zipp to v3.8.1 (#1323) (e78a284)

Python

Changes for google-cloud-pubsub

2.13.8 (2022-10-03)

Bug Fixes

September 29, 2022

The Kafka Connector library for Pub/Sub and Pub/Sub Lite is now in preview.

September 26, 2022

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.2.0 (2022-09-22)

Features
  • Add support for exactly once subscriptions (#1572) (998de35)
Bug Fixes

Java

Changes for google-cloud-pubsub

1.120.18 (2022-09-21)

Dependencies
  • Update dependency com.google.cloud:google-cloud-core to v2.8.13 (#1288) (708a1df)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.14 (#1291) (1c479de)
  • Update dependency org.junit.vintage:junit-vintage-engine to v5.9.1 (#1289) (216ba7d)

1.120.17 (2022-09-20)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.16.1 (#1281) (aca8ee9)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.12 (#1278) (4ae1156)
  • Update dependency com.google.protobuf:protobuf-java-util to v3.21.6 (#1277) (a5aa281)

Python

Changes for google-cloud-pubsub

2.13.7 (2022-09-22)

Bug Fixes

September 20, 2022

Pub/Sub introduces new monitoring dashboards for topics and subscriptions which you can access from the Topics and Subscriptions console pages. See Monitor topics and Monitor subscriptions.

September 19, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.16 (2022-09-15)

Dependencies
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#1279) (654ea40)

1.120.15 (2022-09-13)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 (#1271) (439215a)

September 14, 2022

BigQuery subscriptions support writing string fields in a Pub/Sub message to TIMESTAMP, DATETIME, DATE, or TIME columns in a BigQuery table. For more information about schema compatibility between a Pub/Sub topic and a BigQuery table, see Schema compatibility.

September 13, 2022

Pub/Sub is now available in me-west1 (Tel Aviv, Israel).

September 12, 2022

A weekly digest of client library updates from across the Cloud SDK.

Node.js

Changes for @google-cloud/pubsub

3.1.1 (2022-09-01)

Bug Fixes

Java

Changes for google-cloud-pubsub

1.120.14 (2022-09-10)

Dependencies
  • Update dependency com.google.cloud:google-cloud-bigquery to v2.15.0 (#1259) (257cb8f)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.10 (#1258) (37e0034)
  • Update dependency com.google.cloud:google-cloud-core to v2.8.11 (#1264) (a19bc7a)
  • Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#1265) (52da9da)

August 29, 2022

A weekly digest of client library updates from across the Cloud SDK.

Go

Changes for pubsub/apiv1

1.25.1 (2022-08-24)

Bug Fixes

1.25.0 (2022-08-23)

Features
Documentation

Java

Changes for google-cloud-pubsub

1.120.13 (2022-08-24)

Dependencies
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 (#1254) (775c993)

August 22, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.12 (2022-08-18)

Dependencies
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.4 (#1242) (08cfe80)
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.6 (#1245) (7f933ee)
  • update dependency com.google.cloud:google-cloud-core to v2.8.9 (#1250) (7c8fd41)
  • update dependency com.google.protobuf:protobuf-java-util to v3.21.5 (#1243) (37eaff8)

August 15, 2022

A weekly digest of client library updates from across the Cloud SDK.

Python

Changes for google-cloud-pubsub

2.13.6 (2022-08-11)

Bug Fixes
  • deps: allow protobuf < 5.0.0 (#762) (260bd18)
  • deps: require proto-plus >= 1.22.0 (260bd18)
  • set stream_ack_deadline to max_duration_per_lease_extension or 60 s, set ack_deadline to min_duration_per_lease_extension or 10 s (#760) (4444129)
  • Update stream_ack_deadline with ack_deadline (#763) (e600ad8)

2.13.5 (2022-08-10)

Documentation

August 08, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.9 (2022-08-03)

Dependencies
  • update dependency com.google.cloud:google-cloud-core to v2.8.7 (#1227) (e967b2c)
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 (#1226) (8fab566)

1.120.8 (2022-08-02)

Dependencies
  • update dependency com.google.cloud:google-cloud-core to v2.8.6 (#1222) (55eebf5)

1.120.7 (2022-08-01)

Bug Fixes
  • Updated log level from WARNING -> INFO for EOD failures (#1218) (8782533)

1.120.6 (2022-08-01)

Dependencies
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.1 (#1215) (5667492)
  • update dependency com.google.cloud:google-cloud-core to v2.8.5 (#1213) (5db0c2c)
  • update dependency com.google.protobuf:protobuf-java-util to v3.21.4 (#1214) (bfc53d9)
  • update dependency org.apache.avro:avro to v1.11.1 (#1210) (fafcded)

1.120.11 (2022-08-06)

Bug Fixes
  • fix dependency declaration to properly include runtime scope (#1238) (e9a4ce5)
Dependencies
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.2 (#1235) (e2af6c3)
  • update dependency com.google.cloud:google-cloud-bigquery to v2.14.3 (#1236) (399e8d7)

1.120.10 (2022-08-04)

Dependencies
  • update dependency com.google.cloud:google-cloud-core to v2.8.8 (#1231) (9d13dd8)

August 01, 2022

A weekly digest of client library updates from across the Cloud SDK.

Java

Changes for google-cloud-pubsub

1.120.5 (2022-07-30)

Dependencies
  • update dependency com.google.cloud:google-cloud-shared-dependencies to v3 (#1207) (d355509)

1.120.4 (2022-07-29)

Bug Fixes
  • updating return types of ack/nack futures to be consistent with publish (#1204) (6e73ab9)

1.120.3 (2022-07-27)

Dependencies
  • update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 (#1201) (f18e562)

1.120.2 (2022-07-25)

Bug Fixes
  • enable longpaths support for windows test (#1485) (#1191) (c4b8d90)
  • PubSubMessage leak on MessageDispatcher (#1197) (1b8c440)
Dependencies
  • update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 (#1189) (0d96f8e)
  • update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 (#1190) (c604080)

July 25, 2022

You can now create BigQuery subscriptions in Pub/Sub to write messages directly to an existing BigQuery table. The change is being rolled out in a phased manner over the rest of the week.

June 07, 2022

Pub/Sub is now available in us-south1 (Dallas, Texas).

The following Pub/Sub metrics are deprecated and will be discontinued in 12 months.

  • subscription/streaming_pull_message_operation_count
  • subscription/streaming_pull_ack_message_operation_count
  • subscription/streaming_pull_mod_ack_deadline_message_operation_count
  • subscription/pull_message_operation_count
  • subscription/pull_ack_message_operation_count
  • subscription/mod_ack_deadline_message_operation_count
  • topic/send_message_operation_count

May 31, 2022

The Pub/Sub Java client library now supports gRPC compression to save networking costs before your publisher client sends out the publish request.

May 24, 2022

Pub/Sub is now available in us-east5 (Columbus, Ohio).

May 10, 2022

Pub/Sub is now available in europe-southwest1 (Madrid) .

May 03, 2022

Pub/Sub is now available in europe-west9 (Paris).

April 20, 2022

Pub/Sub is now available in europe-west8 (Milan).

March 07, 2022

Exactly once delivery gives you the ability to receive any successfully published message exactly once.

For more information, see Exactly once delivery.

December 08, 2021

Extended topic retention allows you to retain published messages for a maximum of 31 days.

For more information, see Topic message retention.

November 16, 2021

Pub/Sub is now available in southamerica-west1 (Santiago).

August 03, 2021

Pub/Sub Lite is now available in northamerica-northeast2 (Toronto).

July 27, 2021

Pub/Sub push subscriptions created with Cloud Run service endpoints and protected by VPC Service Controls is now available in the GA launch stage.

July 19, 2021

July 08, 2021

June 30, 2021

Pub/Sub message schemas are now GA.

May 04, 2021

Pub/Sub Lite is now available in the following regions:

  • Hong Kong (asia-east2)
  • Tokyo (asia-northeast1)
  • Osaka (asia-northeast2)
  • Seoul (asia-northeast3)
  • Mumbai (asia-south1)
  • Jakarta (asia-southeast2)
  • Warsaw (europe-central2)
  • Montreal (northamerica-northeast1)
  • Sao Paulo (southamerica-east1)
  • Northern Virginia (us-east4)
  • Salt Lake City (us-west3)
  • Las Vegas (us-west4)

For the full list of available regions, see Pub/Sub Lite locations.

March 24, 2021

Pub/Sub is now available in the europe-central2 region (Warsaw).

March 22, 2021

March 10, 2021

Pub/Sub push subscriptions can now be created with Cloud Run service endpoints protected by VPC Service Controls. This feature is available in the Preview launch stage.

March 01, 2021

Pub/Sub message schemas are now available in the Preview launch stage.

February 24, 2021

An Apache Spark connector is now available for Pub/Sub Lite, allowing you to read messages from Pub/Sub Lite in your Spark clusters.

November 19, 2020

The Pub/Sub Lite Python client library is now in Beta.

November 18, 2020

Pub/Sub message filtering is now available in GA.

October 30, 2020

A Kafka Shim Java client library is now available for Pub/Sub Lite, allowing you to use the Kafka API while using Pub/Sub Lite as a backend.

October 19, 2020

Pub/Sub message ordering is now available in GA.

October 09, 2020

Pub/Sub Lite is now available in GA.

August 28, 2020

Pub/Sub subscription detachment is now generally available.

August 05, 2020

Pub/Sub message ordering is now available at the beta launch stage.

June 16, 2020

Retry policies for Pub/Sub subscriptions are now available at the GA launch stage.

June 08, 2020

Pub/Sub is now available in the asia-southeast2 region (Jakarta).

Pub/Sub message filtering is now available at the beta launch stage.

May 26, 2020

Pub/Sub Lite is now available at the beta launch stage.

May 18, 2020

The Pub/Sub Lite Java client library is now in Beta.

April 20, 2020

Pub/Sub is now available in the us-west4 region (Las Vegas).

Dead-letter topics for Pub/Sub are now available at the General Availability release level.

February 24, 2020

Cloud Pub/Sub is now available in the us-west3 region (Salt Lake City).

January 24, 2020

Cloud Pub/Sub is now available in the asia-northeast3 region (Seoul).

December 12, 2019

Push subscriptions can now send HTTP POST requests to webhook URLs without proof of domain ownership.

September 23, 2019

Resource location restrictions are available for Cloud Pub/Sub at the General Availability release level. This feature allows you to manage the location in which your topics' messages are stored.

September 05, 2019

August 29, 2019

July 17, 2019

Resource location restrictions are available for Cloud Pub/Sub at the beta release level. This feature allows you to manage the location in which your topics' messages are stored.

June 26, 2019

Custom-managed encryption keys (CMEK) are in the process of being rolled out at the beta release level. This feature will be fully available to Cloud Pub/Sub users as of June 28, 2019.

May 16, 2019

April 15, 2019

Cloud Pub/Sub is now available in the asia-northeast2 region (Osaka, Japan).

April 09, 2019

March 20, 2019

New pricing has been announced. The announcement includes a lower base price for in-region users and new region egress fees.

March 11, 2019

Cloud Pub/Sub is now available in the europe-west6 region (Zürich, Switzerland).

February 05, 2019

Seek for Cloud Pub/Sub is available at the General Availability release level and is recommended for production loads. The Seek feature extends subscriber functionality by allowing you to to alter the acknowledgement state of messages in bulk. For example, you can replay previously acknowledged messages or discard obsolete messages.

October 29, 2018

Seek for Cloud Pub/Sub is available at the beta release level.

October 22, 2018

Cloud Pub/Sub is now available in the asia-east2 region (Hong Kong).

September 19, 2018

Labels for Cloud Pub/Sub are available at the General Availability release level and are recommended for production loads.

July 31, 2018

Labels for Cloud Pub/Sub are available at the beta release level.

July 10, 2018

Cloud Pub/Sub is now available in the us-west2 region (Los Angeles).

June 11, 2018

Cloud Pub/Sub is now available in the europe-north1 region (Finland).

May 31, 2018

The C#, GO, and Java client libraries are now at the General Availability release level and are recommended for production loads.

May 23, 2018

Audit Logging for Cloud Pub/Sub is now at the General Availability release level and is recommended for production loads.

April 20, 2018

The gRPC service APIs, including StreamingPull, are now available at the General Availability release level and are recommended for production loads. Note that the Cloud Client Libraries for Cloud Pub/Sub already use these APIs.

February 20, 2018

Added support for generating Google Cloud Audit logs that enable you to track usage and access.

January 24, 2018

The Cloud Pub/Sub gcloud commands are now at the General Availability release level. The beta label is no longer required.

January 10, 2018

Cloud Pub/Sub is now available in the europe-west4 region (Netherlands).

Cloud Pub/Sub is now available in the northamerica-northeast1 region (Montréal).

August 30, 2017

The StreamingPull API is now in Beta. Users of client libraries should see improvements in end-to-end message latency and CPU utilization without any changes in code after updating to the most recent version of the client library.

August 01, 2017

Cloud Pub/Sub is now available in the europe-west3 region (Frankfurt).

June 20, 2017

Cloud Pub/Sub is now available in the australia-southeast1 region (Sydney).

June 06, 2017

Cloud Pub/Sub is now available in the europe-west2 region (London).

April 19, 2017

Announced beta availability of gRPC.

January 20, 2017

Published changes to the Cloud Pub/Sub pricing model.

December 01, 2015

Support added for quota metrics per topic and subscription (pubsub.googleapis.com/topic/byte_cost and pubsub.googleapis.com/subscription/byte_cost, respectively).

November 01, 2015

Added publish timestamp field on pulled messages.

June 01, 2015

Stable API suitable for production development - v1 released.

February 01, 2015

Beta release - v1beta2 released.

November 01, 2014

Batch request support added - Support added for batch Publish and Pull requests.

June 01, 2014

Initial release - v1beta1 released.