Changelog 44 KB

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