---
title: "google-cloud-pubsub 3.0.0 Breaking Changes on RubyGems"
description: "What each google-cloud-pubsub release removed, renamed or changed: 38 breaking changes in 11 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/google-cloud-pubsub
last_updated: 2026-12-04
---

# 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

Latest version `3.5.1`. [Source repository](https://github.com/googlecloudplatform/google-cloud-ruby)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 9 breaking changes in 1 version.
- From [0.22.0](#v-0-22-0) to [3.0.0](#v-3-0-0): 36 breaking changes in 10 versions.

## google-cloud-pubsub 3.0.0 breaking changes

google-cloud-pubsub 3.0.0, released July 29, 2025: 9 breaking changes.

- **Removed**  

The legacy resource management classes are deleted. Resource operations must now be performed through the generated clients. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Removed** `keyfile`  

Legacy settings and parameters are removed. Stop passing keyfile. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Removed** `Policy`  

Policy is removed in favor of auto-generated counterparts. Use the generated equivalent instead. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Removed** `project`  

Legacy settings and parameters are removed. Stop passing project. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Removed** `RetryPolicy`  

RetryPolicy is removed in favor of auto-generated counterparts. Use the generated equivalent instead. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Removed** `use_legacy_flow_control`  

Legacy settings and parameters are removed. Stop passing use_legacy_flow_control. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Renamed** `Subscription`  

Subscription is renamed to Subscriber, a dedicated object for receiving messages. Update code that uses Subscription. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Renamed** `Topic`  

Topic is renamed to Publisher, a dedicated object for sending messages. Update code that uses Topic. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)
- **Default changed**  

The default concurrent stream count is now 1. Set it explicitly if your code relied on the previous default. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v3.0.0)

## google-cloud-pubsub 2.0.0 breaking changes

google-cloud-pubsub 2.0.0, released August 6, 2020: 5 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v2.0.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v2.0.0)
- **Renamed**  

Some low-level classes were renamed, notably the client classes. Review the google-cloud-pubsub-v1 docs for the new names. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v2.0.0)
- **Signature changed**  

The client constructor now takes a configuration block rather than configuration keyword arguments. Update constructor calls to use the block. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v2.0.0)
- **Signature changed**  

All RPC method arguments are now keyword arguments. Calls that pass positional arguments must be updated. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v2.0.0)

## google-cloud-pubsub 0.37.0 breaking changes

google-cloud-pubsub 0.37.0, released June 18, 2019: 2 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.37.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.37.0)

## google-cloud-pubsub 0.34.0 breaking changes

google-cloud-pubsub 0.34.0, released February 4, 2019: 4 breaking changes.

- **Removed** `delay`  

The delay alias is gone. Use modify_ack_deadline or modify_ack_deadline! directly. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.34.0)
- **Renamed**  

The library now uses the Google::Cloud::PubSub namespace. Update code that references the old namespace. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.34.0)
- **Behavior changed**  

When no project_id is provided, the library uses the project_id from the Credentials object instead. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.34.0)
- **Behavior changed**  

Subscriber updates are sent as unary calls rather than over the gRPC stream, which can change how updates behave. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.34.0)

## google-cloud-pubsub 0.29.0 breaking changes

google-cloud-pubsub 0.29.0, released December 19, 2017: 1 breaking change.

- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.29.0)

## google-cloud-pubsub 0.27.0 breaking changes

google-cloud-pubsub 0.27.0, released August 10, 2017: 6 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)
- **Removed** `Project.subscribe`  

Project#subscribe was removed in this release. Code calling it must be rewritten to use a subscription. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)
- **Removed** `Project.topic`  

The autocreate argument of Project#topic was removed. Calls that pass it will no longer work. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)
- **Removed** `Subscription.pull`  

The autoack argument of Subscription#pull was removed. Calls that pass it will no longer work. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.27.0)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### google-cloud-pubsub 0.26.0 breaking changes

google-cloud-pubsub 0.26.0, released July 11, 2017: 1 breaking change.

- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.26.0)

### google-cloud-pubsub 0.25.0 breaking changes

google-cloud-pubsub 0.25.0, released June 1, 2017: 4 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.25.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.25.0)

And 2 more in this version.

### google-cloud-pubsub 0.24.0 breaking changes

google-cloud-pubsub 0.24.0, released April 1, 2017: 2 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.24.0)
- **Configuration changed**  

The default retry configuration used for pull requests changed. Code that depends on the previous retry settings should review them. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.24.0)

### google-cloud-pubsub 0.23.0 breaking changes

google-cloud-pubsub 0.23.0, released February 21, 2017: 2 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.23.0)
- **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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.23.0)

### google-cloud-pubsub 0.22.0 breaking changes

google-cloud-pubsub 0.22.0, released January 27, 2017: 2 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](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.22.0)
- **Signature changed**  

Method parameters in the low-level API were changed. Calls to those methods may need their arguments updated. [github.com](https://github.com/googleapis/google-cloud-ruby/releases/tag/google-cloud-pubsub/v0.22.0)

## Related packages

- [google-cloud-bigquery](https://since.dev/packages/gem/google-cloud-bigquery.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
