Changelog 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. .. _changelog:
  2. ================
  3. Change history
  4. ================
  5. This document contains change notes for bugfix releases in
  6. the 4.x series, please see :ref:`whatsnew-4.2` for
  7. an overview of what's new in Celery 4.2.
  8. 4.2.0
  9. =====
  10. - **Development/Testing**: Add docker-compose and base Dockerfile for development (#4482)
  11. Contributed by **Chris Mitchell**.
  12. - **Documentation/Sphinx**: Teach autodoc to document tasks if undoc-members is not set (#4588)
  13. Contributed by **Leo Singer**.
  14. - **Documentation/Sphinx**: Put back undoc-members option in sphinx test (#4586)
  15. Contributed by **Leo Singer**.
  16. - **Documentation/Sphinx**: Sphinx autodoc picks up tasks automatically only if `undoc-members` is set (#4584)
  17. Contributed by **Leo Singer**.
  18. - **Task**: Fix shadow_name issue when using previous version Task class (#4572)
  19. Contributed by :github_user:`pachewise`.
  20. - **Task**: Add support for bound tasks as `link_error` parameter (Fixes #3723) (#4545)
  21. Contributed by :github_user:`brabiega`.
  22. - **Deployment**: Add a command line option for setting the Result Backend URL (#4549)
  23. Contributed by :github_user:`y0ngdi`.
  24. - **CI**: Enable pip cache in appveyor build (#4546)
  25. Contributed by **Thijs Triemstra**.
  26. - **Concurrency/Asynpool**: Fix errno property name shadowing.
  27. Contributed by **Omer Katz**.
  28. - **DynamoDB Backend**: Configurable endpoint URL (#4532)
  29. Contributed by **Bohdan Rybak**.
  30. - **Timezones**: Correctly detect UTC timezone and timezone from settings (Fixes #4517) (#4519)
  31. Contributed by :github_user:`last-partizan`.
  32. - **Control**: Cleanup the mailbox's producer pool after forking (#4472)
  33. Contributed by **Nick Eaket**.
  34. - **Documentation**: Start Celery and Celery Beat on Azure WebJob (#4484)
  35. Contributed by **PauloPeres**.
  36. - **Celery Beat**: Schedule due tasks on startup, after Beat restart has occurred (#4493)
  37. Contributed by **Igor Kasianov**.
  38. - **Worker**: Use absolute time when task is accepted by worker pool (#3684)
  39. Contributed by **Régis Behmo**.
  40. - **Canvas**: Propagate arguments to chains inside groups (#4481)
  41. Contributed by **Chris Mitchell**.
  42. - **Canvas**: Fix `Task.replace` behavior in nested chords (fixes #4368) (#4369)
  43. Contributed by **Denis Shirokov** & **Alex Hill**.
  44. - **Installation**: Pass python_requires argument to setuptools (#4479)
  45. Contributed by **Jon Dufresne**.
  46. - **Message Protocol Compatibility**: Handle "hybrid" messages that have moved between Celery versions (#4358) (Issue #4356)
  47. Contributed by **Russell Keith-Magee**.
  48. - **Canvas**: request on_timeout now ignores soft time limit exception (fixes #4412) (#4473)
  49. Contributed by **Alex Garel**.
  50. - **Redis Result Backend**: Integration test to verify PubSub unsubscriptions (#4468)
  51. Contributed by **George Psarakis**.
  52. - **Message Protocol Properties**: Allow the shadow keyword argument and the shadow_name method to set shadow properly (#4381)
  53. Contributed by :github_user:`hclihn`.
  54. - **Canvas**: Run chord_unlock on same queue as chord body (#4448) (Issue #4337)
  55. Contributed by **Alex Hill**.
  56. - **Canvas**: Support chords with empty header group (#4443)
  57. Contributed by **Alex Hill**.
  58. - **Timezones**: make astimezone call in localize more safe (#4324)
  59. Contributed by **Matt Davis**.
  60. - **Canvas**: Fix length-1 and nested chords (#4437) (Issues #4393, #4055, #3885, #3597, #3574, #3323, #4301)
  61. Contributed by **Alex Hill**.
  62. - **CI**: Run `Openstack Bandit <https://pypi.org/project/bandit/1.0.1/>`_ in Travis CI in order to detect security issues.
  63. Contributed by **Omer Katz**.
  64. - **CI**: Run `isort <https://github.com/timothycrosley/isort>`_ in Travis CI in order to lint Python **import** statements.
  65. Contributed by **Omer Katz**.
  66. - **Canvas**: Resolve TypeError on `.get` from nested groups (#4432) (Issue #4274)
  67. Contributed by **Misha Wolfson**.
  68. - **CouchDB Backend**: Correct CouchDB key string type for Python 2/3 compatibility (#4166)
  69. Contributed by :github_user:`fmind` && **Omer Katz**.
  70. - **Group Result**: Fix current_app fallback in GroupResult.restore() (#4431)
  71. Contributed by **Alex Hill**.
  72. - **Consul Backend**: Correct key string type for Python 2/3 compatibility (#4416)
  73. Contributed by **Wido den Hollander**.
  74. - **Group Result**: Correctly restore an empty GroupResult (#2202) (#4427)
  75. Contributed by **Alex Hill** & **Omer Katz**.
  76. - **Result**: Disable synchronous waiting for sub-tasks on eager mode(#4322)
  77. Contributed by **Denis Podlesniy**.
  78. - **Celery Beat**: Detect timezone or Daylight Saving Time changes (#1604) (#4403)
  79. Contributed by **Vincent Barbaresi**.
  80. - **Canvas**: Fix append to an empty chain. Fixes #4047. (#4402)
  81. Contributed by **Omer Katz**.
  82. - **Task**: Allow shadow to override task name in trace and logging messages. (#4379)
  83. Contributed by :github_user:`hclihn`.
  84. - **Documentation/Sphinx**: Fix getfullargspec Python 2.x compatibility in contrib/sphinx.py (#4399)
  85. Contributed by **Javier Martin Montull**.
  86. - **Documentation**: Updated installation instructions for SQS broker (#4382)
  87. Contributed by **Sergio Fernandez**.
  88. - **Celery Beat**: Better equality comparison for ScheduleEntry instances (#4312)
  89. Contributed by :github_user:`mariia-zelenova`.
  90. - **Task**: Adding 'shadow' property to as_task_v2 (#4350)
  91. Contributed by **Marcelo Da Cruz Pinto**.
  92. - Try to import directly, do not use deprecated imp method (#4216)
  93. Contributed by **Tobias Kunze**.
  94. - **Task**: Enable `kwargsrepr` and `argsrepr` override for modifying task argument representation (#4260)
  95. Contributed by **James M. Allen**.
  96. - **Result Backend**: Add Redis Sentinel backend (#4144)
  97. Contributed by **Geoffrey Bauduin**.
  98. - Use unique time values for Collections/LimitedSet (#3879 and #3891) (#3892)
  99. Contributed by :github_user:`lead2gold`.
  100. - **CI**: Report coverage for all result backends.
  101. Contributed by **Omer Katz**.
  102. - **Django**: Use Django DB max age connection setting (fixes #4116) (#4292)
  103. Contributed by **Marco Schweighauser**.
  104. - **Canvas**: Properly take into account chain tasks link_error (#4240)
  105. Contributed by :github_user:`agladkov`.
  106. - **Canvas**: Allow to create group with single task (fixes issue #4255) (#4280)
  107. Contributed by :github_user:`agladkov`.
  108. - **Canvas**: Copy dictionary parameter in chord.from_dict before modifying (fixes issue #4223) (#4278)
  109. Contributed by :github_user:`agladkov`.
  110. - **Results Backend**: Add Cassandra options (#4224)
  111. Contributed by **Scott Cooper**.
  112. - **Worker**: Apply rate limiting for tasks with ETA (#4251)
  113. Contributed by :github_user:`arpanshah29`.
  114. - **Celery Beat**: support scheduler entries without a schedule (#4235)
  115. Contributed by **Markus Kaiserswerth**.
  116. - **SQS Broker**: Updated SQS requirements file with correct boto3 version (#4231)
  117. Contributed by **Alejandro Varas**.
  118. - Remove unused code from _create_app contextmanager (#4204)
  119. Contributed by **Ryan P Kilby**.
  120. - **Group Result**: Modify GroupResult.as_tuple() to include parent (fixes #4106) (#4205)
  121. Contributed by :github_user:`pachewise`.
  122. - **Beat**: Set default scheduler class in beat command. (#4189)
  123. Contributed by :github_user:`Kxrr`.
  124. - **Worker**: Retry signal receiver after raised exception (#4192)
  125. Contributed by **David Davis**.
  126. - **Task**: Allow custom Request class for tasks (#3977)
  127. Contributed by **Manuel Vázquez Acosta**.
  128. - **Django**: Django fixup should close all cache backends (#4187)
  129. Contributed by **Raphaël Riel**.
  130. - **Deployment**: Adds stopasgroup to the supervisor scripts (#4200)
  131. Contributed by :github_user:`martialp`.
  132. - Using Exception.args to serialize/deserialize exceptions (#4085)
  133. Contributed by **Alexander Ovechkin**.
  134. - **Timezones**: Correct calculation of application current time with timezone (#4173)
  135. Contributed by **George Psarakis**.
  136. - **Remote Debugger**: Set the SO_REUSEADDR option on the socket (#3969)
  137. Contributed by **Theodore Dubois**.
  138. - **Django**: Celery ignores exceptions raised during `django.setup()` (#4146)
  139. Contributed by **Kevin Gu**.
  140. - Use heartbeat setting from application configuration for Broker connection (#4148)
  141. Contributed by :github_user:`mperice`.
  142. - **Celery Beat**: Fixed exception caused by next_transit receiving an unexpected argument. (#4103)
  143. Contributed by **DDevine**.
  144. - **Task** Introduce exponential backoff with Task auto-retry (#4101)
  145. Contributed by **David Baumgold**.
  146. - **AsyncResult**: Remove weak-references to bound methods in AsyncResult promises. (#4131)
  147. Contributed by **Vinod Chandru**.
  148. - **Development/Testing**: Allow eager application of canvas structures (#4576)
  149. Contributed by **Nicholas Pilon**.
  150. - **Command Line**: Flush stderr before exiting with error code 1.
  151. Contributed by **Antonin Delpeuch**.
  152. - **Task**: Escapes single quotes in kwargsrepr strings.
  153. Contributed by **Kareem Zidane**
  154. - **AsyncResult**: Restore ability to join over ResultSet after fixing celery/#3818.
  155. Contributed by **Derek Harland**
  156. - **Redis Results Backend**: Unsubscribe on message success.
  157. Previously Celery would leak channels, filling the memory of the Redis instance.
  158. Contributed by **George Psarakis**
  159. - **Task**: Only convert eta to isoformat when it is not already a string.
  160. Contributed by **Omer Katz**
  161. Documentation, CI, Installation and Tests fixes:
  162. - **Sammie S. Taunton**
  163. - **Dan Wilson**
  164. - :github_user:`pachewise`
  165. - **Sergi Almacellas Abellana**
  166. - **Omer Katz**
  167. - **Alex Zaitsev**
  168. - **Leo Singer**
  169. - **Rachel Johnson**
  170. - **Jon Dufresne**
  171. - **Samuel Dion-Girardeau**
  172. - **Ryan Guest**
  173. - **Huang Huang**
  174. - **Geoffrey Bauduin**
  175. - **Andrew Wong**
  176. - **Mads Jensen**
  177. - **Jackie Leng**
  178. - **Harry Moreno**
  179. - :github_user:`michael-k`
  180. - **Nicolas Mota**
  181. - **Armenak Baburyan**
  182. - **Patrick Zhang**
  183. - :github_user:`anentropic`
  184. - :github_user:`jairojair`
  185. - **Ben Welsh**
  186. - **Michael Peake**
  187. - **Fengyuan Chen**
  188. - :github_user:`arpanshah29`
  189. - **Xavier Hardy**
  190. - **Shitikanth**
  191. - **Igor Kasianov**
  192. - **John Arnold**
  193. - :github_user:`dmollerm`