google-cloud-pubsub breaking changes
google-cloud-pubsub 3.0.0 (July 29, 2025) is its newest release with breaking changes, 9 of them. The first: Removes the handwritten resource management API for topics, subscriptions, snapshots and schemas in google-cloud-pubsub 3.0.0. Every breaking API change we have recorded in google-cloud-pubsub on RubyGems: 38 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.5.1. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 2.0.0 to 3.0.0: 9 breaking changes in 1 version.
- From 0.22.0 to 3.0.0: 36 breaking changes in 10 versions.
google-cloud-pubsub 3.0.0 breaking changes
- Removed
The legacy resource management classes are deleted. Resource operations must now be performed through the generated clients. github.com - Removed
keyfile
Legacy settings and parameters are removed. Stop passing keyfile. github.com - Removed
Policy
Policy is removed in favor of auto-generated counterparts. Use the generated equivalent instead. github.com - Removed
project
Legacy settings and parameters are removed. Stop passing project. github.com - Removed
RetryPolicy
RetryPolicy is removed in favor of auto-generated counterparts. Use the generated equivalent instead. github.com - Removed
use_legacy_flow_control
Legacy settings and parameters are removed. Stop passing use_legacy_flow_control. github.com - Renamed
Subscription
Subscription is renamed to Subscriber, a dedicated object for receiving messages. Update code that uses Subscription. github.com - Renamed
Topic
Topic is renamed to Publisher, a dedicated object for sending messages. Update code that uses Topic. github.com - Default changed
The default concurrent stream count is now 1. Set it explicitly if your code relied on the previous default. github.com
google-cloud-pubsub 2.0.0 breaking changes
- Removed
client_config
The client_config argument for adjusting low-level RPC settings such as retries is gone. Set those parameters through the configuration interface in google-cloud-pubsub-v1 instead. github.com - Removed
Google.Cloud.PubSub.V1
The low-level classes under Google::Cloud::PubSub::V1 are removed from this gem. Use the new google-cloud-pubsub-v1 gem, which is added as a dependency. github.com - Renamed
Some low-level classes were renamed, notably the client classes. Review the google-cloud-pubsub-v1 docs for the new names. github.com - Signature changed
The client constructor now takes a configuration block rather than configuration keyword arguments. Update constructor calls to use the block. github.com - Signature changed
All RPC method arguments are now keyword arguments. Calls that pass positional arguments must be updated. github.com
google-cloud-pubsub 0.37.0 breaking changes
- Behavior changed
Messages are now dropped from the Subscriber inventory after the user callback, so a message never acked or nacked is redelivered and reprocessed. Make sure callbacks ack or nack every message. github.com - Configuration changed
The release enables grpc.service_config_disable_resolution, which changes how gRPC resolves service config. Check whether existing gRPC setup depends on the previous resolution behavior. github.com
google-cloud-pubsub 0.34.0 breaking changes
- Removed
delay
The delay alias is gone. Use modify_ack_deadline or modify_ack_deadline! directly. github.com - Renamed
The library now uses the Google::Cloud::PubSub namespace. Update code that references the old namespace. github.com - Behavior changed
When no project_id is provided, the library uses the project_id from the Credentials object instead. github.com - Behavior changed
Subscriber updates are sent as unary calls rather than over the gRPC stream, which can change how updates behave. github.com
google-cloud-pubsub 0.29.0 breaking changes
- Behavior changed
Subscriber
The release changes how the Subscriber receives messages, but the notes give no details. Review code that depends on message receipt in the Subscriber. github.com
google-cloud-pubsub 0.27.0 breaking changes
- Removed
Project.publish
Project#publish was removed in this release. Code calling it must be rewritten to publish through a topic. github.com - Removed
Project.subscribe
Project#subscribe was removed in this release. Code calling it must be rewritten to use a subscription. github.com - Removed
Project.topic
The autocreate argument of Project#topic was removed. Calls that pass it will no longer work. github.com - Removed
Subscription.pull
The autoack argument of Subscription#pull was removed. Calls that pass it will no longer work. github.com - Removed
Subscription.wait_for_messages
The autoack argument of Subscription#wait_for_messages was removed. Calls that pass it will no longer work. github.com - Behavior changed
Subscription.listen
Subscription#listen now returns a Subscriber object that must be started to receive messages. Code relying on the previous return value must be updated. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
google-cloud-pubsub 0.26.0 breaking changes
- Behavior changed
The generated client configuration now excludes UNAVAILABLE errors from automatic retry, so calls that hit this error will fail instead of being retried automatically. Code that relied on automatic retries for UNAVAILABLE may need its own... github.com
google-cloud-pubsub 0.25.0 breaking changes
- Removed
Policy.deep_dup
The Policy#deep_dup method was removed. Code calling it must be changed to not use it. github.com - Behavior changed
Policy
The release removed memoization of Policy, so repeated calls no longer reuse a cached policy object. Code that relied on the cached object should keep its own reference. github.com
And 2 more in this version.
google-cloud-pubsub 0.24.0 breaking changes
- Behavior changed
Requests that fail with UNAVAILABLE are retried automatically instead of failing immediately. Code that handles that error must account for the extra retries. github.com - Configuration changed
The default retry configuration used for pull requests changed. Code that depends on the previous retry settings should review them. github.com
google-cloud-pubsub 0.23.0 breaking changes
- Removed
retry_codes_def
The retry_codes_def option is replaced by retry_codes in the client config. Code that passes retry_codes_def must switch to retry_codes. github.com - Configuration changed
client_config
The client_config data structure now uses retry_codes instead of retry_codes/retry_codes_def. Update any client_config that sets retry codes to the new structure. github.com
google-cloud-pubsub 0.22.0 breaking changes
- Renamed
Some class names in the low-level API were changed. Code that refers to the old class names must be updated to the new names listed in the release. github.com - Signature changed
Method parameters in the low-level API were changed. Calls to those methods may need their arguments updated. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.