Debian Codegraph @

docs/history/changelog-4.1.rst

raw
1 .. _changelog-4.1:
2
3 ================
4 Change history
5 ================
6
7 This document contains change notes for bugfix releases in
8 the 4.1.x series, please see :ref:`whatsnew-4.2` for
9 an overview of what's new in Celery 4.2.
10
11 .. _version-4.1.1:
12
13 4.1.1
14 =====
15 :release-date: 2018-05-21 12:48 PM PST
16 :release-by: Omer Katz
17
18 .. important::
19
20 Please upgrade as soon as possible or pin Kombu to 4.1.0.
21
22 - **Breaking Change**: The module `async` in Kombu changed to `asynchronous`.
23
24 Contributed by **Omer Katz & Asif Saifuddin Auvi**
25
26 .. _version-4.1.0:
27
28 4.1.0
29 =====
30 :release-date: 2017-07-25 00:00 PM PST
31 :release-by: Omer Katz
32
33
34 - **Configuration**: CELERY_SEND_EVENTS instead of CELERYD_SEND_EVENTS for 3.1.x compatibility (#3997)
35
36 Contributed by **abhinav nilaratna**.
37
38 - **App**: Restore behavior so Broadcast queues work. (#3934)
39
40 Contributed by **Patrick Cloke**.
41
42 - **Sphinx**: Make appstr use standard format (#4134) (#4139)
43
44 Contributed by **Preston Moore**.
45
46 - **App**: Make id, name always accessible from logging.Formatter via extra (#3994)
47
48 Contributed by **Yoichi NAKAYAMA**.
49
50 - **Worker**: Add worker_shutting_down signal (#3998)
51
52 Contributed by **Daniel Huang**.
53
54 - **PyPy**: Support PyPy version 5.8.0 (#4128)
55
56 Contributed by **Omer Katz**.
57
58 - **Results**: Elasticsearch: Fix serializing keys (#3924)
59
60 Contributed by :github_user:`staticfox`.
61
62 - **Canvas**: Deserialize all tasks in a chain (#4015)
63
64 Contributed by :github_user:`fcoelho`.
65
66 - **Systemd**: Recover loglevel for ExecStart in systemd config (#4023)
67
68 Contributed by **Yoichi NAKAYAMA**.
69
70 - **Sphinx**: Use the Sphinx add_directive_to_domain API. (#4037)
71
72 Contributed by **Patrick Cloke**.
73
74 - **App**: Pass properties to before_task_publish signal (#4035)
75
76 Contributed by **Javier Domingo Cansino**.
77
78 - **Results**: Add SSL option for Redis backends (#3831)
79
80 Contributed by **Chris Kuehl**.
81
82 - **Beat**: celery.schedule.crontab: fix reduce (#3826) (#3827)
83
84 Contributed by **Taylor C. Richberger**.
85
86 - **State**: Fix celery issues when using flower REST API
87
88 Contributed by **Thierry RAMORASOAVINA**.
89
90 - **Results**: Elasticsearch: Fix serializing document id.
91
92 Contributed by **Acey9**.
93
94 - **Beat**: Make shallow copy of schedules dictionary
95
96 Contributed by **Brian May**.
97
98 - **Beat**: Populate heap when periodic tasks are changed
99
100 Contributed by **Wojciech Żywno**.
101
102 - **Task**: Allow class methods to define tasks (#3952)
103
104 Contributed by **georgepsarakis**.
105
106 - **Platforms**: Always return boolean value when checking if signal is supported (#3962).
107
108 Contributed by **Jian Yu**.
109
110 - **Canvas**: Avoid duplicating chains in chords (#3779)
111
112 Contributed by **Ryan Hiebert**.
113
114 - **Canvas**: Lookup task only if list has items (#3847)
115
116 Contributed by **Marc Gibbons**.
117
118 - **Results**: Allow unicode message for exception raised in task (#3903)
119
120 Contributed by **George Psarakis**.
121
122 - **Python3**: Support for Python 3.6 (#3904, #3903, #3736)
123
124 Contributed by **Jon Dufresne**, **George Psarakis**, **Asif Saifuddin Auvi**, **Omer Katz**.
125
126 - **App**: Fix retried tasks with expirations (#3790)
127
128 Contributed by **Brendan MacDonell**.
129
130 - * Fixes items format route in docs (#3875)
131
132 Contributed by **Slam**.
133
134 - **Utils**: Fix maybe_make_aware (#3850)
135
136 Contributed by **Taylor C. Richberger**.
137
138 - **Task**: Fix task ETA issues when timezone is defined in configuration (#3867)
139
140 Contributed by **George Psarakis**.
141
142 - **Concurrency**: Consumer does not shutdown properly when embedded in gevent application (#3746)
143
144 Contributed by **Arcadiy Ivanov**.
145
146 - **Canvas**: Fix #3725: Task replaced with group does not complete (#3731)
147
148 Contributed by **Morgan Doocy**.
149
150 - **Task**: Correct order in chains with replaced tasks (#3730)
151
152 Contributed by **Morgan Doocy**.
153
154 - **Result**: Enable synchronous execution of sub-tasks (#3696)
155
156 Contributed by **shalev67**.
157
158 - **Task**: Fix request context for blocking task apply (added hostname) (#3716)
159
160 Contributed by **Marat Sharafutdinov**.
161
162 - **Utils**: Fix task argument handling (#3678) (#3693)
163
164 Contributed by **Roman Sichny**.
165
166 - **Beat**: Provide a transparent method to update the Scheduler heap (#3721)
167
168 Contributed by **Alejandro Pernin**.
169
170 - **Beat**: Specify default value for pidfile option of celery beat. (#3722)
171
172 Contributed by **Arnaud Rocher**.
173
174 - **Results**: Elasticsearch: Stop generating a new field every time when a new result is being put (#3708)
175
176 Contributed by **Mike Chen**.
177
178 - **Requirements**
179
180 - Now depends on :ref:`Kombu 4.1.0 <kombu:version-4.1.0>`.
181
182 - **Results**: Elasticsearch now reuses fields when new results are added.
183
184 Contributed by **Mike Chen**.
185
186 - **Results**: Fixed MongoDB integration when using binary encodings
187 (Issue #3575).
188
189 Contributed by **Andrew de Quincey**.
190
191 - **Worker**: Making missing ``*args`` and ``**kwargs`` in Task protocol 1
192 return empty value in protocol 2 (Issue #3687).
193
194 Contributed by **Roman Sichny**.
195
196 - **App**: Fixed :exc:`TypeError` in AMQP when using deprecated signal
197 (Issue #3707).
198
199 Contributed by :github_user:`michael-k`.
200
201 - **Beat**: Added a transparent method to update the scheduler heap.
202
203 Contributed by **Alejandro Pernin**.
204
205 - **Task**: Fixed handling of tasks with keyword arguments on Python 3
206 (Issue #3657).
207
208 Contributed by **Roman Sichny**.
209
210 - **Task**: Fixed request context for blocking task apply by adding missing
211 hostname attribute.
212
213 Contributed by **Marat Sharafutdinov**.
214
215 - **Task**: Added option to run subtasks synchronously with
216 ``disable_sync_subtasks`` argument.
217
218 Contributed by :github_user:`shalev67`.
219
220 - **App**: Fixed chaining of replaced tasks (Issue #3726).
221
222 Contributed by **Morgan Doocy**.
223
224 - **Canvas**: Fixed bug where replaced tasks with groups were not completing
225 (Issue #3725).
226
227 Contributed by **Morgan Doocy**.
228
229 - **Worker**: Fixed problem where consumer does not shutdown properly when
230 embedded in a gevent application (Issue #3745).
231
232 Contributed by **Arcadiy Ivanov**.
233
234 - **Results**: Added support for using AWS DynamoDB as a result backend (#3736).
235
236 Contributed by **George Psarakis**.
237
238 - **Testing**: Added caching on pip installs.
239
240 Contributed by :github_user:`orf`.
241
242 - **Worker**: Prevent consuming queue before ready on startup (Issue #3620).
243
244 Contributed by **Alan Hamlett**.
245
246 - **App**: Fixed task ETA issues when timezone is defined in configuration
247 (Issue #3753).
248
249 Contributed by **George Psarakis**.
250
251 - **Utils**: ``maybe_make_aware`` should not modify datetime when it is
252 already timezone-aware (Issue #3849).
253
254 Contributed by **Taylor C. Richberger**.
255
256 - **App**: Fixed retrying tasks with expirations (Issue #3734).
257
258 Contributed by **Brendan MacDonell**.
259
260 - **Results**: Allow unicode message for exceptions raised in task
261 (Issue #3858).
262
263 Contributed by :github_user:`staticfox`.
264
265 - **Canvas**: Fixed :exc:`IndexError` raised when chord has an empty header.
266
267 Contributed by **Marc Gibbons**.
268
269 - **Canvas**: Avoid duplicating chains in chords (Issue #3771).
270
271 Contributed by **Ryan Hiebert** and **George Psarakis**.
272
273 - **Utils**: Allow class methods to define tasks (Issue #3863).
274
275 Contributed by **George Psarakis**.
276
277 - **Beat**: Populate heap when periodic tasks are changed.
278
279 Contributed by :github_user:`wzywno` and **Brian May**.
280
281 - **Results**: Added support for Elasticsearch backend options settings.
282
283 Contributed by :github_user:`Acey9`.
284
285 - **Events**: Ensure ``Task.as_dict()`` works when not all information about
286 task is available.
287
288 Contributed by :github_user:`tramora`.
289
290 - **Schedules**: Fixed pickled crontab schedules to restore properly (Issue #3826).
291
292 Contributed by **Taylor C. Richberger**.
293
294 - **Results**: Added SSL option for redis backends (Issue #3830).
295
296 Contributed by **Chris Kuehl**.
297
298 - Documentation and examples improvements by:
299
300 - **Bruno Alla**
301 - **Jamie Alessio**
302 - **Vivek Anand**
303 - **Peter Bittner**
304 - **Kalle Bronsen**
305 - **Jon Dufresne**
306 - **James Michael DuPont**
307 - **Sergey Fursov**
308 - **Samuel Dion-Girardeau**
309 - **Daniel Hahler**
310 - **Mike Helmick**
311 - **Marc Hörsken**
312 - **Christopher Hoskin**
313 - **Daniel Huang**
314 - **Primož Kerin**
315 - **Michal Kuffa**
316 - **Simon Legner**
317 - **Anthony Lukach**
318 - **Ed Morley**
319 - **Jay McGrath**
320 - **Rico Moorman**
321 - **Viraj Navkal**
322 - **Ross Patterson**
323 - **Dmytro Petruk**
324 - **Luke Plant**
325 - **Eric Poelke**
326 - **Salvatore Rinchiera**
327 - **Arnaud Rocher**
328 - **Kirill Romanov**
329 - **Simon Schmidt**
330 - **Tamer Sherif**
331 - **YuLun Shih**
332 - **Ask Solem**
333 - **Tom 'Biwaa' Riat**
334 - **Arthur Vigil**
335 - **Joey Wilhelm**
336 - **Jian Yu**
337 - **YuLun Shih**
338 - **Arthur Vigil**
339 - **Joey Wilhelm**
340 - :github_user:`baixuexue123`
341 - :github_user:`bronsen`
342 - :github_user:`michael-k`
343 - :github_user:`orf`
344 - :github_user:`3lnc`