Changelog 44 KB

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