---
title: "kombu 5.7.0 Breaking Changes on PyPI | Since.dev"
description: "What each kombu release removed, renamed or changed: 315 breaking changes in 16 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/kombu
last_updated: 2026-12-04
---

# kombu breaking changes

kombu 5.7.0 (November 3, 2026) is its newest release with breaking changes, 27 of them. The first: Removed kombu.transport.redis.accepts_argument. Every breaking API change we have recorded in kombu on PyPI: 315 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.7.0`, released November 3, 2026. [Source repository](https://github.com/celery/kombu)

Its 5.7.0a1 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [4.0.0](#v-4-0-0) to [5.7.0](#v-5-7-0): 75 breaking changes in 13 versions.
- From [2.0.0](#v-2-0-0) to [5.7.0](#v-5-7-0): 276 breaking changes in 15 versions.

## kombu 5.7.0 breaking changes

kombu 5.7.0, released November 3, 2026: 27 breaking changes.

- **Removed** `kombu.transport.redis.accepts_argument`  

kombu.transport.redis.accepts_argument was removed in kombu 5.7.0 [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Removed** `kombu.utils.div.default_encode`  

kombu.utils.div.default_encode was removed in kombu 5.7.0 [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Behavior changed**  

Publishing a message that cannot be stored now raises an error instead of failing silently. Code must handle this exception. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed**  

Passing a bool as the pool limit is now rejected. Code that passes True or False as the pool limit must pass an integer instead. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed**  

Calling fileno() with None now raises ValueError instead of being accepted. Code that passes None must be changed. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed**  

The '\*' wildcard in topic patterns no longer matches across dots. Topic bindings that relied on the old matching must be updated. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed**  

URLs containing dotted schemes are now rejected. Connection URLs using such schemes must be changed. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed** `Exchange.Message`  

The delivery_mode argument of Exchange.Message is now applied, where it was previously ignored. Messages may now be persisted or sent differently. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Behavior changed** `kombu.transport.filesystem`  

The filesystem transport now rejects paths that traverse outside its directories. Code relying on such paths will fail and must be changed. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Configuration changed**  

The minimum supported Redis client version is now 6.4.0. Environments with older Redis clients must upgrade. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0)
- **Signature changed** `kombu.asynchronous.http.Client`  

Was def Client(hub: Hub | None = None, \*\*kwargs: int) -> CurlClient; now def Client(hub: Hub | None = None, \*\*kwargs: int) -> BaseClient. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.pidbox.Mailbox.__init__`  

Was def \_\_init\_\_(self, namespace, type='direct', connection=None, clock=None, accept=None, serializer=None, producer_pool=None, queue_ttl=None, queue_expires=None, queue_durable=False, queue_exclusive=False, reply_queue_ttl=None... [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.azureservicebus.Channel.basic_consume`  

Was def basic_consume(self, queue, no_ack, \*args, \*\*kwargs); now def basic_consume(self, queue, no_ack, callback, consumer_tag, \*args, \*\*kwargs). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.confluentkafka.QoS.__init__`  

Was def \_\_init\_\_(self, channel, prefetch_count=0); now def \_\_init\_\_(self, \*args, \*\*kwargs). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.get_transport_cls`  

Was def get_transport_cls(transport: str | None = None) -> str | None; now def get_transport_cls(transport: str | None = None) -> type | None. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.native_delayed_delivery.bind_queue_to_native_delayed_delivery_exchange`  

Was def bind_queue_to_native_delayed_delivery_exchange(connection: Connection, queue: Queue) -> None; now def bind_queue_to_native_delayed_delivery_exchange(connection: Connection, queue: Queue, prefix: str | None = None) -> None. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.native_delayed_delivery.declare_native_delayed_delivery_exchanges_and_queues`  

Was def declare_native_delayed_delivery_exchanges_and_queues(connection: Connection, queue_type: str) -> None; now def declare_native_delayed_delivery_exchanges_and_queues(connection: Connection, queue_type: str, prefix: str | None = None)... [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.native_delayed_delivery.level_name`  

Was def level_name(level: int) -> str; now def level_name(level: int, prefix: str | None = None) -> str. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.redis.PrefixedRedisPipeline`  

Was class PrefixedRedisPipeline(GlobalKeyPrefixMixin, redis.client.Pipeline); now class PrefixedRedisPipeline(GlobalKeyPrefixMixin, client.Pipeline). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.redis.PrefixedRedisPubSub`  

Was class PrefixedRedisPubSub(redis.client.PubSub); now class PrefixedRedisPubSub(client.PubSub). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.resolve_transport`  

Was def resolve_transport(transport: str | None = None) -> str | None; now def resolve_transport(transport: str | None = None) -> type | None. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.AccessDeniedQueueException`  

Was class AccessDeniedQueueException(Exception); now class AccessDeniedQueueException(KombuError). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.Channel.generate_sts_session_token`  

Was def generate_sts_session_token(self, role_arn, token_expiry_seconds); now @staticmethod def generate_sts_session_token(role_arn: str, token_expiry_seconds: int). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.DoesNotExistQueueException`  

Was class DoesNotExistQueueException(Exception); now class DoesNotExistQueueException(KombuError). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.exceptions`  

Was from kombu.asynchronous.aws.ext import exceptions; now module kombu.transport.SQS.exceptions. [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.InvalidQueueException`  

Was class InvalidQueueException(Exception); now class InvalidQueueException(KombuError). [pypi.org](https://pypi.org/project/kombu/5.7.0/)
- **Signature changed** `kombu.transport.SQS.UndefinedQueueException`  

Was class UndefinedQueueException(Exception); now class UndefinedQueueException(KombuError). [pypi.org](https://pypi.org/project/kombu/5.7.0/)

## kombu 5.7.0b1 breaking changes

kombu 5.7.0b1, released November 3, 2026: 3 breaking changes.

- **Behavior changed**  

Passing a boolean as the pool limit now raises an error. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0b1)
- **Behavior changed** `Exchange.Message`  

Per-message delays are now clamped to the range SQS allows. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0b1)
- **Behavior changed** `sqs`  

Queue caches and clients are now per connection rather than shared, which may affect code relying on shared state. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0b1)

## kombu 5.7.0a1 breaking changes

kombu 5.7.0a1, released November 3, 2026: 4 breaking changes.

- **Behavior changed**  

Connection URLs with dotted schemes are now rejected. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0a1)
- **Behavior changed**  

Python 3.9 is no longer tested in CI; users on Python 3.9 should check compatibility. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0a1)
- **Behavior changed**  

Exchange.Message now uses the delivery_mode argument it was given, so messages may be persisted differently than before. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0a1)
- **Behavior changed** `kombu.transport.filesystem`  

Queue names with path components or substrings are no longer accepted or matched as before. [github.com](https://github.com/celery/kombu/releases/tag/v5.7.0a1)

## kombu 5.6.1 breaking changes

kombu 5.6.1, released November 25, 2025: 1 breaking change.

- **Signature changed** `kombu.Connection.__init__`  

Was def \_\_init\_\_(self, hostname='localhost', userid=None, password=None, virtual_host=None, port=None, insist=False, ssl=False, transport=None, connect_timeout=5, transport_options=None, login_method=None, uri_prefix=None, heartbeat=0... [pypi.org](https://pypi.org/project/kombu/5.6.1/)

## kombu 5.6.0 breaking changes

kombu 5.6.0, released November 1, 2025: 10 breaking changes.

- **Removed** `kombu.asynchronous.aws.AsyncSQSConnection.fetch_message_attributes`  

AsyncSQSConnection.fetch_message_attributes was removed in kombu 5.6.0 [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Removed** `kombu.asynchronous.http.base.BaseClient`  

kombu.asynchronous.http.base.BaseClient was removed in kombu 5.6.0 [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Removed** `kombu.asynchronous.http.get_client`  

kombu.asynchronous.http.get_client was removed in kombu 5.6.0 [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Removed** `kombu.asynchronous.http.urllib3_client`  

kombu.asynchronous.http.urllib3_client was removed in kombu 5.6.0 [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Removed** `kombu.transport.SQS.AsyncSQSConnection.fetch_message_attributes`  

kombu.transport.SQS.AsyncSQSConnection.fetch_message_attributes was removed in kombu 5.6.0 [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Signature changed** `kombu.asynchronous.aws.AsyncSQSConnection.__init__`  

Was def \_\_init\_\_(self, sqs_connection, debug=0, region=None, fetch_message_attributes=None, \*\*kwargs); now def \_\_init\_\_(self, sqs_connection, debug=0, region=None, message_system_attribute_names=None, message_attribute_names=None... [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Signature changed** `kombu.asynchronous.aws.ext.get_cert_path`  

Was from botocore.httpsession import get_cert_path; now def get_cert_path() -> str. [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Signature changed** `kombu.asynchronous.http.Client`  

Was def Client(hub: Hub | None = None, \*\*kwargs: int) -> BaseClient; now def Client(hub: Hub | None = None, \*\*kwargs: int) -> CurlClient. [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Signature changed** `kombu.pidbox.Mailbox.__init__`  

Was def \_\_init\_\_(self, namespace, type='direct', connection=None, clock=None, accept=None, serializer=None, producer_pool=None, queue_ttl=None, queue_expires=None, reply_queue_ttl=None, reply_queue_expires=10.0); now def \_\_init\_\_(self... [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Signature changed** `kombu.transport.SQS.AsyncSQSConnection.__init__`  

Was def \_\_init\_\_(self, sqs_connection, debug=0, region=None, fetch_message_attributes=None, \*\*kwargs); now def \_\_init\_\_(self, sqs_connection, debug=0, region=None, message_system_attribute_names=None, message_attribute_names=None... [pypi.org](https://pypi.org/project/kombu/5.6.0/)

## kombu 5.6.0rc2 breaking changes

kombu 5.6.0rc2, released November 1, 2025: 1 breaking change.

- **Removed**  

Python 3.8 was removed from CI as end of life, so the package no longer tests on it. Users on Python 3.8 should upgrade their Python version. [github.com](https://github.com/celery/kombu/releases/tag/v5.6.0rc2)

## Older versions

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

### kombu 5.6.0rc1 breaking changes

kombu 5.6.0rc1, released November 1, 2025: 1 breaking change.

- **Behavior changed**  

URI options now arrive lowercase and flattened, so a setting like replicaSet appears as options\['replicaset'\]. Code reading MongoDB options by their original camelCase keys must be updated. [github.com](https://github.com/celery/kombu/releases/tag/v5.6.0rc1)

### kombu 5.6.0b3 breaking changes

kombu 5.6.0b3, released November 1, 2025: 2 breaking changes.

- **Removed** `kombu.resource.LifoQueue`  

The custom LifoQueue class was removed to avoid conflicts with recent gevent releases. Code that imports it must use another queue implementation. [pypi.org](https://pypi.org/project/kombu/5.6.0/)
- **Behavior changed**  

Internal UTC timestamps now use datetime.now(timezone.utc) instead of the deprecated datetime.utcnow(), so they are timezone-aware rather than naive. [github.com](https://github.com/celery/kombu/releases/tag/v5.6.0b3)

### kombu 5.5.4 breaking changes

kombu 5.5.4, released June 1, 2025: 1 breaking change.

- **Signature changed** `redis.connection.ConnectionPool.get_connection`  

The Redis connection pool's get_connection method no longer takes arguments. Callers that pass arguments to it must be updated. [github.com](https://github.com/celery/kombu/releases/tag/v5.5.4)

### kombu 5.5.0 breaking changes

kombu 5.5.0, released March 13, 2025: 18 breaking changes.

- **Removed** `kombu.asynchronous.http.curl`  

kombu.asynchronous.http.curl was removed in kombu 5.5.0 [pypi.org](https://pypi.org/project/kombu/5.5.0/)
- **Signature changed** `kombu.asynchronous.aws.AsyncSQSConnection.__init__`  

Was def \_\_init\_\_(self, sqs_connection, debug=0, region=None, \*\*kwargs); now def \_\_init\_\_(self, sqs_connection, debug=0, region=None, fetch_message_attributes=None, \*\*kwargs). [pypi.org](https://pypi.org/project/kombu/5.5.0/)

And 16 more in this version.

### kombu 5.4.2 breaking changes

kombu 5.4.2, released September 19, 2024: 1 breaking change.

- **Behavior changed**  

The earlier change that validated SQS SSL certificates by default is reverted, so users who relied on that default must now enable certificate validation themselves. [github.com](https://github.com/celery/kombu/releases/tag/v5.4.2)

### kombu 5.4.1 breaking changes

kombu 5.4.1, released September 11, 2024: 5 breaking changes.

- **Behavior changed**  

This release reverts the 5.4.0 change that let users disable broker heartbeats by not providing a timeout. Code that relied on that behavior must provide a timeout again. [github.com](https://github.com/celery/kombu/releases/tag/v5.4.1)
- **Default changed**  

The SQS transport now validates SSL certificates by default. Code that relies on unvalidated SSL connections to SQS must now configure certificate handling explicitly. [github.com](https://github.com/celery/kombu/releases/tag/v5.4.1)

And 3 more in this version.

### kombu 5.4.0 breaking changes

kombu 5.4.0, released August 6, 2024: 1 breaking change.

- **Signature changed** `kombu.resource.Resource.force_close_all`  

Was def force_close_all(self); now def force_close_all(self, close_pool=True). [pypi.org](https://pypi.org/project/kombu/5.4.0/)

### kombu 4.0.0 breaking changes

kombu 4.0.0, released October 28, 2016: 66 breaking changes.

- **Signature changed** `kombu.abstract.MaybeChannelBound.__repr__`  

Was def \_\_repr\_\_(self, item=''); now def \_\_repr\_\_(self). [pypi.org](https://pypi.org/project/kombu/4.0.0/)
- **Signature changed** `kombu.async.debug.items`  

Was def items(d); now from kombu.five import items. [pypi.org](https://pypi.org/project/kombu/4.0.0/)

And 64 more in this version.

### kombu 3.0.0 breaking changes

kombu 3.0.0, released October 14, 2013: 135 breaking changes.

- **Removed**  

The minimum Python version is now Python 2.6.0 for Python 2 and Python 3.3 for Python 3. [github.com](https://github.com/celery/kombu/blob/v3.0.0/Changelog)
- **Removed** `kombu.common.entry_to_queue`  

Use Queue.from_dict(name, \*\*options) instead. [github.com](https://github.com/celery/kombu/blob/v3.0.0/Changelog)

And 133 more in this version.

### kombu 2.0.0 breaking changes

kombu 2.0.0, released January 15, 2012: 39 breaking changes.

- **Removed**  

Kombu 2.0 no longer supports Python 2.4. Users on Python 2.4 can stay on the 1.x series, which is now in bugfix-only maintenance. [github.com](https://github.com/celery/kombu/blob/v2.0.0/Changelog)
- **Renamed** `djkombu`  

The django-kombu transport is now part of Kombu core. Change the djkombu entry in INSTALLED_APPS to kombu.transport.django. [github.com](https://github.com/celery/kombu/blob/v2.0.0/Changelog)

And 37 more in this version.

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