kombu breaking changes
Updated December 4, 2026
On this page
Latest version 5.7.0, released November 3, 2026. Source repository
Its 5.7.0a1 release drops Python 3.9. Python end of life dates.
- From 4.0.0 to 5.7.0: 75 breaking changes in 13 versions.
- From 2.0.0 to 5.7.0: 276 breaking changes in 15 versions.
kombu 5.7.0 breaking changes
- Removed
kombu.transport.redis.accepts_argument
kombu.transport.redis.accepts_argument was removed in kombu 5.7.0 pypi.org - Removed
kombu.utils.div.default_encode
kombu.utils.div.default_encode was removed in kombu 5.7.0 pypi.org - Behavior changed
Publishing a message that cannot be stored now raises an error instead of failing silently. Code must handle this exception. github.com - 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 - Behavior changed
Calling fileno() with None now raises ValueError instead of being accepted. Code that passes None must be changed. github.com - 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 - Behavior changed
URLs containing dotted schemes are now rejected. Connection URLs using such schemes must be changed. github.com - 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 - 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 - Configuration changed
The minimum supported Redis client version is now 6.4.0. Environments with older Redis clients must upgrade. github.com - 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 - 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 - 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 - Signature changed
kombu.transport.confluentkafka.QoS.__init__
Was def __init__(self, channel, prefetch_count=0); now def __init__(self, *args, **kwargs). pypi.org - 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 - 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 - 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 - 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 - Signature changed
kombu.transport.redis.PrefixedRedisPipeline
Was class PrefixedRedisPipeline(GlobalKeyPrefixMixin, redis.client.Pipeline); now class PrefixedRedisPipeline(GlobalKeyPrefixMixin, client.Pipeline). pypi.org - Signature changed
kombu.transport.redis.PrefixedRedisPubSub
Was class PrefixedRedisPubSub(redis.client.PubSub); now class PrefixedRedisPubSub(client.PubSub). pypi.org - 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 - Signature changed
kombu.transport.SQS.AccessDeniedQueueException
Was class AccessDeniedQueueException(Exception); now class AccessDeniedQueueException(KombuError). pypi.org - 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 - Signature changed
kombu.transport.SQS.DoesNotExistQueueException
Was class DoesNotExistQueueException(Exception); now class DoesNotExistQueueException(KombuError). pypi.org - Signature changed
kombu.transport.SQS.exceptions
Was from kombu.asynchronous.aws.ext import exceptions; now module kombu.transport.SQS.exceptions. pypi.org - Signature changed
kombu.transport.SQS.InvalidQueueException
Was class InvalidQueueException(Exception); now class InvalidQueueException(KombuError). pypi.org - Signature changed
kombu.transport.SQS.UndefinedQueueException
Was class UndefinedQueueException(Exception); now class UndefinedQueueException(KombuError). pypi.org
kombu 5.7.0b1 breaking changes
- Behavior changed
Passing a boolean as the pool limit now raises an error. github.com - Behavior changed
Exchange.Message
Per-message delays are now clamped to the range SQS allows. github.com - Behavior changed
sqs
Queue caches and clients are now per connection rather than shared, which may affect code relying on shared state. github.com
kombu 5.7.0a1 breaking changes
- Behavior changed
Connection URLs with dotted schemes are now rejected. github.com - Behavior changed
Python 3.9 is no longer tested in CI; users on Python 3.9 should check compatibility. github.com - Behavior changed
Exchange.Message now uses the delivery_mode argument it was given, so messages may be persisted differently than before. github.com - Behavior changed
kombu.transport.filesystem
Queue names with path components or substrings are no longer accepted or matched as before. github.com
kombu 5.6.1 breaking changes
- 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
kombu 5.6.0 breaking changes
- Removed
kombu.asynchronous.aws.AsyncSQSConnection.fetch_message_attributes
AsyncSQSConnection.fetch_message_attributes was removed in kombu 5.6.0 pypi.org - Removed
kombu.asynchronous.http.base.BaseClient
kombu.asynchronous.http.base.BaseClient was removed in kombu 5.6.0 pypi.org - Removed
kombu.asynchronous.http.get_client
kombu.asynchronous.http.get_client was removed in kombu 5.6.0 pypi.org - Removed
kombu.asynchronous.http.urllib3_client
kombu.asynchronous.http.urllib3_client was removed in kombu 5.6.0 pypi.org - Removed
kombu.transport.SQS.AsyncSQSConnection.fetch_message_attributes
kombu.transport.SQS.AsyncSQSConnection.fetch_message_attributes was removed in kombu 5.6.0 pypi.org - 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 - 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 - 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 - 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 - 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
kombu 5.6.0rc2 breaking changes
- 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
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
kombu 5.6.0rc1 breaking changes
- 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
kombu 5.6.0b3 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 - 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
kombu 5.5.4 breaking changes
- 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
kombu 5.5.0 breaking changes
- Removed
kombu.asynchronous.http.curl
kombu.asynchronous.http.curl was removed in kombu 5.5.0 pypi.org - 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
And 16 more in this version.
kombu 5.4.2 breaking changes
- 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
kombu 5.4.1 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 - 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
And 3 more in this version.
kombu 5.4.0 breaking changes
- 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
kombu 4.0.0 breaking changes
- Signature changed
kombu.abstract.MaybeChannelBound.__repr__
Was def __repr__(self, item=''); now def __repr__(self). pypi.org - Signature changed
kombu.async.debug.items
Was def items(d); now from kombu.five import items. pypi.org
And 64 more in this version.
kombu 3.0.0 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 - Removed
kombu.common.entry_to_queue
Use Queue.from_dict(name, **options) instead. github.com
And 133 more in this version.
kombu 2.0.0 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 - 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
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, 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.