Debian Codegraph @

docs/history/changelog-5.0.rst

raw
1 ================
2 Change history
3 ================
4
5 This document contains change notes for bugfix & new features
6 in the 5.0.x , please see :ref:`whatsnew-5.0` for
7 an overview of what's new in Celery 5.0.
8
9 .. _version-5.0.6:
10
11 5.0.6
12 =====
13 :release-date: 2021-06-28 3.00 P.M UTC+3:00
14 :release-by: Omer Katz
15
16 - Inspect commands accept arguments again (#6710).
17 - The :setting:`worker_pool` setting is now respected correctly (#6711).
18 - Ensure AMQPContext exposes an app attribute (#6741).
19 - Exit celery with non zero exit value if failing (#6602).
20 - --quiet flag now actually makes celery avoid producing logs (#6599).
21 - pass_context for handle_preload_options decorator (#6583).
22 - Fix --pool=threads support in command line options parsing (#6787).
23 - Fix the behavior of our json serialization which regressed in 5.0 (#6561).
24 - celery -A app events -c camera now works as expected (#6774).
25
26 .. _version-5.0.5:
27
28 5.0.5
29 =====
30 :release-date: 2020-12-16 5.35 P.M UTC+2:00
31 :release-by: Omer Katz
32
33 - Ensure keys are strings when deleting results from S3 (#6537).
34 - Fix a regression breaking `celery --help` and `celery events` (#6543).
35
36 .. _version-5.0.4:
37
38 5.0.4
39 =====
40 :release-date: 2020-12-08 2.40 P.M UTC+2:00
41 :release-by: Omer Katz
42
43 - DummyClient of cache+memory:// backend now shares state between threads (#6524).
44
45 This fixes a problem when using our pytest integration with the in memory
46 result backend.
47 Because the state wasn't shared between threads, #6416 results in test suites
48 hanging on `result.get()`.
49
50 .. _version-5.0.3:
51
52 5.0.3
53 =====
54 :release-date: 2020-12-03 6.30 P.M UTC+2:00
55 :release-by: Omer Katz
56
57 - Make `--workdir` eager for early handling (#6457).
58 - When using the MongoDB backend, don't cleanup if result_expires is 0 or None (#6462).
59 - Fix passing queues into purge command (#6469).
60 - Restore `app.start()` and `app.worker_main()` (#6481).
61 - Detaching no longer creates an extra log file (#6426).
62 - Result backend instances are now thread local to ensure thread safety (#6416).
63 - Don't upgrade click to 8.x since click-repl doesn't support it yet.
64 - Restore preload options (#6516).
65
66 .. _version-5.0.2:
67
68 5.0.2
69 =====
70 :release-date: 2020-11-02 8.00 P.M UTC+2:00
71 :release-by: Omer Katz
72
73 - Fix _autodiscover_tasks_from_fixups (#6424).
74 - Flush worker prints, notably the banner (#6432).
75 - **Breaking Change**: Remove `ha_policy` from queue definition. (#6440)
76
77 This argument has no effect since RabbitMQ 3.0.
78 Therefore, We feel comfortable dropping it in a patch release.
79
80 - Python 3.9 support (#6418).
81 - **Regression**: When using the prefork pool, pick the fair scheduling strategy by default (#6447).
82 - Preserve callbacks when replacing a task with a chain (#6189).
83 - Fix max_retries override on `self.retry()` (#6436).
84 - Raise proper error when replacing with an empty chain (#6452)
85
86 .. _version-5.0.1:
87
88 5.0.1
89 =====
90 :release-date: 2020-10-18 1.00 P.M UTC+3:00
91 :release-by: Omer Katz
92
93 - Specify UTF-8 as the encoding for log files (#6357).
94 - Custom headers now propagate when using the protocol 1 hybrid messages (#6374).
95 - Retry creating the database schema for the database results backend
96 in case of a race condition (#6298).
97 - When using the Redis results backend, awaiting for a chord no longer hangs
98 when setting :setting:`result_expires` to 0 (#6373).
99 - When a user tries to specify the app as an option for the subcommand,
100 a custom error message is displayed (#6363).
101 - Fix the `--without-gossip`, `--without-mingle`, and `--without-heartbeat`
102 options which now work as expected. (#6365)
103 - Provide a clearer error message when the application cannot be loaded.
104 - Avoid printing deprecation warnings for settings when they are loaded from
105 Django settings (#6385).
106 - Allow lowercase log levels for the `--loglevel` option (#6388).
107 - Detaching now works as expected (#6401).
108 - Restore broadcasting messages from `celery control` (#6400).
109 - Pass back real result for single task chains (#6411).
110 - Ensure group tasks a deeply serialized (#6342).
111 - Fix chord element counting (#6354).
112 - Restore the `celery shell` command (#6421).
113
114 .. _version-5.0.0:
115
116 5.0.0
117 =====
118 :release-date: 2020-09-24 6.00 P.M UTC+3:00
119 :release-by: Omer Katz
120
121 - **Breaking Change** Remove AMQP result backend (#6360).
122 - Warn when deprecated settings are used (#6353).
123 - Expose retry_policy for Redis result backend (#6330).
124 - Prepare Celery to support the yet to be released Python 3.9 (#6328).
125
126 5.0.0rc3
127 ========
128 :release-date: 2020-09-07 4.00 P.M UTC+3:00
129 :release-by: Omer Katz
130
131 - More cleanups of leftover Python 2 support (#6338).
132
133 5.0.0rc2
134 ========
135 :release-date: 2020-09-01 6.30 P.M UTC+3:00
136 :release-by: Omer Katz
137
138 - Bump minimum required eventlet version to 0.26.1.
139 - Update Couchbase Result backend to use SDK V3.
140 - Restore monkeypatching when gevent or eventlet are used.
141
142 5.0.0rc1
143 ========
144 :release-date: 2020-08-24 9.00 P.M UTC+3:00
145 :release-by: Omer Katz
146
147 - Allow to opt out of ordered group results when using the Redis result backend (#6290).
148 - **Breaking Change** Remove the deprecated celery.utils.encoding module.
149
150 5.0.0b1
151 =======
152 :release-date: 2020-08-19 8.30 P.M UTC+3:00
153 :release-by: Omer Katz
154
155 - **Breaking Change** Drop support for the Riak result backend (#5686).
156 - **Breaking Change** pytest plugin is no longer enabled by default (#6288).
157 Install pytest-celery to enable it.
158 - **Breaking Change** Brand new CLI based on Click (#5718).
159
160 5.0.0a2
161 =======
162 :release-date: 2020-08-05 7.15 P.M UTC+3:00
163 :release-by: Omer Katz
164
165 - Bump Kombu version to 5.0 (#5686).
166
167 5.0.0a1
168 =======
169 :release-date: 2020-08-02 9.30 P.M UTC+3:00
170 :release-by: Omer Katz
171
172 - Removed most of the compatibility code that supports Python 2 (#5686).
173 - Modernized code to work on Python 3.6 and above (#5686).