Changelog 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  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.12:
  9. 3.0.12
  10. ======
  11. :release-date: TBA
  12. - Event state's ``tasks_by_name`` applied limit before filtering by name.
  13. Fix contributed by Alexander A. Sosnovskiy.
  14. - Results get_many method did not respect timeout argument.
  15. Fix contributed by Remigiusz Modrzejewski
  16. - generic_init.d scripts now support setting :envvar:`CELERY_CREATE_DIRS` to
  17. always create log and pid directories (Issue #1045).
  18. This can be set in your :file:`/etc/default/celeryd`.
  19. - Fixed strange kombu import problem on Python 3.2 (Issue #1034).
  20. - Workers ETA scheduler now uses millisecond precision (Issue #1040).
  21. - The :param:`--config` argument to programs is now supported by all loaders.
  22. - The :setting:`CASSANDRA_OPTIONS` setting has now been documented.
  23. Contributed by Jared Biel.
  24. - Task methods (:mod:`celery.contrib.methods`) can not be used with the old
  25. task base class.
  26. - An optimization was too eager and caused some logging messages to never emit.
  27. - :mod:`celery.contrib.batches` now works again.
  28. .. _version-3.0.11:
  29. 3.0.11
  30. ======
  31. :release-date: 2012-09-26 04:00 P.M UTC
  32. - [security:low] generic-init.d scripts changed permissions of /var/log & /var/run
  33. In the daemonization tutorial the recommended directories were as follows:
  34. .. code-block:: bash
  35. CELERYD_LOG_FILE="/var/log/celery/%n.log"
  36. CELERYD_PID_FILE="/var/run/celery/%n.pid"
  37. But in the scripts themselves the default files were ``/var/log/celery%n.log``
  38. and ``/var/run/celery%n.pid``, so if the user did not change the location
  39. by configuration, the directories ``/var/log`` and ``/var/run`` would be
  40. created - and worse have their permissions and owners changed.
  41. This change means that:
  42. - Default pid file is ``/var/run/celery/%n.pid``
  43. - Default log file is ``/var/log/celery/%n.log``
  44. - The directories are only created and have their permissions
  45. changed if *no custom locations are set*.
  46. Users can force paths to be created by calling the ``create-paths``
  47. subcommand:
  48. .. code-block:: bash
  49. $ sudo /etc/init.d/celeryd create-paths
  50. .. admonition:: Upgrading Celery will not update init scripts
  51. To update the init scripts you have to re-download
  52. the files from source control and update them manually.
  53. You can find the init scripts for version 3.0.x at:
  54. http://github.com/celery/celery/tree/3.0/extra/generic-init.d
  55. - Now depends on billiard 2.7.3.17
  56. - Fixes request stack protection when app is initialized more than
  57. once (Issue #1003).
  58. - ETA tasks now properly works when system timezone is not the same
  59. as the configured timezone (Issue #1004).
  60. - Terminating a task now works if the task has been sent to the
  61. pool but not yet acknowledged by a pool process (Issue #1007).
  62. Fix contributed by Alexey Zatelepin
  63. - Terminating a task now properly updates the state of the task to revoked,
  64. and sends a ``task-revoked`` event.
  65. - Multi: No longer parses --app option (Issue #1008).
  66. - Generic worker init script now waits for workers to shutdown by default.
  67. - Multi: stop_verify command renamed to stopwait.
  68. - Daemonization: Now delays trying to create pidfile/logfile until after
  69. the working directory has been changed into.
  70. - :program:`celery worker` and :program:`celery beat` commands now respects
  71. the :option:`--no-color` option (Issue #999).
  72. - Fixed typos in eventlet examples (Issue #1000)
  73. Fix contributed by Bryan Bishop.
  74. Congratulations on opening bug #1000!
  75. - Tasks that raise :exc:`~celery.exceptions.Ignore` are now acknowledged.
  76. - Beat: Now shows the name of the entry in ``sending due task`` logs.
  77. .. _version-3.0.10:
  78. 3.0.10
  79. ======
  80. :release-date: 2012-09-20 05:30 P.M BST
  81. - Now depends on kombu 2.4.7
  82. - Now depends on billiard 2.7.3.14
  83. - Fixes crash at startup when using Django and pre-1.4 projects
  84. (setup_environ).
  85. - Hard time limits now sends the KILL signal shortly after TERM,
  86. to terminate processes that have signal handlers blocked by C extensions.
  87. - Billiard now installs even if the C extension cannot be built.
  88. It's still recommended to build the C extension if you are using
  89. a transport other than rabbitmq/redis (or use forced execv for some
  90. other reason).
  91. - Pool now sets a ``current_process().index`` attribute that can be used to create
  92. as many log files as there are processes in the pool.
  93. - Canvas: chord/group/chain no longer modifies the state when called
  94. Previously calling a chord/group/chain would modify the ids of subtasks
  95. so that:
  96. .. code-block:: python
  97. >>> c = chord([add.s(2, 2), add.s(4, 4)], xsum.s())
  98. >>> c()
  99. >>> c() <-- call again
  100. at the second time the ids for the tasks would be the same as in the
  101. previous invocation. This is now fixed, so that calling a subtask
  102. won't mutate any options.
  103. - Canvas: Chaining a chord to another task now works (Issue #965).
  104. - Worker: Fixed a bug where the request stack could be corrupted if
  105. relative imports are used.
  106. Problem usually manifested itself as an exception while trying to
  107. send a failed task result (``NoneType does not have id attribute``).
  108. Fix contributed by Sam Cooke.
  109. - Tasks can now raise :exc:`~celery.exceptions.Ignore` to skip updating states
  110. or events after return.
  111. Example:
  112. .. code-block:: python
  113. from celery.exceptions import Ignore
  114. @task
  115. def custom_revokes():
  116. if redis.sismember('tasks.revoked', custom_revokes.request.id):
  117. raise Ignore()
  118. - The worker now makes sure the request/task stacks are not modified
  119. by the initial ``Task.__call__``.
  120. This would previously be a problem if a custom task class defined
  121. ``__call__`` and also called ``super()``.
  122. - Because of problems the fast local optimization has been disabled,
  123. and can only be enabled by setting the :envvar:`USE_FAST_LOCALS` attribute.
  124. - Worker: Now sets a default socket timeout of 5 seconds at shutdown
  125. so that broken socket reads do not hinder proper shutdown (Issue #975).
  126. - More fixes related to late eventlet/gevent patching.
  127. - Documentation for settings out of sync with reality:
  128. - :setting:`CELERY_TASK_PUBLISH_RETRY`
  129. Documented as disabled by default, but it was enabled by default
  130. since 2.5 as stated by the 2.5 changelog.
  131. - :setting:`CELERY_TASK_PUBLISH_RETRY_POLICY`
  132. The default max_retries had been set to 100, but documented as being
  133. 3, and the interval_max was set to 1 but documented as 0.2.
  134. The default setting are now set to 3 and 0.2 as it was originally
  135. documented.
  136. Fix contributed by Matt Long.
  137. - Worker: Log messages when connection established and lost have been improved.
  138. - The repr of a crontab schedule value of '0' should be '*' (Issue #972).
  139. - Revoked tasks are now removed from reserved/active state in the worker
  140. (Issue #969)
  141. Fix contributed by Alexey Zatelepin.
  142. - gevent: Now supports hard time limits using ``gevent.Timeout``.
  143. - Documentation: Links to init scripts now point to the 3.0 branch instead
  144. of the development branch (master).
  145. - Documentation: Fixed typo in signals user guide (Issue #986).
  146. ``instance.app.queues`` -> ``instance.app.amqp.queues``.
  147. - Eventlet/gevent: The worker did not properly set the custom app
  148. for new greenlets.
  149. - Eventlet/gevent: Fixed a bug where the worker could not recover
  150. from connection loss (Issue #959).
  151. Also, because of a suspected bug in gevent the
  152. :setting:`BROKER_CONNECTION_TIMEOUT` setting has been disabled
  153. when using gevent
  154. 3.0.9
  155. =====
  156. :release-date: 2012-08-31 06:00 P.M BST
  157. - Important note for users of Django and the database scheduler!
  158. Recently a timezone issue has been fixed for periodic tasks,
  159. but erroneous timezones could have already been stored in the
  160. database, so for the fix to work you need to reset
  161. the ``last_run_at`` fields.
  162. You can do this by executing the following command:
  163. .. code-block:: bash
  164. $ python manage.py shell
  165. >>> from djcelery.models import PeriodicTask
  166. >>> PeriodicTask.objects.update(last_run_at=None)
  167. You also have to do this if you change the timezone or
  168. :setting:`CELERY_ENABLE_UTC` setting.
  169. - Note about the :setting:`CELERY_ENABLE_UTC` setting.
  170. If you previously disabled this just to force periodic tasks to work with
  171. your timezone, then you are now *encouraged to re-enable it*.
  172. - Now depends on Kombu 2.4.5 which fixes PyPy + Jython installation.
  173. - Fixed bug with timezones when :setting:`CELERY_ENABLE_UTC` is disabled
  174. (Issue #952).
  175. - Fixed a typo in the celerybeat upgrade mechanism (Issue #951).
  176. - Make sure the `exc_info` argument to logging is resolved (Issue #899).
  177. - Fixed problem with Python 3.2 and thread join timeout overflow (Issue #796).
  178. - A test case was occasionally broken for Python 2.5.
  179. - Unit test suite now passes for PyPy 1.9.
  180. - App instances now supports the with statement.
  181. This calls the new :meth:`~celery.Celery.close` method at exit, which
  182. cleans up after the app like closing pool connections.
  183. Note that this is only necessary when dynamically creating apps,
  184. e.g. for "temporary" apps.
  185. - Support for piping a subtask to a chain.
  186. For example:
  187. .. code-block:: python
  188. pipe = sometask.s() | othertask.s()
  189. new_pipe = mytask.s() | pipe
  190. Contributed by Steve Morin.
  191. - Fixed problem with group results on non-pickle serializers.
  192. Fix contributed by Steeve Morin.
  193. .. _version-3.0.8:
  194. 3.0.8
  195. =====
  196. :release-date: 2012-08-29 05:00 P.M BST
  197. - Now depends on Kombu 2.4.4
  198. - Fixed problem with amqplib and receiving larger message payloads
  199. (Issue #922).
  200. The problem would manifest itself as either the worker hanging,
  201. or occasionally a ``Framing error`` exception appearing.
  202. Users of the new ``pyamqp://`` transport must upgrade to
  203. :mod:`amqp` 0.9.3.
  204. - Beat: Fixed another timezone bug with interval and crontab schedules
  205. (Issue #943).
  206. - Beat: The schedule file is now automatically cleared if the timezone
  207. is changed.
  208. The schedule is also cleared when you upgrade to 3.0.8 from an earlier
  209. version, this to register the initial timezone info.
  210. - Events: The :event:`worker-heartbeat` event now include processed and active
  211. count fields.
  212. Contributed by Mher Movsisyan.
  213. - Fixed error with error email and new task classes (Issue #931).
  214. - ``BaseTask.__call__`` is no longer optimized away if it has been monkey
  215. patched.
  216. - Fixed shutdown issue when using gevent (Issue #911 & Issue #936).
  217. Fix contributed by Thomas Meson.
  218. .. _version-3.0.7:
  219. 3.0.7
  220. =====
  221. :release-date: 2012-08-24 05:00 P.M BST
  222. - Fixes several problems with periodic tasks and timezones (Issue #937).
  223. - Now depends on kombu 2.4.2
  224. - Redis: Fixes a race condition crash
  225. - Fixes an infinite loop that could happen when retrying establishing
  226. the broker connection.
  227. - Daemons now redirect standard file descriptors to :file:`/dev/null`
  228. Though by default the standard outs are also redirected
  229. to the logger instead, but you can disable this by changing
  230. the :setting:`CELERY_REDIRECT_STDOUTS` setting.
  231. - Fixes possible problems when eventlet/gevent is patched too late.
  232. - ``LoggingProxy`` no longer defines ``fileno()`` (Issue #928).
  233. - Results are now ignored for the chord unlock task.
  234. Fix contributed by Steeve Morin.
  235. - Cassandra backend now works if result expiry is disabled.
  236. Fix contributed by Steeve Morin.
  237. - The traceback object is now passed to signal handlers instead
  238. of the string representation.
  239. Fix contributed by Adam DePue.
  240. - Celery command: Extensions are now sorted by name.
  241. - A regression caused the :event:`task-failed` event to be sent
  242. with the exception object instead of its string representation.
  243. - The worker daemon would try to create the pid file before daemonizing
  244. to catch errors, but this file was not immediately released (Issue #923).
  245. - Fixes Jython compatibility.
  246. - ``billiard.forking_enable`` was called by all pools not just the
  247. processes pool, which would result in a useless warning if the billiard
  248. C extensions were not installed.
  249. .. _version-3.0.6:
  250. 3.0.6
  251. =====
  252. :release-date: 2012-08-17 11:00 P.M BST
  253. - Now depends on kombu 2.4.0
  254. - Now depends on billiard 2.7.3.12
  255. - Redis: Celery now tries to restore messages whenever there are no messages
  256. in the queue.
  257. - Crontab schedules now properly respects :setting:`CELERY_TIMEZONE` setting.
  258. It's important to note that crontab schedules uses UTC time by default
  259. unless this setting is set.
  260. Issue #904 and django-celery #150.
  261. - ``billiard.enable_forking`` is now only set by the processes pool.
  262. - The transport is now properly shown by :program:`celery report`
  263. (Issue #913).
  264. - The `--app` argument now works if the last part is a module name
  265. (Issue #921).
  266. - Fixed problem with unpickleable exceptions (billiard #12).
  267. - Adds ``task_name`` attribute to ``EagerResult`` which is always
  268. :const:`None` (Issue #907).
  269. - Old Task class in :mod:`celery.task` no longer accepts magic kwargs by
  270. default (Issue #918).
  271. A regression long ago disabled magic kwargs for these, and since
  272. no one has complained about it we don't have any incentive to fix it now.
  273. - The ``inspect reserved`` control command did not work properly.
  274. - Should now play better with static analyzation tools by explicitly
  275. specifying dynamically created attributes in the :mod:`celery` and
  276. :mod:`celery.task` modules.
  277. - Terminating a task now results in
  278. :exc:`~celery.exceptions.RevokedTaskError` instead of a ``WorkerLostError``.
  279. - ``AsyncResult.revoke`` now accepts ``terminate`` and ``signal`` arguments.
  280. - The :event:`task-revoked` event now includes new fields: ``terminated``,
  281. ``signum``, and ``expired``.
  282. - The argument to :class:`~celery.exceptions.TaskRevokedError` is now one
  283. of the reasons ``revoked``, ``expired`` or ``terminated``.
  284. - Old Task class does no longer use classmethods for push_request and
  285. pop_request (Issue #912).
  286. - ``GroupResult`` now supports the ``children`` attribute (Issue #916).
  287. - ``AsyncResult.collect`` now respects the ``intermediate`` argument
  288. (Issue #917).
  289. - Fixes example task in documentation (Issue #902).
  290. - Eventlet fixed so that the environment is patched as soon as possible.
  291. - eventlet: Now warns if celery related modules that depends on threads
  292. are imported before eventlet is patched.
  293. - Improved event and camera examples in the monitoring guide.
  294. - Disables celery command setuptools entrypoints if the command can't be
  295. loaded.
  296. - Fixed broken ``dump_request`` example in the tasks guide.
  297. .. _version-3.0.5:
  298. 3.0.5
  299. =====
  300. :release-date: 2012-08-01 04:00 P.M BST
  301. - Now depends on kombu 2.3.1 + billiard 2.7.3.11
  302. - Fixed a bug with the -B option (``cannot pickle thread.lock objects``)
  303. (Issue #894 + Issue #892, + django-celery #154).
  304. - The :control:`restart_pool` control command now requires the
  305. :setting:`CELERYD_POOL_RESTARTS` setting to be enabled
  306. This change was necessary as the multiprocessing event that the restart
  307. command depends on is responsible for creating many semaphores/file
  308. descriptors, resulting in problems in some environments.
  309. - ``chain.apply`` now passes args to the first task (Issue #889).
  310. - Documented previously secret options to the Django-Celery monitor
  311. in the monitoring userguide (Issue #396).
  312. - Old changelog are now organized in separate documents for each series,
  313. see :ref:`history`.
  314. .. _version-3.0.4:
  315. 3.0.4
  316. =====
  317. :release-date: 2012-07-26 07:00 P.M BST
  318. - Now depends on Kombu 2.3
  319. - New experimental standalone Celery monitor: Flower
  320. See :ref:`monitoring-flower` to read more about it!
  321. Contributed by Mher Movsisyan.
  322. - Now supports AMQP heartbeats if using the new ``pyamqp://`` transport.
  323. - The py-amqp transport requires the :mod:`amqp` library to be installed::
  324. $ pip install amqp
  325. - Then you need to set the transport URL prefix to ``pyamqp://``.
  326. - The default heartbeat value is 10 seconds, but this can be changed using
  327. the :setting:`BROKER_HEARTBEAT` setting::
  328. BROKER_HEARTBEAT = 5.0
  329. - If the broker heartbeat is set to 10 seconds, the heartbeats will be
  330. monitored every 5 seconds (double the hertbeat rate).
  331. See the `Kombu 2.3 changelog`_ for more information.
  332. .. _`Kombu 2.3 changelog`:
  333. http://kombu.readthedocs.org/en/latest/changelog.html#version-2-3-0
  334. - Now supports RabbitMQ Consumer Cancel Notifications, using the ``pyamqp://``
  335. transport.
  336. This is essential when running RabbitMQ in a cluster.
  337. See the `Kombu 2.3 changelog`_ for more information.
  338. - Delivery info is no longer passed directly through.
  339. It was discovered that the SQS transport adds objects that can't
  340. be pickled to the delivery info mapping, so we had to go back
  341. to using the whitelist again.
  342. Fixing this bug also means that the SQS transport is now working again.
  343. - The semaphore was not properly released when a task was revoked (Issue #877).
  344. This could lead to tasks being swallowed and not released until a worker
  345. restart.
  346. Thanks to Hynek Schlawack for debugging the issue.
  347. - Retrying a task now also forwards any linked tasks.
  348. This means that if a task is part of a chain (or linked in some other
  349. way) and that even if the task is retried, then the next task in the chain
  350. will be executed when the retry succeeds.
  351. - Chords: Now supports setting the interval and other keyword arguments
  352. to the chord unlock task.
  353. - The interval can now be set as part of the chord subtasks kwargs::
  354. chord(header)(body, interval=10.0)
  355. - In addition the chord unlock task now honors the Task.default_retry_delay
  356. option, used when none is specified, which also means that the default
  357. interval can also be changed using annotations:
  358. .. code-block:: python
  359. CELERY_ANNOTATIONS = {
  360. 'celery.chord_unlock': {
  361. 'default_retry_delay': 10.0,
  362. }
  363. }
  364. - New :meth:`@Celery.add_defaults` method can add new default configuration
  365. dicts to the applications configuration.
  366. For example::
  367. config = {'FOO': 10}
  368. celery.add_defaults(config)
  369. is the same as ``celery.conf.update(config)`` except that data will not be
  370. copied, and that it will not be pickled when the worker spawns child
  371. processes.
  372. In addition the method accepts a callable::
  373. def initialize_config():
  374. # insert heavy stuff that can't be done at import time here.
  375. celery.add_defaults(initialize_config)
  376. which means the same as the above except that it will not happen
  377. until the celery configuration is actually used.
  378. As an example, Celery can lazily use the configuration of a Flask app::
  379. flask_app = Flask()
  380. celery = Celery()
  381. celery.add_defaults(lambda: flask_app.config)
  382. - Revoked tasks were not marked as revoked in the result backend (Issue #871).
  383. Fix contributed by Hynek Schlawack.
  384. - Eventloop now properly handles the case when the epoll poller object
  385. has been closed (Issue #882).
  386. - Fixed syntax error in ``funtests/test_leak.py``
  387. Fix contributed by Catalin Iacob.
  388. - group/chunks: Now accepts empty task list (Issue #873).
  389. - New method names:
  390. - ``Celery.default_connection()`` ➠ :meth:`~@Celery.connection_or_acquire`.
  391. - ``Celery.default_producer()`` ➠ :meth:`~@Celery.producer_or_acquire`.
  392. The old names still work for backward compatibility.
  393. .. _version-3.0.3:
  394. 3.0.3
  395. =====
  396. :release-date: 2012-07-20 09:17 P.M BST
  397. :by: Ask Solem
  398. - amqplib passes the channel object as part of the delivery_info
  399. and it's not pickleable, so we now remove it.
  400. .. _version-3.0.2:
  401. 3.0.2
  402. =====
  403. :release-date: 2012-07-20 04:00 P.M BST
  404. :by: Ask Solem
  405. - A bug caused the following task options to not take defaults from the
  406. configuration (Issue #867 + Issue #858)
  407. The following settings were affected:
  408. - :setting:`CELERY_IGNORE_RESULT`
  409. - :setting:`CELERYD_SEND_TASK_ERROR_EMAILS`
  410. - :setting:`CELERY_TRACK_STARTED`
  411. - :setting:`CElERY_STORE_ERRORS_EVEN_IF_IGNORED`
  412. Fix contributed by John Watson.
  413. - Task Request: ``delivery_info`` is now passed through as-is (Issue #807).
  414. - The eta argument now supports datetime's with a timezone set (Issue #855).
  415. - The worker's banner displayed the autoscale settings in the wrong order
  416. (Issue #859).
  417. - Extension commands are now loaded after concurrency is set up
  418. so that they don't interfere with e.g. eventlet patching.
  419. - Fixed bug in the threaded pool (Issue #863)
  420. - The task failure handler mixed up the fields in :func:`sys.exc_info`.
  421. Fix contributed by Rinat Shigapov.
  422. - Fixed typos and wording in the docs.
  423. Fix contributed by Paul McMillan
  424. - New setting: :setting:`CELERY_WORKER_DIRECT`
  425. If enabled each worker will consume from their own dedicated queue
  426. which can be used to route tasks to specific workers.
  427. - Fixed several edge case bugs in the add consumer remote control command.
  428. - :mod:`~celery.contrib.migrate`: Can now filter and move tasks to specific
  429. workers if :setting:`CELERY_WORKER_DIRECT` is enabled.
  430. Among other improvements, the following functions have been added:
  431. * ``move_direct(filterfun, **opts)``
  432. * ``move_direct_by_id(task_id, worker_hostname, **opts)``
  433. * ``move_direct_by_idmap({task_id: worker_hostname, ...}, **opts)``
  434. * ``move_direct_by_taskmap({task_name: worker_hostname, ...}, **opts)``
  435. - :meth:`~celery.Celery.default_connection` now accepts a pool argument that
  436. if set to false causes a new connection to be created instead of acquiring
  437. one from the pool.
  438. - New signal: :signal:`celeryd_after_setup`.
  439. - Default loader now keeps lowercase attributes from the configuration module.
  440. .. _version-3.0.1:
  441. 3.0.1
  442. =====
  443. :release-date: 2012-07-10 06:00 P.M BST
  444. :by: Ask Solem
  445. - Now depends on kombu 2.2.5
  446. - inspect now supports limit argument::
  447. myapp.control.inspect(limit=1).ping()
  448. - Beat: now works with timezone aware datetime's.
  449. - Task classes inheriting ``from celery import Task``
  450. mistakingly enabled ``accept_magic_kwargs``.
  451. - Fixed bug in ``inspect scheduled`` (Issue #829).
  452. - Beat: Now resets the schedule to upgrade to UTC.
  453. - The :program:`celery worker` command now works with eventlet/gevent.
  454. Previously it would not patch the environment early enough.
  455. - The :program:`celery` command now supports extension commands
  456. using setuptools entry-points.
  457. Libraries can add additional commands to the :program:`celery`
  458. command by adding an entry-point like::
  459. setup(
  460. entry_points=[
  461. 'celery.commands': [
  462. 'foo = my.module:Command',
  463. ],
  464. ],
  465. ...)
  466. The command must then support the interface of
  467. :class:`celery.bin.base.Command`.
  468. - contrib.migrate: New utilities to move tasks from one queue to another.
  469. - :func:`~celery.contrib.migrate.move_tasks`
  470. - :func:`~celery.contrib.migrate.move_task_by_id`
  471. - The :event:`task-sent` event now contains ``exchange`` and ``routing_key``
  472. fields.
  473. - Fixes bug with installing on Python 3.
  474. Fix contributed by Jed Smith.
  475. .. _version-3.0.0:
  476. 3.0.0 (Chiastic Slide)
  477. ======================
  478. :release-date: 2012-07-07 01:30 P.M BST
  479. :by: Ask Solem
  480. See :ref:`whatsnew-3.0`.