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
On this page
Latest version 3.10.10. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
protobuf 3.0.0 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 - Removed
bin.rprotoc
The previously deprecated bin/rprotoc executable is removed. Use protoc --ruby_out instead. github.com - Removed
EnumValue
The EnumValue class no longer exists. Use Enum for type-checking instead. github.com - Removed
Field.max
The instance-level max method is removed from Field classes. Use the class-level max method instead. github.com - Removed
Field.min
The instance-level min method is removed from Field classes. Use the class-level min method instead. github.com - Removed
lib.protobuf.message.message.rb
The file lib/protobuf/message/message.rb is removed. Require lib/protobuf/message.rb instead. github.com - Removed
Message.get_field_by_name
Field getters on Message instances are removed. Use class-level getters instead. github.com - Removed
Protobuf.Field.ExtensionFields
The Protobuf::Field::ExtensionFields class is removed. No replacement is named in the release notes. github.com - Removed
Protobuf.PROTOC_VERSION
The Protobuf::PROTOC_VERSION constant is removed because the compiler supports any protoc version. github.com - Removed
Service.client_host
The Service#client_host attribute reader is removed. Use Service#env to get it. github.com - Removed
Service.method_name
The Service#method_name attribute reader is removed. Use Service#env to get it. github.com - Removed
Service.rpc
The previously deprecated Service#rpc method is removed. Use Service#env#method_name instead. github.com - Renamed
lib.protobuf.message.decoder.rb
The decoder file moved to lib/protobuf/decoder.rb. The module is still named Protobuf::Decoder. github.com - Behavior changed
Server
The Server module has almost all its methods removed and now only invokes the Middleware stack for each request. github.com - Configuration changed
The gem now requires Active Support 3.2 or newer. Upgrade Active Support if you use an older version. github.com - Signature changed
PbError.to_response
PbError#to_response no longer receives an argument and returns a new Socketrpc::Response object. github.com - 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
protobuf 2.0.0 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 - Removed
Update the require paths to these files. github.com - Removed
:async
Remove the :async option from client calls. github.com - Removed
async_responder
Services using async_responder must be rewritten. github.com - Removed
PB_CLIENT_TYPE
Select the connector type with mode switches or by requiring the specific connector. github.com - Removed
PB_SERVER_TYPE
Select the server connector type with mode switches or custom requires. github.com - Renamed
Message.get_field
Use get_field_by_name or get_field_by_tag depending on your lookup criteria. github.com - Renamed
self.response=
Convert self.response= assignments to respond_with(object). github.com - Behavior changed
Services are no longer in separate *_service.rb files, so require paths may need updating. github.com - Behavior changed
Set PB_IGNORE_DEPRECATIONS=1 to skip the warnings. github.com
And 1 more in this version. Sign up to see every change
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.