Changelog 8.6 KB

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