-
-
Notifications
You must be signed in to change notification settings - Fork 992
Expand file tree
/
Copy pathChangelog.rst
More file actions
5856 lines (3884 loc) · 165 KB
/
Changelog.rst
File metadata and controls
5856 lines (3884 loc) · 165 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.. _changelog:
================
Change history
================
.. _version-5.6.2:
5.6.2
=====
:release-date: 29 December, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- Improve error handling in GCP Pub/Sub ack deadline extension (#2430)
- Fix SentinelChannel to pass ACL credentials to master_for() (#2426)
- Fix credential_provider compatibility with redis-py < 5.3.0 (#2423)
- Simplify requirements given Py3.9+ baseline (#2414)
- Prepare for release: v5.6.2 (#2434)
.. _version-5.6.1:
5.6.1
=====
: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 #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 #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 #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 #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 #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 #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 #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:
5.6.0rc2
========
:release-date: 20 October, 2025
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
QoS Max Prefetch Limit
----------------------
`PR #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 #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 #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 #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 #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 #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 #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 (#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)
.. _version-5.6.0rc1:
5.6.0rc1
========
:release-date: 28 September, 2025
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
QoS Max Prefetch Limit
----------------------
`PR #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 #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 #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 #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 #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 #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 #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 (#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)
.. _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:
5.6.0b2
=======
:release-date: 12 August, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- 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)
.. _version-5.6.0b1:
5.6.0b1
=======
:release-date: 29 July, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- 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)
.. _version-5.5.4:
5.5.4
=====
:release-date: 01 June, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- chore: add Codecov test analytics (#2290)
- Added DeepWiki to README (#2295)
- redis.connection.ConnectionPool API change: get_connection does not accept arguments (#2294)
- Update mongodb.txt to match celery version (#2297)
- Update ubuntu version as per blacksmiths update (#2301)
- Resolve logger warnings (#2302)
- Fixed lint error from `kombu/transport/native_delayed_delivery.py` (#2308)
- Prepare for release: v5.5.4 (#2309)
.. _version-5.5.3:
5.5.3
=====
:release-date: 16 Apr, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- Fix error of double normalization options from URI in mongodb transport (#2282)
- Move use of typing_extensions into TYPE_CHECKING block (#2283)
- Do not pin package tzdata anymore (#2274)
- Typo in pools's documentation (#2285)
- Prepare for release: v5.5.3 (#2288)
.. _version-5.5.2:
5.5.2
=====
:release-date: 31 Mar, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- Bump tzdata from 2025.1 to 2025.2 (#2268)
- Downgrad kafka version to make the CI green again (#2271)
- Attempt to fix retry loop in `maybe_declare()` when broken connection (#2275)
- Prepare for release: v5.5.2 (#2278)
.. _version-5.5.1:
5.5.1
=====
:release-date: 24 Mar, 2025
:release-by: Tomer Nosrati
What's Changed
~~~~~~~~~~~~~~
- Update trove classifier with missing python 3.13 (#2262)
- Fix native_delayed_delivery for queue with explicit bindings (#2263)
- SQS: Fix Query Protocol Content-Type header (#2266)
- SQS: More Protocol Tests (#2267)
- Prepare for release: v5.5.1 (#2270)
.. _version-5.5.0:
5.5.0
=====
:release-date: 13 Mar, 2025
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
Native Delayed Delivery
-----------------------
Official support to `RabbitMQ Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_,
which is required to enable ETA tasks with quorum queues in Celery.
urllib3 instead of curl
-----------------------
We can finally say goodbye to the :pypi:`pycurl` dependency and use :pypi:`urllib3` instead.
Transport: Google Pub/Sub
-------------------------
New support for Google Pub/Sub as a transport broker.
What's Changed
~~~~~~~~~~~~~~
- Pin tzdata to latest version 2024.2 (#2121)
- Refactored CI (#2122)
- Added unit tests to "tox -e parallel" environment (#2123)
- Improve pre-commit checks and fix all new lint errors (#2124)
- Removed codecov flags (#2126)
- Pin pre-commit to latest version 3.8.0 (#2125)
- Limit redis-py <5.1.0 (#2132)
- Removed "on push" from the linter GitHub Actions workflow (#2133)
- Bump pymongo from 4.9.1 to 4.10.0 (#2130)
- Update pymongo to 4.10.1 (#2136)
- fix(pytest): skip file-lock test on Windows (#2138)
- Apply errback and callback when retry occurs (#2129)
- Pin pre-commit to latest version 4.0.0 (Python 3.9+) (#2140)
- Pin pre-commit to latest version 4.0.1 (#2144)
- Add native delayed delivery API to kombu (#2128)
- Add support for Google Pub/Sub as transport broker (#2147)
- Update the transport options according to the retry policy (#2148)
- Feature: urllib3 instead of curl (#2134)
- Update mypy to 1.12.0 (#2149)
- Prepare for (pre) release: v5.5.0rc1 (#2150)
- Added missing changelog highlight for Google Pub/Sub (#2151)
- Bump grpcio from 1.66.2 to 1.67.0 (#2158)
- Fix: restrict google-cloud-pubsub version (#2160)
- Update mypy to 1.12.1 (#2164)
- Added a unit test that proves timeout is used when retry policy is specified (#2166)
- Fix regression from #2148 (#2165)
- Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2 (#2168)
- Revert "Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2" (#2169)
- Update mypy to 1.13.0 (#2172)
- Fix: restrict google protobuf version (#2175)
- Add support for Python 3.13 (#2052)
- Apply retry policy to maybe_declare() (#2174)
- Pin redis to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.0 (#2178)
- Added confirm_timeout argument to publish() (#2167)
- Prepare for (pre) release: v5.5.0rc2 (#2181)
- Bump pytest-cov from 5.0.0 to 6.0.0 (#2183)
- Add documentation for debug logs environment variables (#2186)
- Add documentation for py-amqp transport options (#2187)
- Bump codecov/codecov-action from 4 to 5 (#2189)
- Update pytest to 8.3.4 (#2196)
- Update redis requirement from !=4.5.5,!=5.0.2,<=5.2.0,>=4.5.2 to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.1 (#2203)
- Close connections in case of an exception (#2201)
- Bump pytest-freezer from 0.4.8 to 0.4.9 (#2205)
- Bump mypy from 1.13.0 to 1.14.0 (#2211)
- fix(sqs): don't crash on multiple predefined queues with aws sts session (#2224)
- Bump mypy from 1.14.0 to 1.14.1 (#2215)
- Bump tzdata from 2024.2 to 2025.1 (#2230)
- fix: interpret the ssl_check_hostname as a boolean (#2229)
- Revert "Resolving TypeError, during version unpacking " (#2225)
- Bump flake8 from 7.1.1 to 7.1.2 (#2244)
- Prepare for (pre) release: v5.5.0rc3 (#2247)
- Bump pytest from 8.3.4 to 8.3.5 (#2253)
- Update delayed_infra example for better clarity (#2252)
- SQS: Support Async JSON SQS Protocol & Message Attributes (#2226)
- Prepare for release: v5.5.0 (#2255)
Changes since 5.5.0rc3
----------------------
- Bump pytest from 8.3.4 to 8.3.5 (#2253)
- Update delayed_infra example for better clarity (#2252)
- SQS: Support Async JSON SQS Protocol & Message Attributes (#2226)
.. _version-5.5.0rc3:
5.5.0rc3
========
:release-date: 20 Feb, 2025
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
Native Delayed Delivery
-----------------------
Official support to `RabbitMQ Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_,
which is required to enable ETA tasks with quorum queues in Celery.
urllib3 instead of curl
-----------------------
We can finally say goodbye to the :pypi:`pycurl` dependency and use :pypi:`urllib3` instead.
Transport: Google Pub/Sub
-------------------------
New support for Google Pub/Sub as a transport broker.
What's Changed
~~~~~~~~~~~~~~
- Bump pytest-cov from 5.0.0 to 6.0.0 (#2183)
- Add documentation for debug logs environment variables (#2186)
- Add documentation for py-amqp transport options (#2187)
- Bump codecov/codecov-action from 4 to 5 (#2189)
- Update pytest to 8.3.4 (#2196)
- Update redis requirement from !=4.5.5,!=5.0.2,<=5.2.0,>=4.5.2 to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.1 (#2203)
- Close connections in case of an exception (#2201)
- Bump pytest-freezer from 0.4.8 to 0.4.9 (#2205)
- Bump mypy from 1.13.0 to 1.14.0 (#2211)
- fix(sqs): don't crash on multiple predefined queues with aws sts session (#2224)
- Bump mypy from 1.14.0 to 1.14.1 (#2215)
- Bump tzdata from 2024.2 to 2025.1 (#2230)
- fix: interpret the ssl_check_hostname as a boolean (#2229)
- Revert "Resolving TypeError, during version unpacking " (#2225)
- Bump flake8 from 7.1.1 to 7.1.2 (#2244)
- Prepare for (pre) release: v5.5.0rc3 (#2247)
.. _version-5.5.0rc2:
5.5.0rc2
========
:release-date: 29 Oct, 2024
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
Native Delayed Delivery
-----------------------
Official support to `RabbitMQ Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_,
which is required to enable ETA tasks with quorum queues in Celery.
urllib3 instead of curl
-----------------------
We can finally say goodbye to the :pypi:`pycurl` dependency and use :pypi:`urllib3` instead.
Transport: Google Pub/Sub
-------------------------
New support for Google Pub/Sub as a transport broker.
What's Changed
~~~~~~~~~~~~~~
- Added missing changelog highlight for Google Pub/Sub (#2151)
- Bump grpcio from 1.66.2 to 1.67.0 (#2158)
- Fix: restrict google-cloud-pubsub version (#2160)
- Update mypy to 1.12.1 (#2164)
- Added a unit test that proves timeout is used when retry policy is specified (#2166)
- Fix regression from #2148 (#2165)
- Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2 (#2168)
- Revert "Update google-cloud-pubsub requirement from <=2.20.3,>=2.18.4 to >=2.18.4,<=2.25.2" (#2169)
- Update mypy to 1.13.0 (#2172)
- Fix: restrict google protobuf version (#2175)
- Add support for Python 3.13 (#2052)
- Apply retry policy to maybe_declare() (#2174)
- Pin redis to >=4.5.2,!=4.5.5,!=5.0.2,<=5.2.0 (#2178)
- Added confirm_timeout argument to publish() (#2167)
- Prepare for (pre) release: v5.5.0rc2 (#2181)
.. _version-5.5.0rc1:
5.5.0rc1
========
:release-date: 14 Oct, 2024
:release-by: Tomer Nosrati
Key Highlights
~~~~~~~~~~~~~~
Native Delayed Delivery
-----------------------
Official support to `RabbitMQ Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_,
which is required to enable ETA tasks with quorum queues in Celery.
urllib3 instead of curl
-----------------------
We can finally say goodbye to the :pypi:`pycurl` dependency and use :pypi:`urllib3` instead.
Transport: Google Pub/Sub
-------------------------
New support for Google Pub/Sub as a transport broker.
What's Changed
~~~~~~~~~~~~~~
- Pin tzdata to latest version 2024.2 (#2121)
- Refactored CI (#2122)
- Added unit tests to "tox -e parallel" environment (#2123)
- Improve pre-commit checks and fix all new lint errors (#2124)
- Removed codecov flags (#2126)
- Pin pre-commit to latest version 3.8.0 (#2125)
- Limit redis-py <5.1.0 (#2132)
- Removed "on push" from the linter GitHub Actions workflow (#2133)
- Bump pymongo from 4.9.1 to 4.10.0 (#2130)
- Update pymongo to 4.10.1 (#2136)
- fix(pytest): skip file-lock test on Windows (#2138)
- Apply errback and callback when retry occurs (#2129)
- Pin pre-commit to latest version 4.0.0 (Python 3.9+) (#2140)
- Pin pre-commit to latest version 4.0.1 (#2144)
- Add native delayed delivery API to kombu (#2128)
- Add support for Google Pub/Sub as transport broker (#2147)
- Update the transport options according to the retry policy (#2148)
- Feature: urllib3 instead of curl (#2134)
- Update mypy to 1.12.0 (#2149)
- Prepare for (pre) release: v5.5.0rc1 (#2150)
.. _version-5.4.2:
5.4.2
=====
:release-date: 19 Sep, 2024
:release-by: Tomer Nosrati
Fixed issue with SQS #2113
- tzdata is required for machines without IANA database (#2107)
- blacksmith.sh: Migrate workflows to Blacksmith (#2112)
- Revert "Validate SQS SSL certs by default" (#2114)
- Update pymongo to 4.9 (#2115)
- Bump pymongo from 4.9 to 4.9.1 (#2118)
- Prepare for release: v5.4.2 (#2119)
.. _version-5.4.1:
5.4.1
=====
:release-date: 11 Sep, 2024
:release-by: Tomer Nosrati
- Update mypy to 1.11.2 (#2101)
- SQS: Fixes #2091 queue_delete() method doesn't actually delete the queue (#2099)
- Validate SQS SSL certs by default (#2094)
- Resolving TypeError, during version unpacking (#2098)
- Revert: allow users to disable broker heartbeats by not providing a timeout (#2097, #2016) (#2104)
- Update msgpack to 1.1.0 (#2105)
- Update pytest to 8.3.3 (#2108)
- Prepare for release: v5.4.1 (#2109)
.. _version-5.4.0:
5.4.0
=====
:release-date: 6 August, 2024
:release-by: Tomer Nosrati
We want to add a special thanks to contribution `#2007 <https://github.com/celery/kombu/pull/2007>`_ by
@awmackowiak for fixing the Redis reconnection bug. Restoring Redis stability has been an essential improvement - thank you!
The rest of the changes are listed below.
Changes
-------
- fix: Fanout exchange messages mixed across virtual databases in Redis sentinel (#1986)
- Pin pymongo to latest version 4.7.2 (#1994)
- enable/fix test_etcd.py (resolves #2001) (#2002)
- Limit requests<2.32.0 due to docker-py issue 3256 (#2011)
- enhance: allow users to disable broker heartbeats (#1998)
- enhance: allow uses to disable broker heartbeats by not providing a timeout (#1997, #1998) (#2016)
- chore(typing): annotate `utils/debug.py` (#1714)
- ConnectionPool can't be used after .resize(..., reset=True) (resolves #2018) (#2024)
- Fix Redis connections after reconnect - consumer starts consuming the tasks after crash (#2007)
- Add support for mongodb+srv scheme (#1976)
- Added Changelog for v5.4.0rc1 (#2033)
- Fixed bumpversion bug with RC versions (#2034)
- Fix typo in README.rst (#2036)
- Reverted limiting requests<2.32.0 in requirements/default.txt but kept in tox.ini due to docker-py issue 3256 (#2041)
- Redis transport - Redelivered messages should respect the original priority (#2026)
- Exclude Unit 3.9 from CI (#2046)
- Fixed CI error from excluding Python 3.9 unit tests (#2047)
- Fixed flaky integration test: test_publish_requeue_consume() (#2048)
- fix: don't crash on `properties`.`body_encoding`: `utf-8` (#1690)
- chore: handle kafka transport with confluentkafka ✨ (#1574)
- Revert "Exclude Unit 3.9 from CI #2046" (#2054)
- fix azure service bus isinstance checks when None (#2053)
- Added Changelog for v5.4.0rc2 (#2056)
- Fixed typo in Changelog for v5.4.0rc2 (#2057)
- Use logging.Logger.warning (#2058)
- SQS: add support for passing MessageAttributes (#2059)
- Added Changelog for v5.4.0rc3 (#2064)
- Prepare for release: v5.4.0 (#2095)
Dependencies Updates
--------------------
- Update mypy to 1.10.0 (#1988)
- Update pytest to 8.2.0 (#1990)
- Bump pytest from 8.2.0 to 8.2.1 (#2005)
- Pin typing_extensions to latest version 4.12.1 (#2017)
- Bump pytest from 8.2.1 to 8.2.2 (#2021)
- Bump pymongo from 4.7.2 to 4.7.3 (#2022)
- Update flake8 to 7.1.0 (#2028)
- Bump mypy from 1.10.0 to 1.10.1 (#2039)
- Bump pymongo from 4.7.3 to 4.8.0 (#2044)
- Pin zstandard to latest version 0.23.0 (#2060)
- Update mypy to 1.11.0 (#2062)
- Update pytest to 8.3.1 (#2063)
- Update typing_extensions to 4.12.2 (#2066)
- Pin vine to latest version 5.1.0 (#2067)
- Update pytest to 8.3.2 (#2076)
- Pin codecov to latest version 2.1.13 (#2084)
- Pin pytest-freezer to latest version 0.4.8 (#2085)
- Pin msgpack to latest version 1.0.8 (#2080)
- Pin python-consul2 to latest version 0.1.5 (#2078)
- Pin pycouchdb to latest version 1.16.0 (#2079)
- Pin bumpversion to latest version 0.6.0 (#2083)
- Pin kazoo to latest version 2.10.0 (#2082)
- Pin pyro4 to latest version 4.82 (#2081)
- Bump mypy from 1.11.0 to 1.11.1 (#2087)
- Bump flake8 from 7.1.0 to 7.1.1 (#2090)
Changes since 5.4.0rc3
----------------------
- Update typing_extensions to 4.12.2 (#2066)
- Pin vine to latest version 5.1.0 (#2067)
- Update pytest to 8.3.2 (#2076)
- Pin codecov to latest version 2.1.13 (#2084)
- Pin pytest-freezer to latest version 0.4.8 (#2085)
- Pin msgpack to latest version 1.0.8 (#2080)
- Pin python-consul2 to latest version 0.1.5 (#2078)
- Pin pycouchdb to latest version 1.16.0 (#2079)
- Pin bumpversion to latest version 0.6.0 (#2083)
- Pin kazoo to latest version 2.10.0 (#2082)
- Pin pyro4 to latest version 4.82 (#2081)
- Bump mypy from 1.11.0 to 1.11.1 (#2087)
- Bump flake8 from 7.1.0 to 7.1.1 (#2090)
- Prepare for release: v5.4.0 (#2095)
.. _version-5.4.0rc3:
5.4.0rc3
========
:release-date: 22 July, 2024
:release-by: Tomer Nosrati
- Fixed typo in Changelog for v5.4.0rc2 (#2057)
- Use logging.Logger.warning (#2058)
- Pin zstandard to latest version 0.23.0 (#2060)
- Update mypy to 1.11.0 (#2062)
- Update pytest to 8.3.1 (#2063)
- SQS: add support for passing MessageAttributes (#2059)
.. _version-5.4.0rc2:
5.4.0rc2
========
:release-date: 11 July, 2024
:release-by: Tomer Nosrati
The ``requests`` package is no longer limited to <2.32.0 per #2041.
Contribution #2007 by @awmackowiak was confirmed to have solved the Redis reconnection bug.
- Bump mypy from 1.10.0 to 1.10.1 (#2039)
- Fix typo in README.rst (#2036)
- Reverted limiting requests<2.32.0 in requirements/default.txt but kept in tox.ini due to docker-py issue 3256 (#2041)
- Redis transport - Redelivered messages should respect the original priority (#2026)
- Exclude Unit 3.9 from CI (#2046)
- Fixed CI error from excluding Python 3.9 unit tests (#2047)
- Fixed flaky integration test: test_publish_requeue_consume() (#2048)
- Bump pymongo from 4.7.3 to 4.8.0 (#2044)
- fix: don't crash on `properties`.`body_encoding`: `utf-8` (#1690)
- chore: handle kafka transport with confluentkafka ✨ (#1574)
- Revert "Exclude Unit 3.9 from CI #2046" (#2054)
- fix azure service bus isinstance checks when None (#2053)
.. _version-5.4.0rc1:
5.4.0rc1
========
:release-date: 22 June, 2024
:release-by: Tomer Nosrati
We want to add a special thanks to contribution #2007 by @awmackowiak for fixing the Redis reconnection bug.
This release candidate aims to allow the community to test the changes and provide feedback.
Please let us know if Redis is stable again!
New: #1998, #2016, #2024, #1976
The rest of the changes are bug fixes and dependency updates.
Lastly, ``requests`` is limited to <2.32.0 per #2011.
- Update mypy to 1.10.0 (#1988)
- Update pytest to 8.2.0 (#1990)
- fix: Fanout exchange messages mixed across virtual databases in Redis sentinel (#1986)
- Pin pymongo to latest version 4.7.2 (#1994)
- enable/fix test_etcd.py (resolves #2001) (#2002)
- Bump pytest from 8.2.0 to 8.2.1 (#2005)
- Limit requests<2.32.0 due to docker-py issue 3256 (#2011)
- enhance: allow users to disable broker heartbeats (#1998)
- enhance: allow uses to disable broker heartbeats by not providing a timeout (#1997,#1998) (#2016)
- Pin typing_extensions to latest version 4.12.1 (#2017)
- chore(typing): annotate `utils/debug.py` (#1714)
- Bump pytest from 8.2.1 to 8.2.2 (#2021)
- Bump pymongo from 4.7.2 to 4.7.3 (#2022)
- ConnectionPool can't be used after .resize(..., reset=True) (resolves #2018) (#2024)
- Fix Redis connections after reconnect - consumer starts consuming the tasks after crash. (#2007)
- Update flake8 to 7.1.0 (#2028)
- Add support for mongodb+srv scheme (#1976)
.. _version-5.3.7:
5.3.7
=====
:release-date: 11 April, 2024
:release-by: Tomer Nosrati
The release of v5.3.6 was missing the bumbversion commit so v5.3.7 is only released to sync it back.
.. _version-5.3.6:
5.3.6
=====
:release-date: 27 Mar, 2024
:release-by: Tomer Nosrati
- boto3>=1.26.143 (#1890)
- Always convert azureservicebus namespace to fully qualified (#1892)
- Pin pytest-sugar to latest version 1.0.0 (#1912)
- Upgrade to pytest v8 that removed nose compatibility (#1914)
- fix warning for usage of utcfromtimestamp (#1926)
- Update pytest to 8.0.2 (#1942)
- Hotfix: Fix CI failures (limit redis to <5.0.2 instead of <6.0.0) (#1961)
- Expose cancel callback from py-amqp channel.basic_consume (#1953)
- Update mypy to 1.9.0 (#1963)
- Update pytest to 8.1.1 (#1965)
- Pin hypothesis to hypothesis<7 (#1966)
- redis>=4.5.2,<5.0.2,!=4.5.5 -> redis>=4.5.2,!=5.0.2,!=4.5.5 (#1969)
- add escape hatch for custom JSON serialization (#1955)
- Pin pytest-cov to latest version 5.0.0 (#1972)
.. _version-5.3.5:
5.3.5
=====
:release-date: 12 Jan, 2024
:release-by: Tomer Nosrati
- Fix ReadTheDocs CI (#1827).
- fix(docs): add Redis to the list of transports where SSL is supported (#1826).
- Fixed Improper Method Call: Replaced `mktemp` (#1828).
- Bump actions/setup-python from 4 to 5 (#1829).
- Bump github/codeql-action from 2 to 3 (#1832).
- fix: freeze set during ticks iter in async hub (#1830).
- azure service bus: fix TypeError when using Managed Identities (#1825).
- Fix unacknowledge typo in restore_visible() (#1839).
- Changed pyup -> dependabot for updating dependencies (#1842).
- Bump pytest from 7.4.3 to 7.4.4 (#1843).
- Bump flake8 from 6.0.0 to 7.0.0 (#1845).
- Bump mypy from 1.3.0 to 1.8.0 (#1844).
- Fix crash when using global_keyprefix with a sentinel connection (#1838)
- Fixed version_dev in docs/conf.py (#1875).
.. _version-5.3.4:
5.3.4
=====
:release-date: 16 Nov, 2023
:release-by: Asif Saif Uddin
- Use the correct protocol for SQS requests (#1807).
.. _version-5.3.3:
5.3.3
=====
:release-date: 6 Nov, 2023
:release-by: Asif Saif Uddin
- Raise access denied error when ack.
- test redis 5.0.0.
- fix azure servicebus using managed identity support (#1801).
- Added as_uri method to MongoDB transport - Fixes #1795 (#1796).
- Revert "[fix #1726] Use boto3 for SQS async requests (#1759)" (#1799).
- Create a lock on cached_property if not present (#1811).
- Bump kafka deps versions & fix integration test failures (#1818).
- Added Python 3.12 support.
- Fix: redis requeue concurrency bug #1800 (#1805).
.. _version-5.3.2:
5.3.2
=====
:release-date: 31 Aug, 2023
:release-by: Tomer Nosrati
- Reverted unwanted constraint introduced in #1629 with max_retries (#1755)
- Doc fix (hotfix for #1755) (#1758)
- Python3.12: fix imports in kombu/utils/objects.py (#1756)
- [fix #1726] Use boto3 for SQS async requests (#1759)
- docs: Remove SimpleQueue import (#1764)
- Fixed pre-commit issues (#1773)
- azure service bus: add managed identity support (#1641)
- fix: Prevent redis task loss when closing connection while in poll (#1733)
- Kombu & celery with SQS #222 (#1779)
- syntax correction (#1780)
.. _version-5.3.1:
5.3.1
=====
:release-date: 15 Jun, 2023
:release-by: Asif Saif Uddin
- Update pycurl version.
- Declare python 3.11 support (#1425).
- Fix: allow deserializing any version of UUID.
- Update PyCurl version in SQS (#1747).
.. _version-5.3.0:
5.3.0
=====
:release-date: 03 Jun, 2023
:release-by: Asif Saif Uddin
- Support for Kafka as transport.
- Add fanout to filesystem (#1499).
- Added possibility to serialize and deserialize binary messages in json (#1516).
- Support pymongo 4.x (#1536).
- Support redis-py 4.5.x.
- Upgrade Azure Storage Queues transport to version 12 (#1539).
- Add support to SQS DelaySeconds (#1567).
- Add WATCH to prefixed complex commands.
- Avoid losing type of UUID when serializing/deserializing (#1575).
- Added HLEN to the list of prefixed redis commands (#1540).
- Add managed identity support to azure storage queue (#1631).
- Add Support of sqlalchemy v2.0.
- Deprecate pytz and use zoneinfo (#1680)