Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
kombu (source) ==5.5.4 -> ==5.6.1 age adoption passing confidence

Release Notes

celery/kombu (kombu)

v5.6.1

Compare Source

=====
:release-date: 25 November, 2025
:release-by: Tomer Nosrati

What's Changed


- fix: ensure hub close does also remove global event loop reference (#​2404)
- fix: default value for SQS's receive message (#​2405)
- Feat: add support for credential_provider to redis broker (#​2408)
- Prepare for release: v5.6.1 (#​2416)

.. _version-5.6.0:

5.6.0
=====
:release-date: 1 November, 2025
:release-by: Tomer Nosrati

Key Highlights

QoS Max Prefetch Limit

PR #&#8203;2348 <https://github.com/celery/kombu/pull/2348>_

Prevent Out Of Memory crashes when queues flood with ETA/countdown tasks. The new optional max_prefetch parameter caps how many messages workers hold in memory. Defaults to unlimited (None) to preserve existing behavior.

.. code-block:: python

from kombu.common import QoS

Limit prefetch to maximum 100 messages

qos = QoS(callback=consumer.qos, initial_value=10, max_prefetch=100)

Redis Polling Interval Support

PR #&#8203;2346 <https://github.com/celery/kombu/pull/2346>_

Fix Redis transport to properly propagate polling_interval and brpop_timeout from transport_options to the Channel's _brpop_start timeout.

.. code-block:: python

app.conf.broker_transport_options = {"polling_interval": 10}

Leave it unset to keep the familiar 1-second default, or raise it to slow down idle polling.

Pidbox RabbitMQ 4.x Compatibility

PR #&#8203;2338 <https://github.com/celery/kombu/pull/2338>_

Let pidbox queues work on RabbitMQ 4.x brokers that reject transient, non-exclusive queues.

MongoDB Transport Improvements

PR #&#8203;2347 <https://github.com/celery/kombu/pull/2347>_

URI options now come through lowercase and flattened again, so settings like replicaSet=test_rs show up as options['replicaset'].

Resource Pool Gevent Compatibility

PR #&#8203;2314 <https://github.com/celery/kombu/pull/2314>_

Restore compatibility with recent gevent releases that monkey-patch the standard library queue.

Timezone-aware UTC Timestamps

PR #&#8203;2355 <https://github.com/celery/kombu/pull/2355>_

Replace every usage of datetime.utcnow() with datetime.now(timezone.utc) to return timezone-aware UTC datetimes.

Redis Client Name Support

PR #&#8203;2367 <https://github.com/celery/kombu/pull/2367>_

Support for propagating the client_name connection parameter through the Redis transport (including Sentinel) so that connections appear with meaningful names in monitoring tools.

What's Changed


Since v5.6.0rc2:
- Test on Python 3.14 (#&#8203;2361)
- Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#&#8203;2401)
- Prepare for release: v5.6.0 (#&#8203;2402)

Since v5.5.4:
- Revert "Feature: urllib3 instead of curl" (#&#8203;2261)
- Fix #&#8203;2286 : SQS - Enhance support for receiving message attributes. Allow string in msg body. (#&#8203;2300)
- Update gcpubsub.txt for protobuf (#&#8203;2320)
- fix body bytes encoding in curl.py (#&#8203;2322)
- Hotfix(aws_ssl): validate secure connection (#&#8203;2323)
- Update setup.py to remove deprecation warning (#&#8203;2298)
- Update protobuf to 5.29.5 (#&#8203;2199)
- Allow setting `tags` in initial `boto3.sqs.create_queue` call via `transport_options` (#&#8203;2321)
- Add sts_token_buffer_time parameter to transport options (#&#8203;2216)
- Docs: Fix incorrect "added in 5.6.0" note for sts_token_timeout in SQS transport docs (#&#8203;2327)
- SQS: when redelivering a message apply visibility timeout based on wait_time_seconds (long polling time) (#&#8203;2049)
- Bump redis requirement to <6 to support v5.3 (#&#8203;2329)
- Pidbox: support queue_exclusive / queue_durable (RabbitMQ 4.x) (#&#8203;2338)
- Prepare for (pre) release: v5.6.0b1 (#&#8203;2343)
- Normalize mongodb options keys (#&#8203;2347)
- Redis: propagate polling_interval from transport options to _brpop_start timeout (#&#8203;2346)
- Add max_prefetch limit to QoS class and related tests (#&#8203;2348)
- Prepare for (pre) release: v5.6.0b2 (#&#8203;2349)
- Remove custom `LifoQueue` class conflicting with recent gevent (#&#8203;2314)
- Replace deprecated datetime.utcnow() with datetime.now(timezone.utc) (#&#8203;2355)
- Prepare for (pre) release: v5.6.0b3 (#&#8203;2359)
- Bump mypy from 1.14.1 to 1.18.1 AGAIN (#&#8203;2363)
- Remove nested query from sqlalchemy _size (#&#8203;2315)
- Remove misused argument for autoflake (#&#8203;2368)
- Support client_name connection parameter for redis transport (#&#8203;2367)
- Prepare for (pre) release: v5.6.0rc1 (#&#8203;2369)
- Update Redis version constraint to <6.2 (#&#8203;2377)
- remove Python 3.8 from CI as EOL (#&#8203;2241)
- Revert "Bump pymongo from 4.10.1 to 4.15.3" (#&#8203;2384)
- Update requirements to remove backports.zoneinfo (#&#8203;2391)
- Update qpid-python and qpid-tools versions (#&#8203;2392)
- Remove Qpid transport from requirements of func test (#&#8203;2393)
- Fix comment grammar in entity_name test (#&#8203;2394)
- Prepare for (pre) release: v5.6.0rc2 (#&#8203;2396)
- Test on Python 3.14 (#&#8203;2361)
- Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#&#8203;2401)
- Prepare for release: v5.6.0 (#&#8203;2402)

.. _version-5.6.0rc2:

5.6.0rc2
========
:release-date: 20 October, 2025
:release-by: Tomer Nosrati

Key Highlights

QoS Max Prefetch Limit

PR #&#8203;2348 <https://github.com/celery/kombu/pull/2348>_

Prevent Out Of Memory crashes when queues flood with ETA/countdown tasks. The new optional max_prefetch parameter caps how many messages workers hold in memory. Defaults to unlimited (None) to preserve existing behavior.

.. code-block:: python

from kombu.common import QoS

Limit prefetch to maximum 100 messages

qos = QoS(callback=consumer.qos, initial_value=10, max_prefetch=100)

Redis Polling Interval Support

PR #&#8203;2346 <https://github.com/celery/kombu/pull/2346>_

Fix Redis transport to properly propagate polling_interval and brpop_timeout from transport_options to the Channel's _brpop_start timeout.

.. code-block:: python

app.conf.broker_transport_options = {"polling_interval": 10}

Leave it unset to keep the familiar 1-second default, or raise it to slow down idle polling.

Pidbox RabbitMQ 4.x Compatibility

PR #&#8203;2338 <https://github.com/celery/kombu/pull/2338>_

Let pidbox queues work on RabbitMQ 4.x brokers that reject transient, non-exclusive queues.

MongoDB Transport Improvements

PR #&#8203;2347 <https://github.com/celery/kombu/pull/2347>_

URI options now come through lowercase and flattened again, so settings like replicaSet=test_rs show up as options['replicaset'].

Resource Pool Gevent Compatibility

PR #&#8203;2314 <https://github.com/celery/kombu/pull/2314>_

Restore compatibility with recent gevent releases that monkey-patch the standard library queue.

Timezone-aware UTC Timestamps

PR #&#8203;2355 <https://github.com/celery/kombu/pull/2355>_

Replace every usage of datetime.utcnow() with datetime.now(timezone.utc) to return timezone-aware UTC datetimes.

Redis Client Name Support

PR #&#8203;2367 <https://github.com/celery/kombu/pull/2367>_

Support for propagating the client_name connection parameter through the Redis transport (including Sentinel) so that connections appear with meaningful names in monitoring tools.

What's Changed


- Update Redis version constraint to <6.2 (#&#8203;2377)
- remove Python 3.8 from CI as EOL (#&#8203;2241)
- Revert "Bump pymongo from 4.10.1 to 4.15.3" (#&#8203;2384)
- Update requirements to remove backports.zoneinfo (#&#8203;2391)
- Update qpid-python and qpid-tools versions (#&#8203;2392)
- Remove Qpid transport from requirements of func test (#&#8203;2393)
- Fix comment grammar in entity_name test (#&#8203;2394)
- Prepare for (pre) release: v5.6.0rc2 (#&#8203;2396)

.. _version-5.6.0rc1:

5.6.0rc1
========
:release-date: 28 September, 2025
:release-by: Tomer Nosrati

Key Highlights

QoS Max Prefetch Limit

PR #&#8203;2348 <https://github.com/celery/kombu/pull/2348>_

Prevent Out Of Memory crashes when queues flood with ETA/countdown tasks. The new optional max_prefetch parameter caps how many messages workers hold in memory. Defaults to unlimited (None) to preserve existing behavior.

.. code-block:: python

from kombu.common import QoS

Limit prefetch to maximum 100 messages

qos = QoS(callback=consumer.qos, initial_value=10, max_prefetch=100)

Redis Polling Interval Support

PR #&#8203;2346 <https://github.com/celery/kombu/pull/2346>_

Fix Redis transport to properly propagate polling_interval and brpop_timeout from transport_options to the Channel's _brpop_start timeout.

.. code-block:: python

app.conf.broker_transport_options = {"polling_interval": 10}

Leave it unset to keep the familiar 1-second default, or raise it to slow down idle polling.

Pidbox RabbitMQ 4.x Compatibility

PR #&#8203;2338 <https://github.com/celery/kombu/pull/2338>_

Let pidbox queues work on RabbitMQ 4.x brokers that reject transient, non-exclusive queues.

MongoDB Transport Improvements

PR #&#8203;2347 <https://github.com/celery/kombu/pull/2347>_

URI options now come through lowercase and flattened again, so settings like replicaSet=test_rs show up as options['replicaset'].

Resource Pool Gevent Compatibility

PR #&#8203;2314 <https://github.com/celery/kombu/pull/2314>_

Restore compatibility with recent gevent releases that monkey-patch the standard library queue.

Timezone-aware UTC Timestamps

PR #&#8203;2355 <https://github.com/celery/kombu/pull/2355>_

Replace every usage of datetime.utcnow() with datetime.now(timezone.utc) to return timezone-aware UTC datetimes.

Redis Client Name Support

PR #&#8203;2367 <https://github.com/celery/kombu/pull/2367>_

Support for propagating the client_name connection parameter through the Redis transport (including Sentinel) so that connections appear with meaningful names in monitoring tools.

What's Changed


- Bump mypy from 1.14.1 to 1.18.1 AGAIN (#&#8203;2363)
- Remove nested query from sqlalchemy _size (#&#8203;2315)
- Remove misused argument for autoflake (#&#8203;2368)
- Support client_name connection parameter for redis transport (#&#8203;2367)
- Prepare for (pre) release: v5.6.0rc1 (#&#8203;2369)

.. _version-5.6.0b3:

5.6.0b3
=======
:release-date: 15 September, 2025
:release-by: Tomer Nosrati

What's Changed
  • Remove custom LifoQueue class conflicting with recent gevent (#​2314)
  • Replace deprecated datetime.utcnow() with datetime.now(timezone.utc) (#​2355)
  • Prepare for (pre) release: v5.6.0b3 (#​2359)

.. _version-5.6.0b2:

v5.6.0

Compare Source

=====
:release-date: 1 November, 2025
:release-by: Tomer Nosrati

Key Highlights


QoS Max Prefetch Limit
----------------------

`PR #&#8203;2348 <https://github.com/celery/kombu/pull/2348>`_

Prevent Out Of Memory crashes when queues flood with ETA/countdown tasks. The new optional ``max_prefetch`` parameter caps how many messages workers hold in memory. Defaults to unlimited (``None``) to preserve existing behavior.

.. code-block:: python

    from kombu.common import QoS

### Limit prefetch to maximum 100 messages
    qos = QoS(callback=consumer.qos, initial_value=10, max_prefetch=100)

Redis Polling Interval Support
------------------------------

`PR #&#8203;2346 <https://github.com/celery/kombu/pull/2346>`_

Fix Redis transport to properly propagate ``polling_interval`` and ``brpop_timeout`` from ``transport_options`` to the Channel's ``_brpop_start`` timeout.

.. code-block:: python

    app.conf.broker_transport_options = {"polling_interval": 10}

Leave it unset to keep the familiar 1-second default, or raise it to slow down idle polling.

Pidbox RabbitMQ 4.x Compatibility
---------------------------------

`PR #&#8203;2338 <https://github.com/celery/kombu/pull/2338>`_

Let pidbox queues work on RabbitMQ 4.x brokers that reject transient, non-exclusive queues.

MongoDB Transport Improvements
------------------------------

`PR #&#8203;2347 <https://github.com/celery/kombu/pull/2347>`_

URI options now come through lowercase and flattened again, so settings like ``replicaSet=test_rs`` show up as ``options['replicaset']``.

Resource Pool Gevent Compatibility
----------------------------------

`PR #&#8203;2314 <https://github.com/celery/kombu/pull/2314>`_

Restore compatibility with recent gevent releases that monkey-patch the standard library queue.

Timezone-aware UTC Timestamps
-----------------------------

`PR #&#8203;2355 <https://github.com/celery/kombu/pull/2355>`_

Replace every usage of ``datetime.utcnow()`` with ``datetime.now(timezone.utc)`` to return timezone-aware UTC datetimes.

Redis Client Name Support
----------------------------------

`PR #&#8203;2367 <https://github.com/celery/kombu/pull/2367>`_

Support for propagating the ``client_name`` connection parameter through the Redis transport (including Sentinel) so that connections appear with meaningful names in monitoring tools.

What's Changed

Since v5.6.0rc2:

  • Test on Python 3.14 (#​2361)
  • Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#​2401)
  • Prepare for release: v5.6.0 (#​2402)

Since v5.5.4:

  • Revert "Feature: urllib3 instead of curl" (#​2261)
  • Fix #​2286 : SQS - Enhance support for receiving message attributes. Allow string in msg body. (#​2300)
  • Update gcpubsub.txt for protobuf (#​2320)
  • fix body bytes encoding in curl.py (#​2322)
  • Hotfix(aws_ssl): validate secure connection (#​2323)
  • Update setup.py to remove deprecation warning (#​2298)
  • Update protobuf to 5.29.5 (#​2199)
  • Allow setting tags in initial boto3.sqs.create_queue call via transport_options (#​2321)
  • Add sts_token_buffer_time parameter to transport options (#​2216)
  • Docs: Fix incorrect "added in 5.6.0" note for sts_token_timeout in SQS transport docs (#​2327)
  • SQS: when redelivering a message apply visibility timeout based on wait_time_seconds (long polling time) (#​2049)
  • Bump redis requirement to <6 to support v5.3 (#​2329)
  • Pidbox: support queue_exclusive / queue_durable (RabbitMQ 4.x) (#​2338)
  • Prepare for (pre) release: v5.6.0b1 (#​2343)
  • Normalize mongodb options keys (#​2347)
  • Redis: propagate polling_interval from transport options to _brpop_start timeout (#​2346)
  • Add max_prefetch limit to QoS class and related tests (#​2348)
  • Prepare for (pre) release: v5.6.0b2 (#​2349)
  • Remove custom LifoQueue class conflicting with recent gevent (#​2314)
  • Replace deprecated datetime.utcnow() with datetime.now(timezone.utc) (#​2355)
  • Prepare for (pre) release: v5.6.0b3 (#​2359)
  • Bump mypy from 1.14.1 to 1.18.1 AGAIN (#​2363)
  • Remove nested query from sqlalchemy _size (#​2315)
  • Remove misused argument for autoflake (#​2368)
  • Support client_name connection parameter for redis transport (#​2367)
  • Prepare for (pre) release: v5.6.0rc1 (#​2369)
  • Update Redis version constraint to <6.2 (#​2377)
  • remove Python 3.8 from CI as EOL (#​2241)
  • Revert "Bump pymongo from 4.10.1 to 4.15.3" (#​2384)
  • Update requirements to remove backports.zoneinfo (#​2391)
  • Update qpid-python and qpid-tools versions (#​2392)
  • Remove Qpid transport from requirements of func test (#​2393)
  • Fix comment grammar in entity_name test (#​2394)
  • Prepare for (pre) release: v5.6.0rc2 (#​2396)
  • Test on Python 3.14 (#​2361)
  • Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#​2401)
  • Prepare for release: v5.6.0 (#​2402)

.. _version-5.6.0rc2:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team November 26, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants