---
title: "protobuf 3.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each protobuf release removed, renamed or changed: 28 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/protobuf
last_updated: 2026-12-04
---

# protobuf breaking changes

protobuf 3.0.0 (February 26, 2014) is its newest release with breaking changes, 17 of them. The first: EventMachine client and server removed from the gem in protobuf 3.0.0. Every breaking API change we have recorded in protobuf on RubyGems: 28 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.10.10`. [Source repository](https://github.com/localshred/protobuf)

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): 17 breaking changes in 1 version.

## protobuf 3.0.0 breaking changes

protobuf 3.0.0, released February 26, 2014: 17 breaking changes.

- **Removed**  

The EventMachine client and server are gone. Switch to the socket implementation by setting PB_CLIENT_TYPE and PB_SERVER_TYPE to socket. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `bin.rprotoc`  

The previously deprecated bin/rprotoc executable is removed. Use protoc --ruby_out instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `EnumValue`  

The EnumValue class no longer exists. Use Enum for type-checking instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Field.max`  

The instance-level max method is removed from Field classes. Use the class-level max method instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Field.min`  

The instance-level min method is removed from Field classes. Use the class-level min method instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `lib.protobuf.message.message.rb`  

The file lib/protobuf/message/message.rb is removed. Require lib/protobuf/message.rb instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Message.get_field_by_name`  

Field getters on Message instances are removed. Use class-level getters instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Protobuf.Field.ExtensionFields`  

The Protobuf::Field::ExtensionFields class is removed. No replacement is named in the release notes. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Protobuf.PROTOC_VERSION`  

The Protobuf::PROTOC_VERSION constant is removed because the compiler supports any protoc version. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Service.client_host`  

The Service#client_host attribute reader is removed. Use Service#env to get it. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Service.method_name`  

The Service#method_name attribute reader is removed. Use Service#env to get it. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Removed** `Service.rpc`  

The previously deprecated Service#rpc method is removed. Use Service#env#method_name instead. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Renamed** `lib.protobuf.message.decoder.rb`  

The decoder file moved to lib/protobuf/decoder.rb. The module is still named Protobuf::Decoder. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Behavior changed** `Server`  

The Server module has almost all its methods removed and now only invokes the Middleware stack for each request. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Configuration changed**  

The gem now requires Active Support 3.2 or newer. Upgrade Active Support if you use an older version. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Signature changed** `PbError.to_response`  

PbError#to_response no longer receives an argument and returns a new Socketrpc::Response object. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)
- **Signature changed** `Service.initialize`  

Service#initialize takes an Env object instead of separate request, method, and client parameters. Update callers to pass an Env. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v3.0.0)

## protobuf 2.0.0 breaking changes

protobuf 2.0.0, released October 23, 2012: 11 breaking changes.

- **Removed**  

The old racc parser, node visitors and related compiler code are gone; rprotoc now hooks into Google's protoc compiler mechanism. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Removed**  

Update the require paths to these files. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Removed** `:async`  

Remove the :async option from client calls. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Removed** `async_responder`  

Services using async_responder must be rewritten. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Removed** `PB_CLIENT_TYPE`  

Select the connector type with mode switches or by requiring the specific connector. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Removed** `PB_SERVER_TYPE`  

Select the server connector type with mode switches or custom requires. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Renamed** `Message.get_field`  

Use get_field_by_name or get_field_by_tag depending on your lookup criteria. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Renamed** `self.response=`  

Convert self.response= assignments to respond_with(object). [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Behavior changed**  

Services are no longer in separate \*\_service.rb files, so require paths may need updating. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)
- **Behavior changed**  

Set PB_IGNORE_DEPRECATIONS=1 to skip the warnings. [github.com](https://github.com/ruby-protobuf/protobuf/releases/tag/v2.0.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
