Changelog 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  1. .. _changelog:
  2. ================
  3. Change history
  4. ================
  5. .. contents::
  6. :local:
  7. If you're looking for versions prior to 3.0.x you should go to :ref:`history`.
  8. .. _version-3.0.20:
  9. 3.0.20
  10. ======
  11. :release-date: TBA
  12. - ``--loader`` argument no longer supported importing loaders from the
  13. current directory.
  14. - [Worker] Fixed memory leak when restarting after connection lost
  15. (Issue #1325).
  16. - [Worker] Fixed unicode decode error at startup (Issue #1373).
  17. Fix contributed by Jessica Tallon.
  18. - [Worker] Now properly rewrites unpickleable exceptions again.
  19. - Fixed possible race condition when evicting items from the revoked task set.
  20. - [generic-init.d] Fixed compatibility with Ubuntu's minimal Dash
  21. shell (Issue #1387).
  22. Fix contributed by monkut.
  23. - ``Task.apply``/``ALWAYS_EAGER`` now also executes callbacks and errbacks
  24. (Issue #1336).
  25. - [Worker] The :signal:`worker-shutdown` signal was no longer being dispatched
  26. (Issue #1339).
  27. - [Python 3] Fixed problem with threading.Event.
  28. Fix contributed by Xavier Ordoquy.
  29. - [Python 3] Now handles ``io.UnsupportedOperation`` that may be raised
  30. by ``file.fileno()`` in Python 3.
  31. - [MongoDB backend] No longer uses deprecated ``safe`` parameter.
  32. Fix contributed by rfkrocktk
  33. - [Canvas] Fixed regression where immutable chord members may receive
  34. arguments (Issue #1340).
  35. Fix contributed by Peter Brook.
  36. - [Canvas] chain now accepts generator argument again (Issue #1319).
  37. - ``celery.migrate`` command now consumes from all queues if no queues
  38. specified.
  39. Fix contributed by John Watson.
  40. .. _version-3.0.19:
  41. 3.0.19
  42. ======
  43. :release-date: 2013-04-17 04:30:00 P.M BST
  44. - Now depends on :mod:`billiard` 2.7.3.28
  45. - A Python 3 related fix managed to disable the deadlock fix
  46. announced in 3.0.18.
  47. Tests have been added to make sure this does not happen again.
  48. - Task retry policy: Default max_retries is now 3.
  49. This ensures clients will not be hanging while the broker is down.
  50. .. note::
  51. You can set a longer retry for the worker by
  52. using the :signal:`celeryd_after_setup` signal:
  53. .. code-block:: python
  54. from celery.signals import celeryd_after_setup
  55. @celeryd_after_setup.connect
  56. def configure_worker(instance, conf, **kwargs):
  57. conf.CELERY_TASK_PUBLISH_RETRY_POLICY = {
  58. 'max_retries': 100,
  59. 'interval_start': 0,
  60. 'interval_max': 1,
  61. 'interval_step': 0.2,
  62. }
  63. - Worker: Will now properly display message body in error messages
  64. even if the body is a buffer instance.
  65. - 3.0.18 broke the MongoDB result backend (Issue #1303).
  66. .. _version-3.0.18:
  67. 3.0.18
  68. ======
  69. :release-date: 2013-04-12 05:00:00 P.M BST
  70. - Now depends on :mod:`kombu` 2.5.10.
  71. See the :ref:`kombu changelog <kombu:version-2.5.10>`.
  72. - Now depends on :mod:`billiard` 2.7.3.27.
  73. - Can now specify a whitelist of accepted serializers using
  74. the new :setting:`CELERY_ACCEPT_CONTENT` setting.
  75. This means that you can force the worker to discard messages
  76. serialized with pickle and other untrusted serializers.
  77. For example to only allow JSON serialized messages use::
  78. CELERY_ACCEPT_CONTENT = ['json']
  79. you can also specify MIME types in the whitelist::
  80. CELERY_ACCEPT_CONTENT = ['application/json']
  81. - Fixed deadlock in multiprocessing's pool caused by the
  82. semaphore not being released when terminated by signal.
  83. - Processes Pool: It's now possible to debug pool processes using GDB.
  84. - ``celery report`` now censors possibly secret settings, like passwords
  85. and secret tokens.
  86. You should still check the output before pasting anything
  87. on the internet.
  88. - Connection URLs now ignore multiple '+' tokens.
  89. - Worker/statedb: Now uses pickle protocol 2 (Py2.5+)
  90. - Fixed Python 3 compatibility issues.
  91. - Worker: A warning is now given if a worker is started with the
  92. same node name as an existing worker.
  93. - Worker: Fixed a deadlock that could occur while revoking tasks (Issue #1297).
  94. - Worker: The :sig:`HUP` handler now closes all open file descriptors
  95. before restarting to ensure file descriptors does not leak (Issue #1270).
  96. - Worker: Optimized storing/loading the revoked tasks list (Issue #1289).
  97. After this change the ``--statedb`` file will take up more disk space,
  98. but loading from and storing the revoked tasks will be considerably
  99. faster (what before took 5 minutes will now take less than a second).
  100. - Celery will now suggest alternatives if there's a typo in the
  101. broker transport name (e.g. ``ampq`` -> ``amqp``).
  102. - Worker: The auto-reloader would cause a crash if a monitored file
  103. was unlinked.
  104. Fix contributed by Agris Ameriks.
  105. - Fixed AsyncResult pickling error.
  106. Fix contributed by Thomas Minor.
  107. - Fixed handling of Unicode in logging output when using log colors
  108. (Issue #427).
  109. - :class:`~celery.app.utils.ConfigurationView` is now a ``MutableMapping``.
  110. Contributed by Aaron Harnly.
  111. - Fixed memory leak in LRU cache implementation.
  112. Fix contributed by Romuald Brunet.
  113. - ``celery.contrib.rdb``: Now works when sockets are in non-blocking mode.
  114. Fix contributed by Theo Spears.
  115. - The `inspect reserved` remote control command included active (started) tasks
  116. with the reserved tasks (Issue #1030).
  117. - The :signal:`task_failure` signal received a modified traceback object
  118. meant for pickling purposes, this has been fixed so that it now
  119. receives the real traceback instead.
  120. - The ``@task`` decorator silently ignored positional arguments,
  121. it now raises the expected :exc:`TypeError` instead (Issue #1125).
  122. - The worker will now properly handle messages with invalid
  123. eta/expires fields (Issue #1232).
  124. - The ``pool_restart`` remote control command now reports
  125. an error if the :setting:`CELERYD_POOL_RESTARTS` setting is not set.
  126. - ``celery.conf.add_defaults`` can now be used with non-dict objects.
  127. - Fixed compatibility problems in the Proxy class (Issue #1087).
  128. The class attributes ``__module__``, ``__name__`` and ``__doc__``
  129. are now meaningful string objects.
  130. Thanks to Marius Gedminas.
  131. - MongoDB Backend: The :setting:`MONGODB_BACKEND_SETTINGS` setting
  132. now accepts a ``option`` key that lets you forward arbitrary kwargs
  133. to the underlying ``pymongo.Connection` object (Issue #1015).
  134. - Beat: The daily backend cleanup task is no longer enabled
  135. for result backends that support automatic result expiration (Issue #1031).
  136. - Canvas list operations now takes application instance from the first
  137. task in the list, instead of depending on the ``current_app`` (Issue #1249).
  138. - Worker: Message decoding error log message now includes traceback
  139. information.
  140. - Worker: The startup banner now includes system platform.
  141. - ``celery inspect|status|control`` now gives an error if used
  142. with an SQL based broker transport.
  143. .. _version-3.0.17:
  144. 3.0.17
  145. ======
  146. :release-date: 2013-03-22 04:00:00 P.M UTC
  147. - Now depends on kombu 2.5.8
  148. - Now depends on billiard 2.7.3.23
  149. - RabbitMQ/Redis: thread-less and lock-free rate-limit implementation.
  150. This means that rate limits pose minimal overhead when used with
  151. RabbitMQ/Redis or future transports using the eventloop,
  152. and that the rate-limit implementation is now thread-less and lock-free.
  153. The thread-based transports will still use the old implementation for
  154. now, but the plan is to use the timer also for other
  155. broker transports in Celery 3.1.
  156. - Rate limits now works with eventlet/gevent if using RabbitMQ/Redis as the
  157. broker.
  158. - A regression caused ``task.retry`` to ignore additional keyword arguments.
  159. Extra keyword arguments are now used as execution options again.
  160. Fix contributed by Simon Engledew.
  161. - Windows: Fixed problem with the worker trying to pickle the Django settings
  162. module at worker startup.
  163. - generic-init.d: No longer double quotes ``$CELERYD_CHDIR`` (Issue #1235).
  164. - generic-init.d: Removes bash-specific syntax.
  165. Fix contributed by Pär Wieslander.
  166. - Cassandra Result Backend: Now handles the
  167. :exc:`~pycassa.AllServersUnavailable` error (Issue #1010).
  168. Fix contributed by Jared Biel.
  169. - Result: Now properly forwards apps to GroupResults when deserializing
  170. (Issue #1249).
  171. Fix contributed by Charles-Axel Dein.
  172. - ``GroupResult.revoke`` now supports the ``terminate`` and ``signal``
  173. keyword arguments.
  174. - Worker: Multiprocessing pool workers now import task modules/configuration
  175. before setting up the logging system so that logging signals can be
  176. connected before they're dispatched.
  177. - chord: The ``AsyncResult`` instance returned now has its ``parent``
  178. attribute set to the header ``GroupResult``.
  179. This is consistent with how ``chain`` works.
  180. .. _version-3.0.16:
  181. 3.0.16
  182. ======
  183. :release-date: 2013-03-07 04:00:00 P.M UTC
  184. - Happy International Women's Day!
  185. We have a long way to go, so this is a chance for you to get involved in one
  186. of the organizations working for making our communities more
  187. diverse.
  188. - PyLadies — http://pyladies.com
  189. - Girls Who Code — http://www.girlswhocode.com
  190. - Women Who Code — http://www.meetup.com/Women-Who-Code-SF/
  191. - Now depends on :mod:`kombu` version 2.5.7
  192. - Now depends on :mod:`billiard` version 2.7.3.22
  193. - AMQP heartbeats are now disabled by default.
  194. Some users experiences issues with heartbeats enabled,
  195. and it's not strictly necessary to use them.
  196. If you're experiencing problems detecting connection failures,
  197. you can re-enable heartbeats by configuring the :setting:`BROKER_HEARTBEAT`
  198. setting.
  199. - Worker: Now propagates connection errors occurring in multiprocessing
  200. callbacks, so that the connection can be reset (Issue #1226).
  201. - Worker: Now propagates connection errors occurring in timer callbacks,
  202. so that the connection can be reset.
  203. - The modules in :setting:`CELERY_IMPORTS` and :setting:`CELERY_INCLUDE`
  204. are now imported in the original order (Issue #1161).
  205. The modules in :setting:`CELERY_IMPORTS` will be imported first,
  206. then continued by :setting:`CELERY_INCLUDE`.
  207. Thanks to Joey Wilhelm.
  208. - New bash completion for ``celery`` available in the git repository:
  209. https://github.com/celery/celery/tree/3.0/extra/bash-completion
  210. You can source this file or put it in ``bash_completion.d`` to
  211. get auto-completion for the ``celery`` command-line utility.
  212. - The node name of a worker can now include unicode characters (Issue #1186).
  213. - The repr of a ``crontab`` object now displays correctly (Issue #972).
  214. - ``events.State`` no longer modifies the original event dictionary.
  215. - No longer uses ``Logger.warn`` deprecated in Python 3.
  216. - Cache Backend: Now works with chords again (Issue #1094).
  217. - Chord unlock now handles errors occurring while calling the callback.
  218. - Generic worker init.d script: Status check is now performed by
  219. querying the pid of the instance instead of sending messages.
  220. Contributed by Milen Pavlov.
  221. - Improved init scripts for CentOS.
  222. - Updated to support celery 3.x conventions.
  223. - Now uses CentOS built-in ``status`` and ``killproc``
  224. - Support for multi-node / multi-pid worker services.
  225. - Standard color-coded CentOS service-init output.
  226. - A test suite.
  227. Contributed by Milen Pavlov.
  228. - ``ResultSet.join`` now always works with empty result set (Issue #1219).
  229. - A ``group`` consisting of a single task is now supported (Issue #1219).
  230. - Now supports the ``pycallgraph`` program (Issue #1051).
  231. - Fixed Jython compatibility problems.
  232. - Django tutorial: Now mentions that the example app must be added to
  233. ``INSTALLED_APPS`` (Issue #1192).
  234. .. _version-3.0.15:
  235. 3.0.15
  236. ======
  237. :release-date: 2013-02-11 04:30:00 P.M UTC
  238. - Now depends on billiard 2.7.3.21 which fixed a syntax error crash.
  239. - Fixed bug with :setting:`CELERY_SEND_TASK_SENT_EVENT`.
  240. .. _version-3.0.14:
  241. 3.0.14
  242. ======
  243. :release-date: 2013-02-08 05:00:00 P.M UTC
  244. - Now depends on Kombu 2.5.6
  245. - Now depends on billiard 2.7.3.20
  246. - ``execv`` is now disabled by default.
  247. It was causing too many problems for users, you can still enable
  248. it using the :setting:`CELERYD_FORCE_EXECV` setting.
  249. execv was only enabled when transports other than amqp/redis was used,
  250. and it's there to prevent deadlocks caused by mutexes not being released
  251. before the process forks. Sadly it also changes the environment
  252. introducing many corner case bugs that is hard to fix without adding
  253. horrible hacks. Deadlock issues are reported far less often than the
  254. bugs that execv are causing, so we now disable it by default.
  255. Work is in motion to create non-blocking versions of these transports
  256. so that execv is not necessary (which is the situation with the amqp
  257. and redis broker transports)
  258. - Chord exception behavior defined (Issue #1172).
  259. From Celery 3.1 the chord callback will change state to FAILURE
  260. when a task part of a chord raises an exception.
  261. It was never documented what happens in this case,
  262. and the actual behavior was very unsatisfactory, indeed
  263. it will just forward the exception value to the chord callback.
  264. For backward compatibility reasons we do not change to the new
  265. behavior in a bugfix release, even if the current behavior was
  266. never documented. Instead you can enable the
  267. :setting:`CELERY_CHORD_PROPAGATES` setting to get the new behavior
  268. that will be default from Celery 3.1.
  269. See more at :ref:`chord-errors`.
  270. - worker: Fixes bug with ignored and retried tasks.
  271. The ``on_chord_part_return`` and ``Task.after_return`` callbacks,
  272. nor the ``task_postrun`` signal should be called when the task was
  273. retried/ignored.
  274. Fix contributed by Vlad.
  275. - ``GroupResult.join_native`` now respects the ``propagate`` argument.
  276. - ``subtask.id`` added as an alias to ``subtask['options'].id``
  277. .. code-block:: python
  278. >>> s = add.s(2, 2)
  279. >>> s.id = 'my-id'
  280. >>> s['options']
  281. {'task_id': 'my-id'}
  282. >>> s.id
  283. 'my-id'
  284. - worker: Fixed error `Could not start worker processes` occurring
  285. when restarting after connection failure (Issue #1118).
  286. - Adds new signal :signal:`task-retried` (Issue #1169).
  287. - `celery events --dumper` now handles connection loss.
  288. - Will now retry sending the task-sent event in case of connection failure.
  289. - amqp backend: Now uses ``Message.requeue`` instead of republishing
  290. the message after poll.
  291. - New :setting:`BROKER_HEARTBEAT_CHECKRATE` setting introduced to modify the
  292. rate at which broker connection heartbeats are monitored.
  293. The default value was also changed from 3.0 to 2.0.
  294. - :class:`celery.events.state.State` is now pickleable.
  295. Fix contributed by Mher Movsisyan.
  296. - :class:`celery.datastructures.LRUCache` is now pickleable.
  297. Fix contributed by Mher Movsisyan.
  298. - The stats broadcast command now includes the workers pid.
  299. Contributed by Mher Movsisyan.
  300. - New ``conf`` remote control command to get a workers current configuration.
  301. Contributed by Mher Movsisyan.
  302. - Adds the ability to modify the chord unlock task's countdown
  303. argument (Issue #1146).
  304. Contributed by Jun Sakai
  305. - beat: The scheduler now uses the `now()`` method of the schedule,
  306. so that schedules can provide a custom way to get the current date and time.
  307. Contributed by Raphaël Slinckx
  308. - Fixed pickling of configuration modules on Windows or when execv is used
  309. (Issue #1126).
  310. - Multiprocessing logger is now configured with loglevel ``ERROR``
  311. by default.
  312. Since 3.0 the multiprocessing loggers were disabled by default
  313. (only configured when the :envvar:`MP_LOG` environment variable was set).
  314. .. _version-3.0.13:
  315. 3.0.13
  316. ======
  317. :release-date: 2013-01-07 04:00:00 P.M UTC
  318. - Now depends on Kombu 2.5
  319. - py-amqp has replaced amqplib as the default transport,
  320. gaining support for AMQP 0.9, and the RabbitMQ extensions
  321. including Consumer Cancel Notifications and heartbeats.
  322. - support for multiple connection URLs for failover.
  323. - Read more in the :ref:`Kombu 2.5 changelog <kombu:version-2.5.0>`.
  324. - Now depends on billiard 2.7.3.19
  325. - Fixed a deadlock issue that could occur when the producer pool
  326. inherited the connection pool instance of the parent process.
  327. - The :option:`--loader` option now works again (Issue #1066).
  328. - :program:`celery` umbrella command: All subcommands now supports
  329. the :option:`--workdir` option (Issue #1063).
  330. - Groups included in chains now give GroupResults (Issue #1057)
  331. Previously it would incorrectly add a regular result instead of a group
  332. result, but now this works:
  333. .. code-block:: python
  334. # [4 + 4, 4 + 8, 16 + 8]
  335. >>> res = (add.s(2, 2) | group(add.s(4), add.s(8), add.s(16)))()
  336. >>> res
  337. <GroupResult: a0acf905-c704-499e-b03a-8d445e6398f7 [
  338. 4346501c-cb99-4ad8-8577-12256c7a22b1,
  339. b12ead10-a622-4d44-86e9-3193a778f345,
  340. 26c7a420-11f3-4b33-8fac-66cd3b62abfd]>
  341. - Chains can now chain other chains and use partial arguments (Issue #1057).
  342. Example:
  343. .. code-block:: python
  344. >>> c1 = (add.s(2) | add.s(4))
  345. >>> c2 = (add.s(8) | add.s(16))
  346. >>> c3 = (c1 | c2)
  347. # 8 + 2 + 4 + 8 + 16
  348. >>> assert c3(8).get() == 38
  349. - Subtasks can now be used with unregistered tasks.
  350. You can specify subtasks even if you just have the name::
  351. >>> s = subtask(task_name, args=(), kwargs=())
  352. >>> s.delay()
  353. - The :program:`celery shell` command now always adds the current
  354. directory to the module path.
  355. - The worker will now properly handle the :exc:`pytz.AmbiguousTimeError`
  356. exception raised when an ETA/countdown is prepared while being in DST
  357. transition (Issue #1061).
  358. - force_execv: Now makes sure that task symbols in the original
  359. task modules will always use the correct app instance (Issue #1072).
  360. - AMQP Backend: Now republishes result messages that have been polled
  361. (using ``result.ready()`` and friends, ``result.get()`` will not do this
  362. in this version).
  363. - Crontab schedule values can now "wrap around"
  364. This means that values like ``11-1`` translates to ``[11, 12, 1]``.
  365. Contributed by Loren Abrams.
  366. - multi stopwait command now shows the pid of processes.
  367. Contributed by Loren Abrams.
  368. - Handling of ETA/countdown fixed when the :setting:`CELERY_ENABLE_UTC`
  369. setting is disabled (Issue #1065).
  370. - A number of uneeded properties were included in messages,
  371. caused by accidentally passing ``Queue.as_dict`` as message properties.
  372. - Rate limit values can now be float
  373. This also extends the string format so that values like ``"0.5/s"`` works.
  374. Contributed by Christoph Krybus
  375. - Fixed a typo in the broadcast routing documentation (Issue #1026).
  376. - Rewrote confusing section about idempotence in the task user guide.
  377. - Fixed typo in the daemonization tutorial (Issue #1055).
  378. - Fixed several typos in the documentation.
  379. Contributed by Marius Gedminas.
  380. - Batches: Now works when using the eventlet pool.
  381. Fix contributed by Thomas Grainger.
  382. - Batches: Added example sending results to :mod:`celery.contrib.batches`.
  383. Contributed by Thomas Grainger.
  384. - Mongodb backend: Connection ``max_pool_size`` can now be set in
  385. :setting:`CELERY_MONGODB_BACKEND_SETTINGS`.
  386. Contributed by Craig Younkins.
  387. - Fixed problem when using earlier versions of :mod:`pytz`.
  388. Fix contributed by Vlad.
  389. - Docs updated to include the default value for the
  390. :setting:`CELERY_TASK_RESULT_EXPIRES` setting.
  391. - Improvements to the django-celery tutorial.
  392. Contributed by Locker537.
  393. - The ``add_consumer`` control command did not properly persist
  394. the addition of new queues so that they survived connection failure
  395. (Issue #1079).
  396. 3.0.12
  397. ======
  398. :release-date: 2012-11-06 02:00 P.M UTC
  399. - Now depends on kombu 2.4.8
  400. - [Redis] New and improved fair queue cycle algorithm (Kevin McCarthy).
  401. - [Redis] Now uses a Redis-based mutex when restoring messages.
  402. - [Redis] Number of messages that can be restored in one interval is no
  403. longer limited (but can be set using the
  404. ``unacked_restore_limit``
  405. :setting:`transport option <BROKER_TRANSPORT_OPTIONS>`.)
  406. - Heartbeat value can be specified in broker URLs (Mher Movsisyan).
  407. - Fixed problem with msgpack on Python 3 (Jasper Bryant-Greene).
  408. - Now depends on billiard 2.7.3.18
  409. - Celery can now be used with static analysis tools like PyDev/PyCharm/pylint
  410. etc.
  411. - Development documentation has moved to Read The Docs.
  412. The new URL is: http://docs.celeryproject.org/en/master
  413. - New :setting:`CELERY_QUEUE_HA_POLICY` setting used to set the default
  414. HA policy for queues when using RabbitMQ.
  415. - New method ``Task.subtask_from_request`` returns a subtask using the current
  416. request.
  417. - Results get_many method did not respect timeout argument.
  418. Fix contributed by Remigiusz Modrzejewski
  419. - generic_init.d scripts now support setting :envvar:`CELERY_CREATE_DIRS` to
  420. always create log and pid directories (Issue #1045).
  421. This can be set in your :file:`/etc/default/celeryd`.
  422. - Fixed strange kombu import problem on Python 3.2 (Issue #1034).
  423. - Worker: ETA scheduler now uses millisecond precision (Issue #1040).
  424. - The ``--config`` argument to programs is now supported by all loaders.
  425. - The :setting:`CASSANDRA_OPTIONS` setting has now been documented.
  426. Contributed by Jared Biel.
  427. - Task methods (:mod:`celery.contrib.methods`) cannot be used with the old
  428. task base class, the task decorator in that module now inherits from the new.
  429. - An optimization was too eager and caused some logging messages to never emit.
  430. - :mod:`celery.contrib.batches` now works again.
  431. - Fixed missing whitespace in ``bdist_rpm`` requirements (Issue #1046).
  432. - Event state's ``tasks_by_name`` applied limit before filtering by name.
  433. Fix contributed by Alexander A. Sosnovskiy.
  434. .. _version-3.0.11:
  435. 3.0.11
  436. ======
  437. :release-date: 2012-09-26 04:00 P.M UTC
  438. - [security:low] generic-init.d scripts changed permissions of /var/log & /var/run
  439. In the daemonization tutorial the recommended directories were as follows:
  440. .. code-block:: bash
  441. CELERYD_LOG_FILE="/var/log/celery/%n.log"
  442. CELERYD_PID_FILE="/var/run/celery/%n.pid"
  443. But in the scripts themselves the default files were ``/var/log/celery%n.log``
  444. and ``/var/run/celery%n.pid``, so if the user did not change the location
  445. by configuration, the directories ``/var/log`` and ``/var/run`` would be
  446. created - and worse have their permissions and owners changed.
  447. This change means that:
  448. - Default pid file is ``/var/run/celery/%n.pid``
  449. - Default log file is ``/var/log/celery/%n.log``
  450. - The directories are only created and have their permissions
  451. changed if *no custom locations are set*.
  452. Users can force paths to be created by calling the ``create-paths``
  453. subcommand:
  454. .. code-block:: bash
  455. $ sudo /etc/init.d/celeryd create-paths
  456. .. admonition:: Upgrading Celery will not update init scripts
  457. To update the init scripts you have to re-download
  458. the files from source control and update them manually.
  459. You can find the init scripts for version 3.0.x at:
  460. http://github.com/celery/celery/tree/3.0/extra/generic-init.d
  461. - Now depends on billiard 2.7.3.17
  462. - Fixes request stack protection when app is initialized more than
  463. once (Issue #1003).
  464. - ETA tasks now properly works when system timezone is not the same
  465. as the configured timezone (Issue #1004).
  466. - Terminating a task now works if the task has been sent to the
  467. pool but not yet acknowledged by a pool process (Issue #1007).
  468. Fix contributed by Alexey Zatelepin
  469. - Terminating a task now properly updates the state of the task to revoked,
  470. and sends a ``task-revoked`` event.
  471. - Generic worker init script now waits for workers to shutdown by default.
  472. - Multi: No longer parses --app option (Issue #1008).
  473. - Multi: stop_verify command renamed to stopwait.
  474. - Daemonization: Now delays trying to create pidfile/logfile until after
  475. the working directory has been changed into.
  476. - :program:`celery worker` and :program:`celery beat` commands now respects
  477. the :option:`--no-color` option (Issue #999).
  478. - Fixed typos in eventlet examples (Issue #1000)
  479. Fix contributed by Bryan Bishop.
  480. Congratulations on opening bug #1000!
  481. - Tasks that raise :exc:`~celery.exceptions.Ignore` are now acknowledged.
  482. - Beat: Now shows the name of the entry in ``sending due task`` logs.
  483. .. _version-3.0.10:
  484. 3.0.10
  485. ======
  486. :release-date: 2012-09-20 05:30 P.M BST
  487. - Now depends on kombu 2.4.7
  488. - Now depends on billiard 2.7.3.14
  489. - Fixes crash at startup when using Django and pre-1.4 projects
  490. (setup_environ).
  491. - Hard time limits now sends the KILL signal shortly after TERM,
  492. to terminate processes that have signal handlers blocked by C extensions.
  493. - Billiard now installs even if the C extension cannot be built.
  494. It's still recommended to build the C extension if you are using
  495. a transport other than rabbitmq/redis (or use forced execv for some
  496. other reason).
  497. - Pool now sets a ``current_process().index`` attribute that can be used to create
  498. as many log files as there are processes in the pool.
  499. - Canvas: chord/group/chain no longer modifies the state when called
  500. Previously calling a chord/group/chain would modify the ids of subtasks
  501. so that:
  502. .. code-block:: python
  503. >>> c = chord([add.s(2, 2), add.s(4, 4)], xsum.s())
  504. >>> c()
  505. >>> c() <-- call again
  506. at the second time the ids for the tasks would be the same as in the
  507. previous invocation. This is now fixed, so that calling a subtask
  508. won't mutate any options.
  509. - Canvas: Chaining a chord to another task now works (Issue #965).
  510. - Worker: Fixed a bug where the request stack could be corrupted if
  511. relative imports are used.
  512. Problem usually manifested itself as an exception while trying to
  513. send a failed task result (``NoneType does not have id attribute``).
  514. Fix contributed by Sam Cooke.
  515. - Tasks can now raise :exc:`~celery.exceptions.Ignore` to skip updating states
  516. or events after return.
  517. Example:
  518. .. code-block:: python
  519. from celery.exceptions import Ignore
  520. @task
  521. def custom_revokes():
  522. if redis.sismember('tasks.revoked', custom_revokes.request.id):
  523. raise Ignore()
  524. - The worker now makes sure the request/task stacks are not modified
  525. by the initial ``Task.__call__``.
  526. This would previously be a problem if a custom task class defined
  527. ``__call__`` and also called ``super()``.
  528. - Because of problems the fast local optimization has been disabled,
  529. and can only be enabled by setting the :envvar:`USE_FAST_LOCALS` attribute.
  530. - Worker: Now sets a default socket timeout of 5 seconds at shutdown
  531. so that broken socket reads do not hinder proper shutdown (Issue #975).
  532. - More fixes related to late eventlet/gevent patching.
  533. - Documentation for settings out of sync with reality:
  534. - :setting:`CELERY_TASK_PUBLISH_RETRY`
  535. Documented as disabled by default, but it was enabled by default
  536. since 2.5 as stated by the 2.5 changelog.
  537. - :setting:`CELERY_TASK_PUBLISH_RETRY_POLICY`
  538. The default max_retries had been set to 100, but documented as being
  539. 3, and the interval_max was set to 1 but documented as 0.2.
  540. The default setting are now set to 3 and 0.2 as it was originally
  541. documented.
  542. Fix contributed by Matt Long.
  543. - Worker: Log messages when connection established and lost have been improved.
  544. - The repr of a crontab schedule value of '0' should be '*' (Issue #972).
  545. - Revoked tasks are now removed from reserved/active state in the worker
  546. (Issue #969)
  547. Fix contributed by Alexey Zatelepin.
  548. - gevent: Now supports hard time limits using ``gevent.Timeout``.
  549. - Documentation: Links to init scripts now point to the 3.0 branch instead
  550. of the development branch (master).
  551. - Documentation: Fixed typo in signals user guide (Issue #986).
  552. ``instance.app.queues`` -> ``instance.app.amqp.queues``.
  553. - Eventlet/gevent: The worker did not properly set the custom app
  554. for new greenlets.
  555. - Eventlet/gevent: Fixed a bug where the worker could not recover
  556. from connection loss (Issue #959).
  557. Also, because of a suspected bug in gevent the
  558. :setting:`BROKER_CONNECTION_TIMEOUT` setting has been disabled
  559. when using gevent
  560. 3.0.9
  561. =====
  562. :release-date: 2012-08-31 06:00 P.M BST
  563. - Important note for users of Django and the database scheduler!
  564. Recently a timezone issue has been fixed for periodic tasks,
  565. but erroneous timezones could have already been stored in the
  566. database, so for the fix to work you need to reset
  567. the ``last_run_at`` fields.
  568. You can do this by executing the following command:
  569. .. code-block:: bash
  570. $ python manage.py shell
  571. >>> from djcelery.models import PeriodicTask
  572. >>> PeriodicTask.objects.update(last_run_at=None)
  573. You also have to do this if you change the timezone or
  574. :setting:`CELERY_ENABLE_UTC` setting.
  575. - Note about the :setting:`CELERY_ENABLE_UTC` setting.
  576. If you previously disabled this just to force periodic tasks to work with
  577. your timezone, then you are now *encouraged to re-enable it*.
  578. - Now depends on Kombu 2.4.5 which fixes PyPy + Jython installation.
  579. - Fixed bug with timezones when :setting:`CELERY_ENABLE_UTC` is disabled
  580. (Issue #952).
  581. - Fixed a typo in the celerybeat upgrade mechanism (Issue #951).
  582. - Make sure the `exc_info` argument to logging is resolved (Issue #899).
  583. - Fixed problem with Python 3.2 and thread join timeout overflow (Issue #796).
  584. - A test case was occasionally broken for Python 2.5.
  585. - Unit test suite now passes for PyPy 1.9.
  586. - App instances now supports the with statement.
  587. This calls the new :meth:`~celery.Celery.close` method at exit, which
  588. cleans up after the app like closing pool connections.
  589. Note that this is only necessary when dynamically creating apps,
  590. e.g. for "temporary" apps.
  591. - Support for piping a subtask to a chain.
  592. For example:
  593. .. code-block:: python
  594. pipe = sometask.s() | othertask.s()
  595. new_pipe = mytask.s() | pipe
  596. Contributed by Steve Morin.
  597. - Fixed problem with group results on non-pickle serializers.
  598. Fix contributed by Steeve Morin.
  599. .. _version-3.0.8:
  600. 3.0.8
  601. =====
  602. :release-date: 2012-08-29 05:00 P.M BST
  603. - Now depends on Kombu 2.4.4
  604. - Fixed problem with amqplib and receiving larger message payloads
  605. (Issue #922).
  606. The problem would manifest itself as either the worker hanging,
  607. or occasionally a ``Framing error`` exception appearing.
  608. Users of the new ``pyamqp://`` transport must upgrade to
  609. :mod:`amqp` 0.9.3.
  610. - Beat: Fixed another timezone bug with interval and crontab schedules
  611. (Issue #943).
  612. - Beat: The schedule file is now automatically cleared if the timezone
  613. is changed.
  614. The schedule is also cleared when you upgrade to 3.0.8 from an earlier
  615. version, this to register the initial timezone info.
  616. - Events: The :event:`worker-heartbeat` event now include processed and active
  617. count fields.
  618. Contributed by Mher Movsisyan.
  619. - Fixed error with error email and new task classes (Issue #931).
  620. - ``BaseTask.__call__`` is no longer optimized away if it has been monkey
  621. patched.
  622. - Fixed shutdown issue when using gevent (Issue #911 & Issue #936).
  623. Fix contributed by Thomas Meson.
  624. .. _version-3.0.7:
  625. 3.0.7
  626. =====
  627. :release-date: 2012-08-24 05:00 P.M BST
  628. - Fixes several problems with periodic tasks and timezones (Issue #937).
  629. - Now depends on kombu 2.4.2
  630. - Redis: Fixes a race condition crash
  631. - Fixes an infinite loop that could happen when retrying establishing
  632. the broker connection.
  633. - Daemons now redirect standard file descriptors to :file:`/dev/null`
  634. Though by default the standard outs are also redirected
  635. to the logger instead, but you can disable this by changing
  636. the :setting:`CELERY_REDIRECT_STDOUTS` setting.
  637. - Fixes possible problems when eventlet/gevent is patched too late.
  638. - ``LoggingProxy`` no longer defines ``fileno()`` (Issue #928).
  639. - Results are now ignored for the chord unlock task.
  640. Fix contributed by Steeve Morin.
  641. - Cassandra backend now works if result expiry is disabled.
  642. Fix contributed by Steeve Morin.
  643. - The traceback object is now passed to signal handlers instead
  644. of the string representation.
  645. Fix contributed by Adam DePue.
  646. - Celery command: Extensions are now sorted by name.
  647. - A regression caused the :event:`task-failed` event to be sent
  648. with the exception object instead of its string representation.
  649. - The worker daemon would try to create the pid file before daemonizing
  650. to catch errors, but this file was not immediately released (Issue #923).
  651. - Fixes Jython compatibility.
  652. - ``billiard.forking_enable`` was called by all pools not just the
  653. processes pool, which would result in a useless warning if the billiard
  654. C extensions were not installed.
  655. .. _version-3.0.6:
  656. 3.0.6
  657. =====
  658. :release-date: 2012-08-17 11:00 P.M BST
  659. - Now depends on kombu 2.4.0
  660. - Now depends on billiard 2.7.3.12
  661. - Redis: Celery now tries to restore messages whenever there are no messages
  662. in the queue.
  663. - Crontab schedules now properly respects :setting:`CELERY_TIMEZONE` setting.
  664. It's important to note that crontab schedules uses UTC time by default
  665. unless this setting is set.
  666. Issue #904 and django-celery #150.
  667. - ``billiard.enable_forking`` is now only set by the processes pool.
  668. - The transport is now properly shown by :program:`celery report`
  669. (Issue #913).
  670. - The `--app` argument now works if the last part is a module name
  671. (Issue #921).
  672. - Fixed problem with unpickleable exceptions (billiard #12).
  673. - Adds ``task_name`` attribute to ``EagerResult`` which is always
  674. :const:`None` (Issue #907).
  675. - Old Task class in :mod:`celery.task` no longer accepts magic kwargs by
  676. default (Issue #918).
  677. A regression long ago disabled magic kwargs for these, and since
  678. no one has complained about it we don't have any incentive to fix it now.
  679. - The ``inspect reserved`` control command did not work properly.
  680. - Should now play better with static analyzation tools by explicitly
  681. specifying dynamically created attributes in the :mod:`celery` and
  682. :mod:`celery.task` modules.
  683. - Terminating a task now results in
  684. :exc:`~celery.exceptions.RevokedTaskError` instead of a ``WorkerLostError``.
  685. - ``AsyncResult.revoke`` now accepts ``terminate`` and ``signal`` arguments.
  686. - The :event:`task-revoked` event now includes new fields: ``terminated``,
  687. ``signum``, and ``expired``.
  688. - The argument to :class:`~celery.exceptions.TaskRevokedError` is now one
  689. of the reasons ``revoked``, ``expired`` or ``terminated``.
  690. - Old Task class does no longer use classmethods for push_request and
  691. pop_request (Issue #912).
  692. - ``GroupResult`` now supports the ``children`` attribute (Issue #916).
  693. - ``AsyncResult.collect`` now respects the ``intermediate`` argument
  694. (Issue #917).
  695. - Fixes example task in documentation (Issue #902).
  696. - Eventlet fixed so that the environment is patched as soon as possible.
  697. - eventlet: Now warns if celery related modules that depends on threads
  698. are imported before eventlet is patched.
  699. - Improved event and camera examples in the monitoring guide.
  700. - Disables celery command setuptools entrypoints if the command can't be
  701. loaded.
  702. - Fixed broken ``dump_request`` example in the tasks guide.
  703. .. _version-3.0.5:
  704. 3.0.5
  705. =====
  706. :release-date: 2012-08-01 04:00 P.M BST
  707. - Now depends on kombu 2.3.1 + billiard 2.7.3.11
  708. - Fixed a bug with the -B option (``cannot pickle thread.lock objects``)
  709. (Issue #894 + Issue #892, + django-celery #154).
  710. - The :control:`restart_pool` control command now requires the
  711. :setting:`CELERYD_POOL_RESTARTS` setting to be enabled
  712. This change was necessary as the multiprocessing event that the restart
  713. command depends on is responsible for creating many semaphores/file
  714. descriptors, resulting in problems in some environments.
  715. - ``chain.apply`` now passes args to the first task (Issue #889).
  716. - Documented previously secret options to the Django-Celery monitor
  717. in the monitoring userguide (Issue #396).
  718. - Old changelog are now organized in separate documents for each series,
  719. see :ref:`history`.
  720. .. _version-3.0.4:
  721. 3.0.4
  722. =====
  723. :release-date: 2012-07-26 07:00 P.M BST
  724. - Now depends on Kombu 2.3
  725. - New experimental standalone Celery monitor: Flower
  726. See :ref:`monitoring-flower` to read more about it!
  727. Contributed by Mher Movsisyan.
  728. - Now supports AMQP heartbeats if using the new ``pyamqp://`` transport.
  729. - The py-amqp transport requires the :mod:`amqp` library to be installed::
  730. $ pip install amqp
  731. - Then you need to set the transport URL prefix to ``pyamqp://``.
  732. - The default heartbeat value is 10 seconds, but this can be changed using
  733. the :setting:`BROKER_HEARTBEAT` setting::
  734. BROKER_HEARTBEAT = 5.0
  735. - If the broker heartbeat is set to 10 seconds, the heartbeats will be
  736. monitored every 5 seconds (double the hertbeat rate).
  737. See the :ref:`Kombu 2.3 changelog <kombu:version-2.3.0>` for more information.
  738. - Now supports RabbitMQ Consumer Cancel Notifications, using the ``pyamqp://``
  739. transport.
  740. This is essential when running RabbitMQ in a cluster.
  741. See the :ref:`Kombu 2.3 changelog <kombu:version-2.3.0>` for more information.
  742. - Delivery info is no longer passed directly through.
  743. It was discovered that the SQS transport adds objects that can't
  744. be pickled to the delivery info mapping, so we had to go back
  745. to using the whitelist again.
  746. Fixing this bug also means that the SQS transport is now working again.
  747. - The semaphore was not properly released when a task was revoked (Issue #877).
  748. This could lead to tasks being swallowed and not released until a worker
  749. restart.
  750. Thanks to Hynek Schlawack for debugging the issue.
  751. - Retrying a task now also forwards any linked tasks.
  752. This means that if a task is part of a chain (or linked in some other
  753. way) and that even if the task is retried, then the next task in the chain
  754. will be executed when the retry succeeds.
  755. - Chords: Now supports setting the interval and other keyword arguments
  756. to the chord unlock task.
  757. - The interval can now be set as part of the chord subtasks kwargs::
  758. chord(header)(body, interval=10.0)
  759. - In addition the chord unlock task now honors the Task.default_retry_delay
  760. option, used when none is specified, which also means that the default
  761. interval can also be changed using annotations:
  762. .. code-block:: python
  763. CELERY_ANNOTATIONS = {
  764. 'celery.chord_unlock': {
  765. 'default_retry_delay': 10.0,
  766. }
  767. }
  768. - New :meth:`@Celery.add_defaults` method can add new default configuration
  769. dicts to the applications configuration.
  770. For example::
  771. config = {'FOO': 10}
  772. celery.add_defaults(config)
  773. is the same as ``celery.conf.update(config)`` except that data will not be
  774. copied, and that it will not be pickled when the worker spawns child
  775. processes.
  776. In addition the method accepts a callable::
  777. def initialize_config():
  778. # insert heavy stuff that can't be done at import time here.
  779. celery.add_defaults(initialize_config)
  780. which means the same as the above except that it will not happen
  781. until the celery configuration is actually used.
  782. As an example, Celery can lazily use the configuration of a Flask app::
  783. flask_app = Flask()
  784. celery = Celery()
  785. celery.add_defaults(lambda: flask_app.config)
  786. - Revoked tasks were not marked as revoked in the result backend (Issue #871).
  787. Fix contributed by Hynek Schlawack.
  788. - Eventloop now properly handles the case when the epoll poller object
  789. has been closed (Issue #882).
  790. - Fixed syntax error in ``funtests/test_leak.py``
  791. Fix contributed by Catalin Iacob.
  792. - group/chunks: Now accepts empty task list (Issue #873).
  793. - New method names:
  794. - ``Celery.default_connection()`` ➠ :meth:`~@Celery.connection_or_acquire`.
  795. - ``Celery.default_producer()`` ➠ :meth:`~@Celery.producer_or_acquire`.
  796. The old names still work for backward compatibility.
  797. .. _version-3.0.3:
  798. 3.0.3
  799. =====
  800. :release-date: 2012-07-20 09:17 P.M BST
  801. :by: Ask Solem
  802. - amqplib passes the channel object as part of the delivery_info
  803. and it's not pickleable, so we now remove it.
  804. .. _version-3.0.2:
  805. 3.0.2
  806. =====
  807. :release-date: 2012-07-20 04:00 P.M BST
  808. :by: Ask Solem
  809. - A bug caused the following task options to not take defaults from the
  810. configuration (Issue #867 + Issue #858)
  811. The following settings were affected:
  812. - :setting:`CELERY_IGNORE_RESULT`
  813. - :setting:`CELERYD_SEND_TASK_ERROR_EMAILS`
  814. - :setting:`CELERY_TRACK_STARTED`
  815. - :setting:`CElERY_STORE_ERRORS_EVEN_IF_IGNORED`
  816. Fix contributed by John Watson.
  817. - Task Request: ``delivery_info`` is now passed through as-is (Issue #807).
  818. - The eta argument now supports datetime's with a timezone set (Issue #855).
  819. - The worker's banner displayed the autoscale settings in the wrong order
  820. (Issue #859).
  821. - Extension commands are now loaded after concurrency is set up
  822. so that they don't interfere with e.g. eventlet patching.
  823. - Fixed bug in the threaded pool (Issue #863)
  824. - The task failure handler mixed up the fields in :func:`sys.exc_info`.
  825. Fix contributed by Rinat Shigapov.
  826. - Fixed typos and wording in the docs.
  827. Fix contributed by Paul McMillan
  828. - New setting: :setting:`CELERY_WORKER_DIRECT`
  829. If enabled each worker will consume from their own dedicated queue
  830. which can be used to route tasks to specific workers.
  831. - Fixed several edge case bugs in the add consumer remote control command.
  832. - :mod:`~celery.contrib.migrate`: Can now filter and move tasks to specific
  833. workers if :setting:`CELERY_WORKER_DIRECT` is enabled.
  834. Among other improvements, the following functions have been added:
  835. * ``move_direct(filterfun, **opts)``
  836. * ``move_direct_by_id(task_id, worker_hostname, **opts)``
  837. * ``move_direct_by_idmap({task_id: worker_hostname, ...}, **opts)``
  838. * ``move_direct_by_taskmap({task_name: worker_hostname, ...}, **opts)``
  839. - :meth:`~celery.Celery.default_connection` now accepts a pool argument that
  840. if set to false causes a new connection to be created instead of acquiring
  841. one from the pool.
  842. - New signal: :signal:`celeryd_after_setup`.
  843. - Default loader now keeps lowercase attributes from the configuration module.
  844. .. _version-3.0.1:
  845. 3.0.1
  846. =====
  847. :release-date: 2012-07-10 06:00 P.M BST
  848. :by: Ask Solem
  849. - Now depends on kombu 2.2.5
  850. - inspect now supports limit argument::
  851. myapp.control.inspect(limit=1).ping()
  852. - Beat: now works with timezone aware datetime's.
  853. - Task classes inheriting ``from celery import Task``
  854. mistakingly enabled ``accept_magic_kwargs``.
  855. - Fixed bug in ``inspect scheduled`` (Issue #829).
  856. - Beat: Now resets the schedule to upgrade to UTC.
  857. - The :program:`celery worker` command now works with eventlet/gevent.
  858. Previously it would not patch the environment early enough.
  859. - The :program:`celery` command now supports extension commands
  860. using setuptools entry-points.
  861. Libraries can add additional commands to the :program:`celery`
  862. command by adding an entry-point like::
  863. setup(
  864. entry_points=[
  865. 'celery.commands': [
  866. 'foo = my.module:Command',
  867. ],
  868. ],
  869. ...)
  870. The command must then support the interface of
  871. :class:`celery.bin.base.Command`.
  872. - contrib.migrate: New utilities to move tasks from one queue to another.
  873. - :func:`~celery.contrib.migrate.move_tasks`
  874. - :func:`~celery.contrib.migrate.move_task_by_id`
  875. - The :event:`task-sent` event now contains ``exchange`` and ``routing_key``
  876. fields.
  877. - Fixes bug with installing on Python 3.
  878. Fix contributed by Jed Smith.
  879. .. _version-3.0.0:
  880. 3.0.0 (Chiastic Slide)
  881. ======================
  882. :release-date: 2012-07-07 01:30 P.M BST
  883. :by: Ask Solem
  884. See :ref:`whatsnew-3.0`.