bunny breaking changes
bunny 3.0.0 (April 1, 2026) is its newest release with breaking changes, 6 of them. The first: Removed Consumer.recover_from_network_failure. Every breaking API change we have recorded in bunny on RubyGems: 28 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.6.0. Source repository
Its 2.0.0 release requires Ruby 2.0 or later. Ruby end of life dates.
bunny 3.0.0 breaking changes
- Removed
Consumer.recover_from_network_failure
Topology recovery is now handled by Bunny::Session via TopologyRegistry. Code calling these methods must stop calling them. github.com - Removed
Exchange.recover_from_network_failure
Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. github.com - Removed
Queue.recover_bindings
Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. github.com - Removed
Queue.recover_from_network_failure
Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. github.com - Behavior changed
Declarations made with passive: true are skipped by connection topology recovery, so they are not re-declared on reconnect. Declare them explicitly if they must be restored. github.com - Signature changed
Bunny.Channel.new
The third positional argument is now an options hash instead of a consumer work pool. Use Bunny::Session#create_channel or pass the work pool as opts[:work_pool]. github.com
bunny 2.0.0 breaking changes
- Removed
Bunny 2.0 requires Ruby 2.0 or later, so older Ruby versions are no longer supported. Upgrade Ruby before upgrading Bunny. github.com - Behavior changed
Bunny.Channel.prefetch
Prefetch values above 65535 are no longer accepted because basic.qos prefetch_count is a 16-bit field. Keep prefetch counts at or below 65535. github.com
bunny 1.0.0.rc2 breaking changes
- Behavior changed
Bunny.PossibleAuthenticationFailureError
Bunny::AuthenticationFailureError is raised on authentication failure and subclasses PossibleAuthenticationFailureError. The message of PossibleAuthenticationFailureError has changed, so code that matches on message text must be updated. github.com
bunny 1.0.0.pre5 breaking changes
- Behavior changed
Bunny.new
If RABBITMQ_URL is set, Bunny.new without arguments now uses it. Code that sets this variable for other purposes may connect to a different server. github.com
bunny 1.0.0.pre3 breaking changes
- Behavior changed
Bunny.Consumer.handle_cancellation
Bunny::Consumer#handle_cancellation now runs in the channel's thread pool rather than the previous thread. Code that depends on the calling thread must be updated. github.com - Default changed
On Linux, Bunny now uses built-in default CA certificate paths when none are configured and logs a warning if none are found. Apps relying on a different CA setup should set :tls_ca_certificates explicitly. github.com
bunny 1.0.0.pre2 breaking changes
- Behavior changed
Bunny.DeliveryMetadata.delivery_tag
Bunny::DeliveryMetadata#delivery_tag is now an instance of a class that responds to #tag and #to_i. Code that expects a plain integer must call to_i or use the object where ack and related methods accept it. github.com
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
bunny 1.0.0.pre1 breaking changes
- Behavior changed
Bunny now uses a reentrant Monitor for locking by default instead of a non-reentrant mutex. The mutex implementation can be configured per connection. github.com - Behavior changed
Connection-level exceptions, including closures from the management UI or rabbitmqctl, are now raised on the connection thread and no longer start connection recovery. Applications must handle them there. github.com
And 1 more in this version.
bunny 0.9.0.rc1 breaking changes
- Removed
Bunny.Queue.pop_waiting
Queue#pop_waiting was added in 0.9.0.pre13 and removed in 0.9.0.rc2 because it cannot be reliably implemented on MRI. github.com - Behavior changed
Bunny.new
Bunny.new now opens the socket immediately instead of waiting for Session#start. Code that sets up sockets or TLS must account for this. github.com
bunny 0.9.0.pre9 breaking changes
- Behavior changed
Bunny.Exception
Bunny::Exception now descends from StandardError, so a naked rescue no longer catches it unless rescue names it explicitly. github.com
bunny 0.9.0.pre8 breaking changes
- Behavior changed
Bunny.Session.start
Session#start returns the session instead of the default channel. Code using its return value as a channel must change. github.com - Default changed
Bunny.new
Bunny now uses the heartbeat value provided by RabbitMQ by default instead of its own default. github.com
bunny 0.9.0.pre7 breaking changes
- Behavior changed
Bunny.Channel.basic_publish
Channel#basic_publish no longer applies timeout control, so apps needing delivery guarantees should use publisher confirms. github.com - Behavior changed
Bunny.Exchange.publish
Exchange#publish no longer applies timeout control, so apps needing delivery guarantees should use publisher confirms. github.com
bunny 0.9.0.pre4 breaking changes
- Removed
Bunny.Session.prefetch
Session#prefetch was removed because global prefetch is not implemented in RabbitMQ. Use per-channel prefetch instead. github.com - Default changed
Bunny.Consumer
The default value of the Consumer noack argument is now true instead of false. Pass noack explicitly to keep the old behavior. github.com
bunny 0.9.0.pre3 breaking changes
- Behavior changed
Bunny.Exchange.delete
Exchange#delete now refuses to delete amq.* exchanges and the default exchange. Code that relied on deleting them will no longer remove them. github.com - Default changed
Bunny.new
The default :heartbeat value is now 600 seconds. Setting :heartbeat to 0 or nil still disables heartbeats. github.com
bunny 0.9.0.pre1 breaking changes
- Default changed
Bunny.Queue.pop
The default value of the :ack option for Queue#pop is now false. Code relying on the old default must pass :ack explicitly. github.com
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.