---
title: "rabbitpy 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each rabbitpy release removed, renamed or changed: 10 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/rabbitpy
last_updated: 2026-12-04
---

# rabbitpy breaking changes

rabbitpy 4.0.0 (December 4, 2026) is its newest release with breaking changes, 10 of them. The first: Removed rabbitpy.base.StatefulObject. Every breaking API change we have recorded in rabbitpy on PyPI: 10 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released December 4, 2026. [Source repository](https://github.com/gmr/rabbitpy)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## rabbitpy 4.0.0 breaking changes

rabbitpy 4.0.0, released December 4, 2026: 10 breaking changes.

- **Removed** `rabbitpy.base.StatefulObject`  

rabbitpy.base.StatefulObject was removed in rabbitpy 4.0.0 [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Removed** `rabbitpy.events.CONNECTION_EVENT`  

rabbitpy.events.CONNECTION_EVENT was removed in rabbitpy 4.0.0 [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Removed** `rabbitpy.events.SOCKET_CLOSE`  

rabbitpy.events.SOCKET_CLOSE was removed in rabbitpy 4.0.0 [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Behavior changed**  

Waiting calls now raise ConnectionClosed when the connection is closed rather than returning None, so code that checked for None must handle the exception. [github.com](https://github.com/gmr/rabbitpy/releases/tag/4.0.0)
- **Behavior changed** `Connection.close`  

Connection.close() now waits up to the connection timeout for Connection.CloseOk before returning. [github.com](https://github.com/gmr/rabbitpy/releases/tag/4.0.0)
- **Default changed** `Queue`  

Queue defaults to durable, so declaring a transient queue now needs durable=False and exclusive=True; declaring over an existing non-durable queue of the same name now fails with AMQPPreconditionFailed. [github.com](https://github.com/gmr/rabbitpy/releases/tag/4.0.0)
- **Signature changed** `rabbitpy.amqp_queue.Queue.__init__`  

Was def \_\_init\_\_(self, channel: chan.Channel, name: str = '', durable: bool = False, exclusive: bool = False, auto_delete: bool = False, max_length: int | None = None, message_ttl: int | None = None, expires: int | None = None... [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Signature changed** `rabbitpy.base.AMQPChannel`  

Was class AMQPChannel(StatefulObject); now class AMQPChannel(state.StatefulBase, utils.DebuggingOptimizationMixin). [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Signature changed** `rabbitpy.io.IO.__init__`  

Was def \_\_init\_\_(self, host: str, port: int, use_ssl: bool, ssl_options: SslOptions, events: rabbitpy.events.Events, exceptions: queue.Queue\[Exception\], timeout: float = 0.01) -> None; now def \_\_init\_\_(self, host: str, port: int, use_ssl... [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)
- **Signature changed** `rabbitpy.Queue.__init__`  

Was def \_\_init\_\_(self, channel: chan.Channel, name: str = '', durable: bool = False, exclusive: bool = False, auto_delete: bool = False, max_length: int | None = None, message_ttl: int | None = None, expires: int | None = None... [pypi.org](https://pypi.org/project/rabbitpy/4.0.0/)

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