| 1 |
.. _changelog-5.1: |
| 2 |
|
| 3 |
================ |
| 4 |
Change history |
| 5 |
================ |
| 6 |
|
| 7 |
This document contains change notes for bugfix & new features |
| 8 |
in the & 5.1.x series, please see :ref:`whatsnew-5.1` for |
| 9 |
an overview of what's new in Celery 5.1. |
| 10 |
|
| 11 |
.. version-5.1.2: |
| 12 |
|
| 13 |
5.1.2 |
| 14 |
===== |
| 15 |
:release-date: 2021-06-28 16.15 P.M UTC+3:00 |
| 16 |
:release-by: Omer Katz |
| 17 |
|
| 18 |
- When chords fail, correctly call errbacks. (#6814) |
| 19 |
|
| 20 |
We had a special case for calling errbacks when a chord failed which |
| 21 |
assumed they were old style. This change ensures that we call the proper |
| 22 |
errback dispatch method which understands new and old style errbacks, |
| 23 |
and adds test to confirm that things behave as one might expect now. |
| 24 |
- Avoid using the ``Event.isSet()`` deprecated alias. (#6824) |
| 25 |
- Reintroduce sys.argv default behaviour for ``Celery.start()``. (#6825) |
| 26 |
|
| 27 |
.. version-5.1.1: |
| 28 |
|
| 29 |
5.1.1 |
| 30 |
===== |
| 31 |
:release-date: 2021-06-17 16.10 P.M UTC+3:00 |
| 32 |
:release-by: Omer Katz |
| 33 |
|
| 34 |
- Fix ``--pool=threads`` support in command line options parsing. (#6787) |
| 35 |
- Fix ``LoggingProxy.write()`` return type. (#6791) |
| 36 |
- Couchdb key is now always coerced into a string. (#6781) |
| 37 |
- grp is no longer imported unconditionally. (#6804) |
| 38 |
This fixes a regression in 5.1.0 when running Celery in non-unix systems. |
| 39 |
- Ensure regen utility class gets marked as done when concertised. (#6789) |
| 40 |
- Preserve call/errbacks of replaced tasks. (#6770) |
| 41 |
- Use single-lookahead for regen consumption. (#6799) |
| 42 |
- Revoked tasks are no longer incorrectly marked as retried. (#6812, #6816) |
| 43 |
|
| 44 |
.. version-5.1.0: |
| 45 |
|
| 46 |
5.1.0 |
| 47 |
===== |
| 48 |
:release-date: 2021-05-23 19.20 P.M UTC+3:00 |
| 49 |
:release-by: Omer Katz |
| 50 |
|
| 51 |
- ``celery -A app events -c camera`` now works as expected. (#6774) |
| 52 |
- Bump minimum required Kombu version to 5.1.0. |
| 53 |
|
| 54 |
.. _version-5.1.0rc1: |
| 55 |
|
| 56 |
5.1.0rc1 |
| 57 |
======== |
| 58 |
:release-date: 2021-05-02 16.06 P.M UTC+3:00 |
| 59 |
:release-by: Omer Katz |
| 60 |
|
| 61 |
- Celery Mailbox accept and serializer parameters are initialized from configuration. (#6757) |
| 62 |
- Error propagation and errback calling for group-like signatures now works as expected. (#6746) |
| 63 |
- Fix sanitization of passwords in sentinel URIs. (#6765) |
| 64 |
- Add LOG_RECEIVED to customize logging. (#6758) |
| 65 |
|
| 66 |
.. _version-5.1.0b2: |
| 67 |
|
| 68 |
5.1.0b2 |
| 69 |
======= |
| 70 |
:release-date: 2021-05-02 16.06 P.M UTC+3:00 |
| 71 |
:release-by: Omer Katz |
| 72 |
|
| 73 |
- Fix the behavior of our json serialization which regressed in 5.0. (#6561) |
| 74 |
- Add support for SQLAlchemy 1.4. (#6709) |
| 75 |
- Safeguard against schedule entry without kwargs. (#6619) |
| 76 |
- ``task.apply_async(ignore_result=True)`` now avoids persisting the results. (#6713) |
| 77 |
- Update systemd tmpfiles path. (#6688) |
| 78 |
- Ensure AMQPContext exposes an app attribute. (#6741) |
| 79 |
- Inspect commands accept arguments again (#6710). |
| 80 |
- Chord counting of group children is now accurate. (#6733) |
| 81 |
- Add a setting :setting:`worker_cancel_long_running_tasks_on_connection_loss` |
| 82 |
to terminate tasks with late acknowledgement on connection loss. (#6654) |
| 83 |
- The ``task-revoked`` event and the ``task_revoked`` signal are not duplicated |
| 84 |
when ``Request.on_failure`` is called. (#6654) |
| 85 |
- Restore pickling support for ``Retry``. (#6748) |
| 86 |
- Add support in the redis result backend for authenticating with a username. (#6750) |
| 87 |
- The :setting:`worker_pool` setting is now respected correctly. (#6711) |
| 88 |
|
| 89 |
.. _version-5.1.0b1: |
| 90 |
|
| 91 |
5.1.0b1 |
| 92 |
======= |
| 93 |
:release-date: 2021-04-02 10.25 P.M UTC+6:00 |
| 94 |
:release-by: Asif Saif Uddin |
| 95 |
|
| 96 |
- Add sentinel_kwargs to Redis Sentinel docs. |
| 97 |
- Depend on the maintained python-consul2 library. (#6544). |
| 98 |
- Use result_chord_join_timeout instead of hardcoded default value. |
| 99 |
- Upgrade AzureBlockBlob storage backend to use Azure blob storage library v12 (#6580). |
| 100 |
- Improved integration tests. |
| 101 |
- pass_context for handle_preload_options decorator (#6583). |
| 102 |
- Makes regen less greedy (#6589). |
| 103 |
- Pytest worker shutdown timeout (#6588). |
| 104 |
- Exit celery with non zero exit value if failing (#6602). |
| 105 |
- Raise BackendStoreError when set value is too large for Redis. |
| 106 |
- Trace task optimizations are now set via Celery app instance. |
| 107 |
- Make trace_task_ret and fast_trace_task public. |
| 108 |
- reset_worker_optimizations and create_request_cls has now app as optional parameter. |
| 109 |
- Small refactor in exception handling of on_failure (#6633). |
| 110 |
- Fix for issue #5030 "Celery Result backend on Windows OS". |
| 111 |
- Add store_eager_result setting so eager tasks can store result on the result backend (#6614). |
| 112 |
- Allow heartbeats to be sent in tests (#6632). |
| 113 |
- Fixed default visibility timeout note in sqs documentation. |
| 114 |
- Support Redis Sentinel with SSL. |
| 115 |
- Simulate more exhaustive delivery info in apply(). |
| 116 |
- Start chord header tasks as soon as possible (#6576). |
| 117 |
- Forward shadow option for retried tasks (#6655). |
| 118 |
- --quiet flag now actually makes celery avoid producing logs (#6599). |
| 119 |
- Update platforms.py "superuser privileges" check (#6600). |
| 120 |
- Remove unused property `autoregister` from the Task class (#6624). |
| 121 |
- fnmatch.translate() already translates globs for us. (#6668). |
| 122 |
- Upgrade some syntax to Python 3.6+. |
| 123 |
- Add `azureblockblob_base_path` config (#6669). |
| 124 |
- Fix checking expiration of X.509 certificates (#6678). |
| 125 |
- Drop the lzma extra. |
| 126 |
- Fix JSON decoding errors when using MongoDB as backend (#6675). |
| 127 |
- Allow configuration of RedisBackend's health_check_interval (#6666). |
| 128 |
- Safeguard against schedule entry without kwargs (#6619). |
| 129 |
- Docs only - SQS broker - add STS support (#6693) through kombu. |
| 130 |
- Drop fun_accepts_kwargs backport. |
| 131 |
- Tasks can now have required kwargs at any order (#6699). |
| 132 |
- Min py-amqp 5.0.6. |
| 133 |
- min billiard is now 3.6.4.0. |
| 134 |
- Minimum kombu now is5.1.0b1. |
| 135 |
- Numerous docs fixes. |
| 136 |
- Moved CI to github action. |
| 137 |
- Updated deployment scripts. |
| 138 |
- Updated docker. |
| 139 |
- Initial support of python 3.9 added. |