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

# 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

Latest version `3.6.0`. [Source repository](https://github.com/ruby-amqp/bunny)

Its 2.0.0 release requires Ruby 2.0 or later. [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): 6 breaking changes in 1 version.

## bunny 3.0.0 breaking changes

bunny 3.0.0, released April 1, 2026: 6 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](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)
- **Removed** `Exchange.recover_from_network_failure`  

Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. [github.com](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)
- **Removed** `Queue.recover_bindings`  

Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. [github.com](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)
- **Removed** `Queue.recover_from_network_failure`  

Topology recovery is now handled by Bunny::Session. Code calling this method must stop calling it. [github.com](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)
- **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](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)
- **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](https://github.com/ruby-amqp/bunny/releases/tag/3.0.0)

## bunny 2.0.0 breaking changes

bunny 2.0.0, released July 23, 2015: 2 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](https://github.com/ruby-amqp/bunny/blob/2.0.0/ChangeLog.md)
- **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](https://github.com/ruby-amqp/bunny/blob/2.0.0/ChangeLog.md)

## bunny 1.0.0.rc2 breaking changes

bunny 1.0.0.rc2, released October 29, 2013: 1 breaking change.

- **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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)

## bunny 1.0.0.pre5 breaking changes

bunny 1.0.0.pre5, released October 29, 2013: 1 breaking change.

- **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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)

## bunny 1.0.0.pre3 breaking changes

bunny 1.0.0.pre3, released October 29, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)
- **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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)

## bunny 1.0.0.pre2 breaking changes

bunny 1.0.0.pre2, released October 29, 2013: 1 breaking change.

- **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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)

## Older versions

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

### bunny 1.0.0.pre1 breaking changes

bunny 1.0.0.pre1, released October 29, 2013: 3 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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)
- **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](https://github.com/ruby-amqp/bunny/blob/1.0.0/ChangeLog.md)

And 1 more in this version.

### bunny 0.9.0.rc1 breaking changes

bunny 0.9.0.rc1, released July 12, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)
- **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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre9 breaking changes

bunny 0.9.0.pre9, released July 12, 2013: 1 breaking change.

- **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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre8 breaking changes

bunny 0.9.0.pre8, released July 12, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)
- **Default changed** `Bunny.new`  

Bunny now uses the heartbeat value provided by RabbitMQ by default instead of its own default. [github.com](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre7 breaking changes

bunny 0.9.0.pre7, released July 12, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)
- **Behavior changed** `Bunny.Exchange.publish`  

Exchange#publish no longer applies timeout control, so apps needing delivery guarantees should use publisher confirms. [github.com](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre4 breaking changes

bunny 0.9.0.pre4, released July 12, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)
- **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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre3 breaking changes

bunny 0.9.0.pre3, released July 12, 2013: 2 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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)
- **Default changed** `Bunny.new`  

The default :heartbeat value is now 600 seconds. Setting :heartbeat to 0 or nil still disables heartbeats. [github.com](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.md)

### bunny 0.9.0.pre1 breaking changes

bunny 0.9.0.pre1, released July 12, 2013: 1 breaking change.

- **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](https://github.com/ruby-amqp/bunny/blob/0.9.0/ChangeLog.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.
