whatsnew-4.1.rst 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .. _whatsnew-4.1:
  2. ===========================================
  3. What's new in Celery 4.1 (latentcall)
  4. ===========================================
  5. :Author: Omer Katz (``omer.drow at gmail.com``)
  6. .. sidebar:: Change history
  7. What's new documents describe the changes in major versions,
  8. we also have a :ref:`changelog` that lists the changes in bugfix
  9. releases (0.0.x), while older series are archived under the :ref:`history`
  10. section.
  11. Celery is a simple, flexible, and reliable distributed system to
  12. process vast amounts of messages, while providing operations with
  13. the tools required to maintain such a system.
  14. It's a task queue with focus on real-time processing, while also
  15. supporting task scheduling.
  16. Celery has a large and diverse community of users and contributors,
  17. you should come join us :ref:`on IRC <irc-channel>`
  18. or :ref:`our mailing-list <mailing-list>`.
  19. To read more about Celery you should go read the :ref:`introduction <intro>`.
  20. While this version is backward compatible with previous versions
  21. it's important that you read the following section.
  22. This version is officially supported on CPython 2.7, 3.4, 3.5 & 3.6
  23. and is also supported on PyPy.
  24. .. _`website`: http://celeryproject.org/
  25. .. topic:: Table of Contents
  26. Make sure you read the important notes before upgrading to this version.
  27. .. contents::
  28. :local:
  29. :depth: 2
  30. Preface
  31. =======
  32. The 4.1.0 release continues to improve our efforts to provide you with
  33. the best task execution platform for Python.
  34. This release is mainly a bug fix release, ironing out some issues and regressions
  35. found in Celery 4.0.0.
  36. We added official support for Python 3.6 and PyPy 5.8.0.
  37. This is the first time we release without Ask Solem as an active contributor.
  38. We'd like to thank him for his hard work in creating and maintaining Celery over the years.
  39. Since Ask Solem was not involved there were a few kinks in the release process
  40. which we promise to resolve in the next release.
  41. This document was missing when we did release Celery 4.1.0.
  42. Also, we did not update the release codename as we should have.
  43. We apologize for the inconvenience.
  44. For the time being, I, Omer Katz will be the release manager.
  45. Thank you for your support!
  46. *— Omer Katz*
  47. Wall of Contributors
  48. --------------------
  49. Acey <huiwang.e@gmail.com>
  50. Acey9 <huiwang.e@gmail.com>
  51. Alan Hamlett <alanhamlett@users.noreply.github.com>
  52. Alan Justino da Silva <alan.justino@yahoo.com.br>
  53. Alejandro Pernin <ale.pernin@gmail.com>
  54. Alli <alzeih@users.noreply.github.com>
  55. Andreas Pelme <andreas@pelme.se>
  56. Andrew de Quincey <adq@lidskialf.net>
  57. Anthony Lukach <anthonylukach@gmail.com>
  58. Arcadiy Ivanov <arcadiy@ivanov.biz>
  59. Arnaud Rocher <cailloumajor@users.noreply.github.com>
  60. Arthur Vigil <ahvigil@mail.sfsu.edu>
  61. Asif Saifuddin Auvi <auvipy@users.noreply.github.com>
  62. Ask Solem <ask@celeryproject.org>
  63. BLAGA Razvan-Paul <razvan.paul.blaga@gmail.com>
  64. Brendan MacDonell <macdonellba@gmail.com>
  65. Brian Luan <jznight@gmail.com>
  66. Brian May <brian@linuxpenguins.xyz>
  67. Bruno Alla <browniebroke@users.noreply.github.com>
  68. Chris Kuehl <chris@techxonline.net>
  69. Christian <github@penpal4u.net>
  70. Christopher Hoskin <mans0954@users.noreply.github.com>
  71. Daniel Hahler <github@thequod.de>
  72. Daniel Huang <dxhuang@gmail.com>
  73. Derek Harland <donkopotamus@users.noreply.github.com>
  74. Dmytro Petruk <bavaria95@gmail.com>
  75. Ed Morley <edmorley@users.noreply.github.com>
  76. Eric Poelke <epoelke@gmail.com>
  77. Felipe <fcoelho@users.noreply.github.com>
  78. François Voron <fvoron@gmail.com>
  79. GDR! <gdr@gdr.name>
  80. George Psarakis <giwrgos.psarakis@gmail.com>
  81. J Alan Brogan <jalanb@users.noreply.github.com>
  82. James Michael DuPont <JamesMikeDuPont@gmail.com>
  83. Jamie Alessio <jamie@stoic.net>
  84. Javier Domingo Cansino <javierdo1@gmail.com>
  85. Jay McGrath <jaymcgrath@users.noreply.github.com>
  86. Jian Yu <askingyj@gmail.com>
  87. Joey Wilhelm <tarkatronic@gmail.com>
  88. Jon Dufresne <jon.dufresne@gmail.com>
  89. Kalle Bronsen <bronsen@nrrd.de>
  90. Kirill Romanov <djaler1@gmail.com>
  91. Laurent Peuch <cortex@worlddomination.be>
  92. Luke Plant <L.Plant.98@cantab.net>
  93. Marat Sharafutdinov <decaz89@gmail.com>
  94. Marc Gibbons <marc_gibbons@rogers.com>
  95. Marc Hörsken <mback2k@users.noreply.github.com>
  96. Michael <michael-k@users.noreply.github.com>
  97. Michael Howitz <mh@gocept.com>
  98. Michal Kuffa <beezz@users.noreply.github.com>
  99. Mike Chen <yi.chen.it@gmail.com>
  100. Mike Helmick <michaelhelmick@users.noreply.github.com>
  101. Morgan Doocy <morgan@doocy.net>
  102. Moussa Taifi <moutai10@gmail.com>
  103. Omer Katz <omer.drow@gmail.com>
  104. Patrick Cloke <clokep@users.noreply.github.com>
  105. Peter Bittner <django@bittner.it>
  106. Preston Moore <prestonkmoore@gmail.com>
  107. Primož Kerin <kerin.primoz@gmail.com>
  108. Pysaoke <pysaoke@gmail.com>
  109. Rick Wargo <rickwargo@users.noreply.github.com>
  110. Rico Moorman <rico.moorman@gmail.com>
  111. Roman Sichny <roman@sichnyi.com>
  112. Ross Patterson <me@rpatterson.net>
  113. Ryan Hiebert <ryan@ryanhiebert.com>
  114. Rémi Marenco <remi.marenco@gmail.com>
  115. Salvatore Rinchiera <srinchiera@college.harvard.edu>
  116. Samuel Dion-Girardeau <samuel.diongirardeau@gmail.com>
  117. Sergey Fursov <GeyseR85@gmail.com>
  118. Simon Legner <Simon.Legner@gmail.com>
  119. Simon Schmidt <schmidt.simon@gmail.com>
  120. Slam <3lnc.slam@gmail.com>
  121. Static <staticfox@staticfox.net>
  122. Steffen Allner <sa@gocept.com>
  123. Steven <rh0dium@users.noreply.github.com>
  124. Steven Johns <duoi@users.noreply.github.com>
  125. Tamer Sherif <tamer.sherif@flyingelephantlab.com>
  126. Tao Qingyun <845767657@qq.com>
  127. Tayfun Sen <totayfun@gmail.com>
  128. Taylor C. Richberger <taywee@gmx.com>
  129. Thierry RAMORASOAVINA <thierry.ramorasoavina@orange.com>
  130. Tom 'Biwaa' Riat <riat.tom@gmail.com>
  131. Viktor Holmqvist <viktorholmqvist@gmail.com>
  132. Viraj <vnavkal0@gmail.com>
  133. Vivek Anand <vivekanand1101@users.noreply.github.com>
  134. Will <paradox41@users.noreply.github.com>
  135. Wojciech Żywno <w.zywno@gmail.com>
  136. Yoichi NAKAYAMA <yoichi.nakayama@gmail.com>
  137. YuLun Shih <shih@yulun.me>
  138. Yuhannaa <yuhannaa@gmail.com>
  139. abhinav nilaratna <anilaratna2@bloomberg.net>
  140. aydin <adigeaydin@gmail.com>
  141. csfeathers <csfeathers@users.noreply.github.com>
  142. georgepsarakis <giwrgos.psarakis@gmail.com>
  143. orf <tom@tomforb.es>
  144. shalev67 <shalev67@gmail.com>
  145. sww <sww@users.noreply.github.com>
  146. tnir <tnir@users.noreply.github.com>
  147. 何翔宇(Sean Ho) <h1x2y3awalm@gmail.com>
  148. .. note::
  149. This wall was automatically generated from git history,
  150. so sadly it doesn't not include the people who help with more important
  151. things like answering mailing-list questions.
  152. .. _v410-important:
  153. Important Notes
  154. ===============
  155. Added support for Python 3.6 & PyPy 5.8.0
  156. -----------------------------------------
  157. We now run our unit test suite and integration test suite on Python 3.6.x
  158. and PyPy 5.8.0.
  159. We expect newer versions of PyPy to work but unfortunately we do not have the
  160. resources to test PyPy with those versions.
  161. The supported Python Versions are:
  162. - CPython 2.7
  163. - CPython 3.4
  164. - CPython 3.5
  165. - CPython 3.6
  166. - PyPy 5.8 (``pypy2``)
  167. .. _v410-news:
  168. News
  169. ====
  170. Result Backends
  171. ---------------
  172. New DynamoDB Results Backend
  173. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174. We added a new results backend for those of you who are using DynamoDB.
  175. If you are interested in using this results backend, refer to :ref:`conf-dynamodb-result-backend` for more information.
  176. Elasticsearch
  177. ~~~~~~~~~~~~~
  178. The Elasticsearch results backend is now more robust and configurable.
  179. See :ref:`conf-elasticsearch-result-backend` for more information
  180. about the new configuration options.
  181. Redis
  182. ~~~~~
  183. The Redis results backend can now use TLS to encrypt the communication with the
  184. Redis database server.
  185. See :ref:`conf-redis-result-backend`.
  186. MongoDB
  187. ~~~~~~~
  188. The MongoDB results backend can now handle binary-encoded task results.
  189. This was a regression from 4.0.0 which resulted in a problem using serializers
  190. such as MsgPack or Pickle in conjunction with the MongoDB results backend.
  191. Periodic Tasks
  192. --------------
  193. The task schedule now updates automatically when new tasks are added.
  194. Now if you use the Django database scheduler, you can add and remove tasks from the schedule without restarting Celery beat.
  195. Tasks
  196. -----
  197. The ``disable_sync_subtasks`` argument was added to allow users to override disabling
  198. synchronous subtasks.
  199. See :ref:`task-synchronous-subtasks`
  200. Canvas
  201. ------
  202. Multiple bugs were resolved resulting in a much smoother experience when using Canvas.