| 1 |
.. _whatsnew-4.1: |
| 2 |
|
| 3 |
=========================================== |
| 4 |
What's new in Celery 4.1 (latentcall) |
| 5 |
=========================================== |
| 6 |
:Author: Omer Katz (``omer.drow at gmail.com``) |
| 7 |
|
| 8 |
.. sidebar:: Change history |
| 9 |
|
| 10 |
What's new documents describe the changes in major versions, |
| 11 |
we also have a :ref:`changelog` that lists the changes in bugfix |
| 12 |
releases (0.0.x), while older series are archived under the :ref:`history` |
| 13 |
section. |
| 14 |
|
| 15 |
Celery is a simple, flexible, and reliable distributed system to |
| 16 |
process vast amounts of messages, while providing operations with |
| 17 |
the tools required to maintain such a system. |
| 18 |
|
| 19 |
It's a task queue with focus on real-time processing, while also |
| 20 |
supporting task scheduling. |
| 21 |
|
| 22 |
Celery has a large and diverse community of users and contributors, |
| 23 |
you should come join us :ref:`on IRC <irc-channel>` |
| 24 |
or :ref:`our mailing-list <mailing-list>`. |
| 25 |
|
| 26 |
To read more about Celery you should go read the :ref:`introduction <intro>`. |
| 27 |
|
| 28 |
While this version is backward compatible with previous versions |
| 29 |
it's important that you read the following section. |
| 30 |
|
| 31 |
This version is officially supported on CPython 2.7, 3.4, 3.5 & 3.6 |
| 32 |
and is also supported on PyPy. |
| 33 |
|
| 34 |
.. _`website`: http://celeryproject.org/ |
| 35 |
|
| 36 |
.. topic:: Table of Contents |
| 37 |
|
| 38 |
Make sure you read the important notes before upgrading to this version. |
| 39 |
|
| 40 |
.. contents:: |
| 41 |
:local: |
| 42 |
:depth: 2 |
| 43 |
|
| 44 |
Preface |
| 45 |
======= |
| 46 |
|
| 47 |
The 4.1.0 release continues to improve our efforts to provide you with |
| 48 |
the best task execution platform for Python. |
| 49 |
|
| 50 |
This release is mainly a bug fix release, ironing out some issues and regressions |
| 51 |
found in Celery 4.0.0. |
| 52 |
|
| 53 |
We added official support for Python 3.6 and PyPy 5.8.0. |
| 54 |
|
| 55 |
This is the first time we release without Ask Solem as an active contributor. |
| 56 |
We'd like to thank him for his hard work in creating and maintaining Celery over the years. |
| 57 |
|
| 58 |
Since Ask Solem was not involved there were a few kinks in the release process |
| 59 |
which we promise to resolve in the next release. |
| 60 |
This document was missing when we did release Celery 4.1.0. |
| 61 |
Also, we did not update the release codename as we should have. |
| 62 |
We apologize for the inconvenience. |
| 63 |
|
| 64 |
For the time being, I, Omer Katz will be the release manager. |
| 65 |
|
| 66 |
Thank you for your support! |
| 67 |
|
| 68 |
*— Omer Katz* |
| 69 |
|
| 70 |
Wall of Contributors |
| 71 |
-------------------- |
| 72 |
|
| 73 |
Acey <[email protected]> |
| 74 |
Acey9 <[email protected]> |
| 75 |
Alan Hamlett <[email protected]> |
| 76 |
Alan Justino da Silva <[email protected]> |
| 77 |
Alejandro Pernin <[email protected]> |
| 78 |
Alli <[email protected]> |
| 79 |
Andreas Pelme <[email protected]> |
| 80 |
Andrew de Quincey <[email protected]> |
| 81 |
Anthony Lukach <[email protected]> |
| 82 |
Arcadiy Ivanov <[email protected]> |
| 83 |
Arnaud Rocher <[email protected]> |
| 84 |
Arthur Vigil <[email protected]> |
| 85 |
Asif Saifuddin Auvi <[email protected]> |
| 86 |
Ask Solem <[email protected]> |
| 87 |
BLAGA Razvan-Paul <[email protected]> |
| 88 |
Brendan MacDonell <[email protected]> |
| 89 |
Brian Luan <[email protected]> |
| 90 |
Brian May <[email protected]> |
| 91 |
Bruno Alla <[email protected]> |
| 92 |
Chris Kuehl <[email protected]> |
| 93 |
Christian <[email protected]> |
| 94 |
Christopher Hoskin <[email protected]> |
| 95 |
Daniel Hahler <[email protected]> |
| 96 |
Daniel Huang <[email protected]> |
| 97 |
Derek Harland <[email protected]> |
| 98 |
Dmytro Petruk <[email protected]> |
| 99 |
Ed Morley <[email protected]> |
| 100 |
Eric Poelke <[email protected]> |
| 101 |
Felipe <[email protected]> |
| 102 |
François Voron <[email protected]> |
| 103 |
GDR! <[email protected]> |
| 104 |
George Psarakis <[email protected]> |
| 105 |
J Alan Brogan <[email protected]> |
| 106 |
James Michael DuPont <[email protected]> |
| 107 |
Jamie Alessio <[email protected]> |
| 108 |
Javier Domingo Cansino <[email protected]> |
| 109 |
Jay McGrath <[email protected]> |
| 110 |
Jian Yu <[email protected]> |
| 111 |
Joey Wilhelm <[email protected]> |
| 112 |
Jon Dufresne <[email protected]> |
| 113 |
Kalle Bronsen <[email protected]> |
| 114 |
Kirill Romanov <[email protected]> |
| 115 |
Laurent Peuch <[email protected]> |
| 116 |
Luke Plant <[email protected]> |
| 117 |
Marat Sharafutdinov <[email protected]> |
| 118 |
Marc Gibbons <[email protected]> |
| 119 |
Marc Hörsken <[email protected]> |
| 120 |
Michael <[email protected]> |
| 121 |
Michael Howitz <[email protected]> |
| 122 |
Michal Kuffa <[email protected]> |
| 123 |
Mike Chen <[email protected]> |
| 124 |
Mike Helmick <[email protected]> |
| 125 |
Morgan Doocy <[email protected]> |
| 126 |
Moussa Taifi <[email protected]> |
| 127 |
Omer Katz <[email protected]> |
| 128 |
Patrick Cloke <[email protected]> |
| 129 |
Peter Bittner <[email protected]> |
| 130 |
Preston Moore <[email protected]> |
| 131 |
Primož Kerin <[email protected]> |
| 132 |
Pysaoke <[email protected]> |
| 133 |
Rick Wargo <[email protected]> |
| 134 |
Rico Moorman <[email protected]> |
| 135 |
Roman Sichny <[email protected]> |
| 136 |
Ross Patterson <[email protected]> |
| 137 |
Ryan Hiebert <[email protected]> |
| 138 |
Rémi Marenco <[email protected]> |
| 139 |
Salvatore Rinchiera <[email protected]> |
| 140 |
Samuel Dion-Girardeau <[email protected]> |
| 141 |
Sergey Fursov <[email protected]> |
| 142 |
Simon Legner <[email protected]> |
| 143 |
Simon Schmidt <[email protected]> |
| 144 |
Slam <[email protected]> |
| 145 |
Static <[email protected]> |
| 146 |
Steffen Allner <[email protected]> |
| 147 |
Steven <[email protected]> |
| 148 |
Steven Johns <[email protected]> |
| 149 |
Tamer Sherif <[email protected]> |
| 150 |
Tao Qingyun <[email protected]> |
| 151 |
Tayfun Sen <[email protected]> |
| 152 |
Taylor C. Richberger <[email protected]> |
| 153 |
Thierry RAMORASOAVINA <[email protected]> |
| 154 |
Tom 'Biwaa' Riat <[email protected]> |
| 155 |
Viktor Holmqvist <[email protected]> |
| 156 |
Viraj <[email protected]> |
| 157 |
Vivek Anand <[email protected]> |
| 158 |
Will <[email protected]> |
| 159 |
Wojciech Żywno <[email protected]> |
| 160 |
Yoichi NAKAYAMA <[email protected]> |
| 161 |
YuLun Shih <[email protected]> |
| 162 |
Yuhannaa <[email protected]> |
| 163 |
abhinav nilaratna <[email protected]> |
| 164 |
aydin <[email protected]> |
| 165 |
csfeathers <[email protected]> |
| 166 |
georgepsarakis <[email protected]> |
| 167 |
orf <[email protected]> |
| 168 |
shalev67 <[email protected]> |
| 169 |
sww <[email protected]> |
| 170 |
tnir <[email protected]> |
| 171 |
何翔宇(Sean Ho) <[email protected]> |
| 172 |
|
| 173 |
.. note:: |
| 174 |
|
| 175 |
This wall was automatically generated from git history, |
| 176 |
so sadly it doesn't not include the people who help with more important |
| 177 |
things like answering mailing-list questions. |
| 178 |
|
| 179 |
|
| 180 |
.. _v410-important: |
| 181 |
|
| 182 |
Important Notes |
| 183 |
=============== |
| 184 |
|
| 185 |
Added support for Python 3.6 & PyPy 5.8.0 |
| 186 |
----------------------------------------- |
| 187 |
|
| 188 |
We now run our unit test suite and integration test suite on Python 3.6.x |
| 189 |
and PyPy 5.8.0. |
| 190 |
|
| 191 |
We expect newer versions of PyPy to work but unfortunately we do not have the |
| 192 |
resources to test PyPy with those versions. |
| 193 |
|
| 194 |
The supported Python Versions are: |
| 195 |
|
| 196 |
- CPython 2.7 |
| 197 |
- CPython 3.4 |
| 198 |
- CPython 3.5 |
| 199 |
- CPython 3.6 |
| 200 |
- PyPy 5.8 (``pypy2``) |
| 201 |
|
| 202 |
.. _v410-news: |
| 203 |
|
| 204 |
News |
| 205 |
==== |
| 206 |
|
| 207 |
Result Backends |
| 208 |
--------------- |
| 209 |
|
| 210 |
New DynamoDB Results Backend |
| 211 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 212 |
|
| 213 |
We added a new results backend for those of you who are using DynamoDB. |
| 214 |
|
| 215 |
If you are interested in using this results backend, refer to :ref:`conf-dynamodb-result-backend` for more information. |
| 216 |
|
| 217 |
Elasticsearch |
| 218 |
~~~~~~~~~~~~~ |
| 219 |
|
| 220 |
The Elasticsearch results backend is now more robust and configurable. |
| 221 |
|
| 222 |
See :ref:`conf-elasticsearch-result-backend` for more information |
| 223 |
about the new configuration options. |
| 224 |
|
| 225 |
Redis |
| 226 |
~~~~~ |
| 227 |
|
| 228 |
The Redis results backend can now use TLS to encrypt the communication with the |
| 229 |
Redis database server. |
| 230 |
|
| 231 |
See :ref:`conf-redis-result-backend`. |
| 232 |
|
| 233 |
MongoDB |
| 234 |
~~~~~~~ |
| 235 |
|
| 236 |
The MongoDB results backend can now handle binary-encoded task results. |
| 237 |
|
| 238 |
This was a regression from 4.0.0 which resulted in a problem using serializers |
| 239 |
such as MsgPack or Pickle in conjunction with the MongoDB results backend. |
| 240 |
|
| 241 |
Periodic Tasks |
| 242 |
-------------- |
| 243 |
|
| 244 |
The task schedule now updates automatically when new tasks are added. |
| 245 |
Now if you use the Django database scheduler, you can add and remove tasks from the schedule without restarting Celery beat. |
| 246 |
|
| 247 |
Tasks |
| 248 |
----- |
| 249 |
|
| 250 |
The ``disable_sync_subtasks`` argument was added to allow users to override disabling |
| 251 |
synchronous subtasks. |
| 252 |
|
| 253 |
See :ref:`task-synchronous-subtasks` |
| 254 |
|
| 255 |
Canvas |
| 256 |
------ |
| 257 |
|
| 258 |
Multiple bugs were resolved resulting in a much smoother experience when using Canvas. |