Changelog 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283
  1. ================
  2. Change history
  3. ================
  4. 1.0.2 [2010-03-31 12:50 P.M CET]
  5. ================================
  6. * Deprecated: ``CELERY_BACKEND``, please use ``CELERY_RESULT_BACKEND``
  7. instead.
  8. * We now use a custom logger in tasks. This logger supports task magic
  9. keyword arguments in formats.
  10. The default format for tasks (``CELERYD_TASK_LOG_FORMAT``) now includes
  11. the id and the name of tasks so the origin of task log messages can
  12. easily be traced.
  13. Example output::
  14. [2010-03-25 13:11:20,317: INFO/PoolWorker-1]
  15. [tasks.add(a6e1c5ad-60d9-42a0-8b24-9e39363125a4)] Hello from add
  16. To revert to the previous behavior you can set::
  17. CELERYD_TASK_LOG_FORMAT = """
  18. [%(asctime)s: %(levelname)s/%(processName)s] %(message)s
  19. """.strip()
  20. * Unittests: Don't disable the django test database teardown,
  21. instead fixed the underlying issue which was caused by modifications
  22. to the ``DATABASE_NAME`` setting (http://github.com/ask/celery/issues/82).
  23. * Django Loader: New config ``CELERY_DB_REUSE_MAX`` (max number of tasks
  24. to reuse the same database connection)
  25. The default is to use a new connection for every task.
  26. We would very much like to reuse the connection, but a safe number of
  27. reuses is not known, and we don't have any way to handle the errors
  28. that might happen, which may even be database dependent.
  29. See: http://bit.ly/94fwdd
  30. * celeryd: The worker components are now configurable: ``CELERYD_POOL``,
  31. ``CELERYD_LISTENER``, ``CELERYD_MEDIATOR``, and ``CELERYD_ETA_SCHEDULER``.
  32. The default configuration is as follows:
  33. .. code-block:: python
  34. CELERYD_POOL = "celery.worker.pool.TaskPool"
  35. CELERYD_MEDIATOR = "celery.worker.controllers.Mediator"
  36. CELERYD_ETA_SCHEDULER = "celery.worker.controllers.ScheduleController"
  37. CELERYD_LISTENER = "celery.worker.listener.CarrotListener"
  38. THe ``CELERYD_POOL`` setting makes it easy to swap out the multiprocessing
  39. pool with a threaded pool, or how about a twisted/eventlet pool?
  40. Consider the competition for the first pool plug-in started!
  41. * Debian init scripts: Use ``-a`` not ``&&``
  42. (http://github.com/ask/celery/issues/82).
  43. * Debian init scripts: Now always preserves ``$CELERYD_OPTS`` from the
  44. ``/etc/default/celeryd`` and ``/etc/default/celerybeat``.
  45. * celery.beat.Scheduler: Fixed a bug where the schedule was not properly
  46. flushed to disk if the schedule had not been properly initialized.
  47. * celerybeat: Now syncs the schedule to disk when receiving the ``SIGTERM``
  48. and ``SIGINT`` signals.
  49. * Control commands: Make sure keywords arguments are not in unicode.
  50. * ETA scheduler: Was missing a logger object, so the scheduler crashed
  51. when trying to log that a task had been revoked.
  52. * management.commands.camqadm: Fixed typo ``camqpadm`` -> ``camqadm``
  53. (http://github.com/ask/celery/issues/83).
  54. * PeriodicTask.delta_resolution: Was not working for days and hours, now fixed
  55. by rounding to the nearest day/hour.
  56. * Fixed a potential infinite loop in ``BaseAsyncResult.__eq__``, although
  57. there is no evidence that it has ever been triggered.
  58. * celeryd: Now handles messages with encoding problems by acking them and
  59. emitting an error message.
  60. 1.0.1 [2010-02-24 07:05 P.M CET]
  61. ================================
  62. * Tasks are now acknowledged early instead of late.
  63. This is done because messages can only be acked within the same
  64. connection channel, so if the connection is lost we would have to refetch
  65. the message again to acknowledge it.
  66. This might or might not affect you, but mostly those running tasks with a
  67. really long execution time are affected, as all tasks that has made it
  68. all the way into the pool needs to be executed before the worker can
  69. safely terminate (this is at most the number of pool workers, multiplied
  70. by the ``CELERYD_PREFETCH_MULTIPLIER`` setting.)
  71. We multiply the prefetch count by default to increase the performance at
  72. times with bursts of tasks with a short execution time. If this doesn't
  73. apply to your use case, you should be able to set the prefetch multiplier
  74. to zero, without sacrificing performance.
  75. Please note that a patch to :mod:`multiprocessing` is currently being
  76. worked on, this patch would enable us to use a better solution, and is
  77. scheduled for inclusion in the ``1.2.0`` release.
  78. * celeryd now shutdowns cleanly when receving the ``TERM`` signal.
  79. * celeryd now does a cold shutdown if the ``INT`` signal is received (Ctrl+C),
  80. this means it tries to terminate as soon as possible.
  81. * Caching of results now moved to the base backend classes, so no need
  82. to implement this functionality in the base classes.
  83. * Caches are now also limited in size, so their memory usage doesn't grow
  84. out of control. You can set the maximum number of results the cache
  85. can hold using the ``CELERY_MAX_CACHED_RESULTS`` setting (the default
  86. is five thousand results). In addition, you can refetch already retrieved
  87. results using ``backend.reload_task_result`` +
  88. ``backend.reload_taskset_result`` (that's for those who want to send
  89. results incrementally).
  90. * ``celeryd`` now works on Windows again. Note that if running with Django,
  91. you can't use ``project.settings`` as the settings module name, but the
  92. following should work::
  93. $ python manage.py celeryd --settings=settings
  94. * Execution: ``.messaging.TaskPublisher.send_task`` now
  95. incorporates all the functionality apply_async previously did (like
  96. converting countdowns to eta), so :func:`celery.execute.apply_async` is
  97. now simply a convenient front-end to
  98. :meth:`celery.messaging.TaskPublisher.send_task`, using
  99. the task classes default options.
  100. Also :func:`celery.execute.send_task` has been
  101. introduced, which can apply tasks using just the task name (useful
  102. if the client does not have the destination task in its task registry).
  103. Example:
  104. >>> from celery.execute import send_task
  105. >>> result = send_task("celery.ping", args=[], kwargs={})
  106. >>> result.get()
  107. 'pong'
  108. * ``camqadm``: This is a new utility for command line access to the AMQP API.
  109. Excellent for deleting queues/bindings/exchanges, experimentation and
  110. testing::
  111. $ camqadm
  112. 1> help
  113. Gives an interactive shell, type ``help`` for a list of commands.
  114. When using Django, use the management command instead::
  115. $ python manage.py camqadm
  116. 1> help
  117. * Redis result backend: To conform to recent Redis API changes, the following
  118. settings has been deprecated:
  119. * ``REDIS_TIMEOUT``
  120. * ``REDIS_CONNECT_RETRY``
  121. These will emit a ``DeprecationWarning`` if used.
  122. A ``REDIS_PASSWORD`` setting has been added, so you can use the new
  123. simple authentication mechanism in Redis.
  124. * The redis result backend no longer calls ``SAVE`` when disconnecting,
  125. as this is apparently better handled by Redis itself.
  126. * If ``settings.DEBUG`` is on, celeryd now warns about the possible
  127. memory leak it can result in.
  128. * The ETA scheduler now sleeps at most two seconds between iterations.
  129. * The ETA scheduler now deletes any revoked tasks it might encounter.
  130. As revokes are not yet persistent, this is done to make sure the task
  131. is revoked even though it's currently being hold because its eta is e.g.
  132. a week into the future.
  133. * The ``task_id`` argument is now respected even if the task is executed
  134. eagerly (either using apply, or ``CELERY_ALWAYS_EAGER``).
  135. * The internal queues are now cleared if the connection is reset.
  136. * New magic keyword argument: ``delivery_info``.
  137. Used by retry() to resend the task to its original destination using the same
  138. exchange/routing_key.
  139. * Events: Fields was not passed by ``.send()`` (fixes the uuid keyerrors
  140. in celerymon)
  141. * Added ``--schedule``/``-s`` option to celeryd, so it is possible to
  142. specify a custom schedule filename when using an embedded celerybeat
  143. server (the ``-B``/``--beat``) option.
  144. * Better Python 2.4 compatibility. The test suite now passes.
  145. * task decorators: Now preserve docstring as ``cls.__doc__``, (was previously
  146. copied to ``cls.run.__doc__``)
  147. * The ``testproj`` directory has been renamed to ``tests`` and we're now using
  148. ``nose`` + ``django-nose`` for test discovery, and ``unittest2`` for test
  149. cases.
  150. * New pip requirements files available in ``contrib/requirements``.
  151. * TaskPublisher: Declarations are now done once (per process).
  152. * Added ``Task.delivery_mode`` and the ``CELERY_DEFAULT_DELIVERY_MODE``
  153. setting. These can be used to mark messages non-persistent (i.e. so they are
  154. lost if the broker is restarted).
  155. * Now have our own ``ImproperlyConfigured`` exception, instead of using the
  156. Django one.
  157. * Improvements to the debian init scripts: Shows an error if the program is
  158. not executeable. Does not modify ``CELERYD`` when using django with
  159. virtualenv.
  160. 1.0.0 [2010-02-10 04:00 P.M CET]
  161. ================================
  162. BACKWARD INCOMPATIBLE CHANGES
  163. -----------------------------
  164. * Celery does not support detaching anymore, so you have to use the tools
  165. available on your platform, or something like supervisord to make
  166. celeryd/celerybeat/celerymon into background processes.
  167. We've had too many problems with celeryd daemonizing itself, so it was
  168. decided it has to be removed. Example startup scripts has been added to
  169. ``contrib/``:
  170. * Debian, Ubuntu, (start-stop-daemon)
  171. ``contrib/debian/init.d/celeryd``
  172. ``contrib/debian/init.d/celerybeat``
  173. * Mac OS X launchd
  174. ``contrib/mac/org.celeryq.celeryd.plist``
  175. ``contrib/mac/org.celeryq.celerybeat.plist``
  176. ``contrib/mac/org.celeryq.celerymon.plist``
  177. * Supervisord (http://supervisord.org)
  178. ``contrib/supervisord/supervisord.conf``
  179. In addition to ``--detach``, the following program arguments has been
  180. removed: ``--uid``, ``--gid``, ``--workdir``, ``--chroot``, ``--pidfile``,
  181. ``--umask``. All good daemonization tools should support equivalent
  182. functionality, so don't worry.
  183. Also the following configuration keys has been removed:
  184. ``CELERYD_PID_FILE``, ``CELERYBEAT_PID_FILE``, ``CELERYMON_PID_FILE``.
  185. * Default celeryd loglevel is now ``WARN``, to enable the previous log level
  186. start celeryd with ``--loglevel=INFO``.
  187. * Tasks are automatically registered.
  188. This means you no longer have to register your tasks manually.
  189. You don't have to change your old code right away, as it doesn't matter if
  190. a task is registered twice.
  191. If you don't want your task to be automatically registered you can set
  192. the ``abstract`` attribute
  193. .. code-block:: python
  194. class MyTask(Task):
  195. abstract = True
  196. By using ``abstract`` only tasks subclassing this task will be automatically
  197. registered (this works like the Django ORM).
  198. If you don't want subclasses to be registered either, you can set the
  199. ``autoregister`` attribute to ``False``.
  200. Incidentally, this change also fixes the problems with automatic name
  201. assignment and relative imports. So you also don't have to specify a task name
  202. anymore if you use relative imports.
  203. * You can no longer use regular functions as tasks. This change was added
  204. because it makes the internals a lot more clean and simple. However, you can
  205. now turn functions into tasks by using the ``@task`` decorator:
  206. .. code-block:: python
  207. from celery.decorators import task
  208. @task
  209. def add(x, y):
  210. return x + y
  211. See the User Guide: :doc:`userguide/tasks` for more information.
  212. * The periodic task system has been rewritten to a centralized solution, this
  213. means ``celeryd`` no longer schedules periodic tasks by default, but a new
  214. daemon has been introduced: ``celerybeat``.
  215. To launch the periodic task scheduler you have to run celerybeat::
  216. $ celerybeat
  217. Make sure this is running on one server only, if you run it twice, all
  218. periodic tasks will also be executed twice.
  219. If you only have one worker server you can embed it into celeryd like this::
  220. $ celeryd --beat # Embed celerybeat in celeryd.
  221. * The supervisor has been removed, please use something like
  222. http://supervisord.org instead. This means the ``-S`` and ``--supervised``
  223. options to ``celeryd`` is no longer supported.
  224. * ``TaskSet.join`` has been removed, use ``TaskSetResult.join`` instead.
  225. * The task status ``"DONE"`` has been renamed to `"SUCCESS"`.
  226. * ``AsyncResult.is_done`` has been removed, use ``AsyncResult.successful``
  227. instead.
  228. * The worker no longer stores errors if ``Task.ignore_result`` is set, to
  229. revert to the previous behaviour set
  230. ``CELERY_STORE_ERRORS_EVEN_IF_IGNORED`` to ``True``.
  231. * The staticstics functionality has been removed in favor of events,
  232. so the ``-S`` and ``--statistics`` switches has been removed.
  233. * The module ``celery.task.strategy`` has been removed.
  234. * ``celery.discovery`` has been removed, and it's ``autodiscover`` function is
  235. now in ``celery.loaders.djangoapp``. Reason: Internal API.
  236. * ``CELERY_LOADER`` now needs loader class name in addition to module name,
  237. e.g. where you previously had: ``"celery.loaders.default"``, you now need
  238. ``"celery.loaders.default.Loader"``, using the previous syntax will result
  239. in a DeprecationWarning.
  240. * Detecting the loader is now lazy, and so is not done when importing
  241. ``celery.loaders``. To make this happen ``celery.loaders.settings`` has
  242. been renamed to ``load_settings`` and is now a function returning the
  243. settings object. ``celery.loaders.current_loader`` is now also
  244. a function, returning the current loader.
  245. So::
  246. loader = current_loader
  247. needs to be changed to::
  248. loader = current_loader()
  249. DEPRECATIONS
  250. ------------
  251. * The following configuration variables has been renamed and will be
  252. deprecated in v1.2:
  253. * CELERYD_DAEMON_LOG_FORMAT -> CELERYD_LOG_FORMAT
  254. * CELERYD_DAEMON_LOG_LEVEL -> CELERYD_LOG_LEVEL
  255. * CELERY_AMQP_CONNECTION_TIMEOUT -> CELERY_BROKER_CONNECTION_TIMEOUT
  256. * CELERY_AMQP_CONNECTION_RETRY -> CELERY_BROKER_CONNECTION_RETRY
  257. * CELERY_AMQP_CONNECTION_MAX_RETRIES -> CELERY_BROKER_CONNECTION_MAX_RETRIES
  258. * SEND_CELERY_TASK_ERROR_EMAILS -> CELERY_SEND_TASK_ERROR_EMAILS
  259. * The public api names in celery.conf has also changed to a consistent naming
  260. scheme.
  261. * We now support consuming from an arbitrary number of queues, but to do this
  262. we had to rename the configuration syntax. If you use any of the custom
  263. AMQP routing options (queue/exchange/routing_key, etc), you should read the
  264. new FAQ entry: http://bit.ly/aiWoH. The previous syntax is deprecated and
  265. scheduled for removal in v1.2.
  266. * ``TaskSet.run`` has been renamed to ``TaskSet.apply_async``.
  267. ``run`` is still deprecated, and is scheduled for removal in v1.2.
  268. NEWS
  269. ----
  270. * Rate limiting support (per task type, or globally).
  271. * New periodic task system.
  272. * Automatic registration.
  273. * New cool task decorator syntax.
  274. * celeryd now sends events if enabled with the ``-E`` argument.
  275. Excellent for monitoring tools, one is already in the making
  276. (http://github.com/ask/celerymon).
  277. Current events include: worker-heartbeat,
  278. task-[received/succeeded/failed/retried],
  279. worker-online, worker-offline.
  280. * You can now delete (revoke) tasks that has already been applied.
  281. * You can now set the hostname celeryd identifies as using the ``--hostname``
  282. argument.
  283. * Cache backend now respects ``CELERY_TASK_RESULT_EXPIRES``.
  284. * Message format has been standardized and now uses ISO-8601 format
  285. for dates instead of datetime.
  286. * ``celeryd`` now responds to the ``HUP`` signal by restarting itself.
  287. * Periodic tasks are now scheduled on the clock, i.e. ``timedelta(hours=1)``
  288. means every hour at :00 minutes, not every hour from the server starts.
  289. To revert to the previous behaviour you can set
  290. ``PeriodicTask.relative = True``.
  291. * Now supports passing execute options to a TaskSets list of args, e.g.:
  292. >>> ts = TaskSet(add, [([2, 2], {}, {"countdown": 1}),
  293. ... ([4, 4], {}, {"countdown": 2}),
  294. ... ([8, 8], {}, {"countdown": 3})])
  295. >>> ts.run()
  296. * Got a 3x performance gain by setting the prefetch count to four times the
  297. concurrency, (from an average task round-trip of 0.1s to 0.03s!). A new
  298. setting has been added: ``CELERYD_PREFETCH_MULTIPLIER``, which is set
  299. to ``4`` by default.
  300. * Improved support for webhook tasks.
  301. ``celery.task.rest`` is now deprecated, replaced with the new and shiny
  302. :mod:`celery.task.http`. With more reflective names, sensible interface, and
  303. it's possible to override the methods used to perform HTTP requests.
  304. * The results of tasksets are now cached by storing it in the result
  305. backend.
  306. CHANGES
  307. -------
  308. * Now depends on carrot >= 0.8.1
  309. * New dependencies: billiard, python-dateutil, django-picklefield
  310. * No longer depends on python-daemon
  311. * The ``uuid`` distribution is added as a dependency when running Python 2.4.
  312. * Now remembers the previously detected loader by keeping it in
  313. the ``CELERY_LOADER`` environment variable. This may help on windows where
  314. fork emulation is used.
  315. * ETA no longer sends datetime objects, but uses ISO 8601 date format in a
  316. string for better compatibility with other platforms.
  317. * No longer sends error mails for retried tasks.
  318. * Task can now override the backend used to store results.
  319. * Refactored the ExecuteWrapper, ``apply`` and ``CELERY_ALWAYS_EAGER`` now
  320. also executes the task callbacks and signals.
  321. * Now using a proper scheduler for the tasks with an ETA. This means waiting
  322. eta tasks are sorted by time, so we don't have to poll the whole list all the
  323. time.
  324. * Now also imports modules listed in CELERY_IMPORTS when running
  325. with django (as documented).
  326. * Loglevel for stdout/stderr changed from INFO to ERROR
  327. * ImportErrors are now properly propogated when autodiscovering tasks.
  328. * You can now use ``celery.messaging.establish_connection`` to establish a
  329. connection to the broker.
  330. * When running as a separate service the periodic task scheduler does some
  331. smart moves to not poll too regularly, if you need faster poll times you
  332. can lower the value of ``CELERYBEAT_MAX_LOOP_INTERVAL``.
  333. * You can now change periodic task intervals at runtime, by making
  334. ``run_every`` a property, or subclassing ``PeriodicTask.is_due``.
  335. * The worker now supports control commands enabled through the use of a
  336. broadcast queue, you can remotely revoke tasks or set the rate limit for
  337. a task type. See :mod:`celery.task.control`.
  338. * The services now sets informative process names (as shown in ``ps``
  339. listings) if the :mod:`setproctitle` module is installed.
  340. * :exc:`celery.exceptions.NotRegistered` now inherits from :exc:`KeyError`,
  341. and ``TaskRegistry.__getitem__``+``pop`` raises ``NotRegistered`` instead
  342. * You can set the loader via the ``CELERY_LOADER`` environment variable.
  343. * You can now set ``CELERY_IGNORE_RESULT`` to ignore task results by default
  344. (if enabled, tasks doesn't save results or errors to the backend used).
  345. * celeryd now correctly handles malformed messages by throwing away and
  346. acknowledging the message, instead of crashing.
  347. BUGS
  348. ----
  349. * Fixed a race condition that could happen while storing task results in the
  350. database.
  351. DOCUMENTATION
  352. -------------
  353. * Reference now split into two sections; API reference and internal module
  354. reference.
  355. 0.8.4 [2010-02-05 01:52 P.M CEST]
  356. ---------------------------------
  357. * Now emits a warning if the --detach argument is used.
  358. --detach should not be used anymore, as it has several not easily fixed
  359. bugs related to it. Instead, use something like start-stop-daemon,
  360. supervisord or launchd (os x).
  361. * Make sure logger class is process aware, even if running Python >= 2.6.
  362. * Error e-mails are not sent anymore when the task is retried.
  363. 0.8.3 [2009-12-22 09:43 A.M CEST]
  364. ---------------------------------
  365. * Fixed a possible race condition that could happen when storing/querying
  366. task results using the the database backend.
  367. * Now has console script entry points in the setup.py file, so tools like
  368. buildout will correctly install the programs celerybin and celeryinit.
  369. 0.8.2 [2009-11-20 03:40 P.M CEST]
  370. ---------------------------------
  371. * QOS Prefetch count was not applied properly, as it was set for every message
  372. received (which apparently behaves like, "receive one more"), instead of only
  373. set when our wanted value cahnged.
  374. 0.8.1 [2009-11-16 05:21 P.M CEST]
  375. =================================
  376. VERY IMPORTANT NOTE
  377. -------------------
  378. This release (with carrot 0.8.0) enables AMQP QoS (quality of service), which
  379. means the workers will only receive as many messages as it can handle at a
  380. time. As with any release, you should test this version upgrade on your
  381. development servers before rolling it out to production!
  382. IMPORTANT CHANGES
  383. -----------------
  384. * If you're using Python < 2.6 and you use the multiprocessing backport, then
  385. multiprocessing version 2.6.2.1 is required.
  386. * All AMQP_* settings has been renamed to BROKER_*, and in addition
  387. AMQP_SERVER has been renamed to BROKER_HOST, so before where you had::
  388. AMQP_SERVER = "localhost"
  389. AMQP_PORT = 5678
  390. AMQP_USER = "myuser"
  391. AMQP_PASSWORD = "mypassword"
  392. AMQP_VHOST = "celery"
  393. You need to change that to::
  394. BROKER_HOST = "localhost"
  395. BROKER_PORT = 5678
  396. BROKER_USER = "myuser"
  397. BROKER_PASSWORD = "mypassword"
  398. BROKER_VHOST = "celery"
  399. * Custom carrot backends now need to include the backend class name, so before
  400. where you had::
  401. CARROT_BACKEND = "mycustom.backend.module"
  402. you need to change it to::
  403. CARROT_BACKEND = "mycustom.backend.module.Backend"
  404. where ``Backend`` is the class name. This is probably ``"Backend"``, as
  405. that was the previously implied name.
  406. * New version requirement for carrot: 0.8.0
  407. CHANGES
  408. -------
  409. * Incorporated the multiprocessing backport patch that fixes the
  410. ``processName`` error.
  411. * Ignore the result of PeriodicTask's by default.
  412. * Added a Redis result store backend
  413. * Allow /etc/default/celeryd to define additional options for the celeryd init
  414. script.
  415. * MongoDB periodic tasks issue when using different time than UTC fixed.
  416. * Windows specific: Negate test for available os.fork (thanks miracle2k)
  417. * Now tried to handle broken PID files.
  418. * Added a Django test runner to contrib that sets CELERY_ALWAYS_EAGER = True for testing with the database backend
  419. * Added a CELERY_CACHE_BACKEND setting for using something other than the django-global cache backend.
  420. * Use custom implementation of functools.partial (curry) for Python 2.4 support
  421. (Probably still problems with running on 2.4, but it will eventually be
  422. supported)
  423. * Prepare exception to pickle when saving RETRY status for all backends.
  424. * SQLite no concurrency limit should only be effective if the db backend is used.
  425. 0.8.0 [2009-09-22 03:06 P.M CEST]
  426. =================================
  427. BACKWARD INCOMPATIBLE CHANGES
  428. -----------------------------
  429. * Add traceback to result value on failure.
  430. **NOTE** If you use the database backend you have to re-create the
  431. database table ``celery_taskmeta``.
  432. Contact the mailinglist or IRC channel listed in README for help
  433. doing this.
  434. * Database tables are now only created if the database backend is used,
  435. so if you change back to the database backend at some point,
  436. be sure to initialize tables (django: ``syncdb``, python: ``celeryinit``).
  437. (Note: This is only the case when using Django 1.1 or higher)
  438. * Now depends on ``carrot`` version 0.6.0.
  439. * Now depends on python-daemon 1.4.8
  440. IMPORTANT CHANGES
  441. -----------------
  442. * Celery can now be used in pure Python (outside of a Django project).
  443. This means celery is no longer Django specific.
  444. For more information see the FAQ entry
  445. `Can I use celery without Django?`_.
  446. .. _`Can I use celery without Django?`:
  447. http://ask.github.com/celery/faq.html#can-i-use-celery-without-django
  448. * Celery now supports task retries.
  449. See `Cookbook: Retrying Tasks`_ for more information.
  450. .. _`Cookbook: Retrying Tasks`:
  451. http://ask.github.com/celery/cookbook/task-retries.html
  452. * We now have an AMQP result store backend.
  453. It uses messages to publish task return value and status. And it's
  454. incredibly fast!
  455. See http://github.com/ask/celery/issues/closed#issue/6 for more info!
  456. * AMQP QoS (prefetch count) implemented:
  457. This to not receive more messages than we can handle.
  458. * Now redirects stdout/stderr to the celeryd logfile when detached
  459. * Now uses ``inspect.getargspec`` to only pass default arguments
  460. the task supports.
  461. * Add Task.on_success, .on_retry, .on_failure handlers
  462. See :meth:`celery.task.base.Task.on_success`,
  463. :meth:`celery.task.base.Task.on_retry`,
  464. :meth:`celery.task.base.Task.on_failure`,
  465. * ``celery.utils.gen_unique_id``: Workaround for
  466. http://bugs.python.org/issue4607
  467. * You can now customize what happens at worker start, at process init, etc
  468. by creating your own loaders. (see :mod:`celery.loaders.default`,
  469. :mod:`celery.loaders.djangoapp`, :mod:`celery.loaders`.)
  470. * Support for multiple AMQP exchanges and queues.
  471. This feature misses documentation and tests, so anyone interested
  472. is encouraged to improve this situation.
  473. * celeryd now survives a restart of the AMQP server!
  474. Automatically re-establish AMQP broker connection if it's lost.
  475. New settings:
  476. * AMQP_CONNECTION_RETRY
  477. Set to ``True`` to enable connection retries.
  478. * AMQP_CONNECTION_MAX_RETRIES.
  479. Maximum number of restarts before we give up. Default: ``100``.
  480. NEWS
  481. ----
  482. * Fix an incompatibility between python-daemon and multiprocessing,
  483. which resulted in the ``[Errno 10] No child processes`` problem when
  484. detaching.
  485. * Fixed a possible DjangoUnicodeDecodeError being raised when saving pickled
  486. data to Django's memcached cache backend.
  487. * Better Windows compatibility.
  488. * New version of the pickled field (taken from
  489. http://www.djangosnippets.org/snippets/513/)
  490. * New signals introduced: ``task_sent``, ``task_prerun`` and
  491. ``task_postrun``, see :mod:`celery.signals` for more information.
  492. * ``TaskSetResult.join`` caused ``TypeError`` when ``timeout=None``.
  493. Thanks Jerzy Kozera. Closes #31
  494. * ``views.apply`` should return ``HttpResponse`` instance.
  495. Thanks to Jerzy Kozera. Closes #32
  496. * ``PeriodicTask``: Save conversion of ``run_every`` from ``int``
  497. to ``timedelta`` to the class attribute instead of on the instance.
  498. * Exceptions has been moved to ``celery.exceptions``, but are still
  499. available in the previous module.
  500. * Try to rollback transaction and retry saving result if an error happens
  501. while setting task status with the database backend.
  502. * jail() refactored into :class:`celery.execute.ExecuteWrapper`.
  503. * ``views.apply`` now correctly sets mimetype to "application/json"
  504. * ``views.task_status`` now returns exception if status is RETRY
  505. * ``views.task_status`` now returns traceback if status is "FAILURE"
  506. or "RETRY"
  507. * Documented default task arguments.
  508. * Add a sensible __repr__ to ExceptionInfo for easier debugging
  509. * Fix documentation typo ``.. import map`` -> ``.. import dmap``.
  510. Thanks mikedizon
  511. 0.6.0 [2009-08-07 06:54 A.M CET]
  512. ================================
  513. IMPORTANT CHANGES
  514. -----------------
  515. * Fixed a bug where tasks raising unpickleable exceptions crashed pool
  516. workers. So if you've had pool workers mysteriously dissapearing, or
  517. problems with celeryd stopping working, this has been fixed in this
  518. version.
  519. * Fixed a race condition with periodic tasks.
  520. * The task pool is now supervised, so if a pool worker crashes,
  521. goes away or stops responding, it is automatically replaced with
  522. a new one.
  523. * Task.name is now automatically generated out of class module+name, e.g.
  524. ``"djangotwitter.tasks.UpdateStatusesTask"``. Very convenient. No idea why
  525. we didn't do this before. Some documentation is updated to not manually
  526. specify a task name.
  527. NEWS
  528. ----
  529. * Tested with Django 1.1
  530. * New Tutorial: Creating a click counter using carrot and celery
  531. * Database entries for periodic tasks are now created at ``celeryd``
  532. startup instead of for each check (which has been a forgotten TODO/XXX
  533. in the code for a long time)
  534. * New settings variable: ``CELERY_TASK_RESULT_EXPIRES``
  535. Time (in seconds, or a `datetime.timedelta` object) for when after
  536. stored task results are deleted. For the moment this only works for the
  537. database backend.
  538. * ``celeryd`` now emits a debug log message for which periodic tasks
  539. has been launched.
  540. * The periodic task table is now locked for reading while getting
  541. periodic task status. (MySQL only so far, seeking patches for other
  542. engines)
  543. * A lot more debugging information is now available by turning on the
  544. ``DEBUG`` loglevel (``--loglevel=DEBUG``).
  545. * Functions/methods with a timeout argument now works correctly.
  546. * New: ``celery.strategy.even_time_distribution``:
  547. With an iterator yielding task args, kwargs tuples, evenly distribute
  548. the processing of its tasks throughout the time window available.
  549. * Log message ``Unknown task ignored...`` now has loglevel ``ERROR``
  550. * Log message ``"Got task from broker"`` is now emitted for all tasks, even if
  551. the task has an ETA (estimated time of arrival). Also the message now
  552. includes the ETA for the task (if any).
  553. * Acknowledgement now happens in the pool callback. Can't do ack in the job
  554. target, as it's not pickleable (can't share AMQP connection, etc)).
  555. * Added note about .delay hanging in README
  556. * Tests now passing in Django 1.1
  557. * Fixed discovery to make sure app is in INSTALLED_APPS
  558. * Previously overrided pool behaviour (process reap, wait until pool worker
  559. available, etc.) is now handled by ``multiprocessing.Pool`` itself.
  560. * Convert statistics data to unicode for use as kwargs. Thanks Lucy!
  561. 0.4.1 [2009-07-02 01:42 P.M CET]
  562. ================================
  563. * Fixed a bug with parsing the message options (``mandatory``,
  564. ``routing_key``, ``priority``, ``immediate``)
  565. 0.4.0 [2009-07-01 07:29 P.M CET]
  566. ================================
  567. * Adds eager execution. ``celery.execute.apply``|``Task.apply`` executes the
  568. function blocking until the task is done, for API compatiblity it
  569. returns an ``celery.result.EagerResult`` instance. You can configure
  570. celery to always run tasks locally by setting the
  571. ``CELERY_ALWAYS_EAGER`` setting to ``True``.
  572. * Now depends on ``anyjson``.
  573. * 99% coverage using python ``coverage`` 3.0.
  574. 0.3.20 [2009-06-25 08:42 P.M CET]
  575. =================================
  576. * New arguments to ``apply_async`` (the advanced version of
  577. ``delay_task``), ``countdown`` and ``eta``;
  578. >>> # Run 10 seconds into the future.
  579. >>> res = apply_async(MyTask, countdown=10);
  580. >>> # Run 1 day from now
  581. >>> res = apply_async(MyTask, eta=datetime.now() +
  582. ... timedelta(days=1)
  583. * Now unlinks the pidfile if it's stale.
  584. * Lots of more tests.
  585. * Now compatible with carrot >= 0.5.0.
  586. * **IMPORTANT** The ``subtask_ids`` attribute on the ``TaskSetResult``
  587. instance has been removed. To get this information instead use:
  588. >>> subtask_ids = [subtask.task_id for subtask in ts_res.subtasks]
  589. * ``Taskset.run()`` now respects extra message options from the task class.
  590. * Task: Add attribute ``ignore_result``: Don't store the status and
  591. return value. This means you can't use the
  592. ``celery.result.AsyncResult`` to check if the task is
  593. done, or get its return value. Only use if you need the performance
  594. and is able live without these features. Any exceptions raised will
  595. store the return value/status as usual.
  596. * Task: Add attribute ``disable_error_emails`` to disable sending error
  597. emails for that task.
  598. * Should now work on Windows (although running in the background won't
  599. work, so using the ``--detach`` argument results in an exception
  600. being raised.)
  601. * Added support for statistics for profiling and monitoring.
  602. To start sending statistics start ``celeryd`` with the
  603. ``--statistics`` option. Then after a while you can dump the results
  604. by running ``python manage.py celerystats``. See
  605. ``celery.monitoring`` for more information.
  606. * The celery daemon can now be supervised (i.e it is automatically
  607. restarted if it crashes). To use this start celeryd with the
  608. ``--supervised`` option (or alternatively ``-S``).
  609. * views.apply: View applying a task. Example::
  610. http://e.com/celery/apply/task_name/arg1/arg2//?kwarg1=a&kwarg2=b
  611. **NOTE** Use with caution, preferably not make this publicly
  612. accessible without ensuring your code is safe!
  613. * Refactored ``celery.task``. It's now split into three modules:
  614. * celery.task
  615. Contains ``apply_async``, ``delay_task``, ``discard_all``, and task
  616. shortcuts, plus imports objects from ``celery.task.base`` and
  617. ``celery.task.builtins``
  618. * celery.task.base
  619. Contains task base classes: ``Task``, ``PeriodicTask``,
  620. ``TaskSet``, ``AsynchronousMapTask``, ``ExecuteRemoteTask``.
  621. * celery.task.builtins
  622. Built-in tasks: ``PingTask``, ``DeleteExpiredTaskMetaTask``.
  623. 0.3.7 [2008-06-16 11:41 P.M CET]
  624. --------------------------------
  625. * **IMPORTANT** Now uses AMQP's ``basic.consume`` instead of
  626. ``basic.get``. This means we're no longer polling the broker for
  627. new messages.
  628. * **IMPORTANT** Default concurrency limit is now set to the number of CPUs
  629. available on the system.
  630. * **IMPORTANT** ``tasks.register``: Renamed ``task_name`` argument to
  631. ``name``, so
  632. >>> tasks.register(func, task_name="mytask")
  633. has to be replaced with:
  634. >>> tasks.register(func, name="mytask")
  635. * The daemon now correctly runs if the pidlock is stale.
  636. * Now compatible with carrot 0.4.5
  637. * Default AMQP connnection timeout is now 4 seconds.
  638. * ``AsyncResult.read()`` was always returning ``True``.
  639. * Only use README as long_description if the file exists so easy_install
  640. doesn't break.
  641. * ``celery.view``: JSON responses now properly set its mime-type.
  642. * ``apply_async`` now has a ``connection`` keyword argument so you
  643. can re-use the same AMQP connection if you want to execute
  644. more than one task.
  645. * Handle failures in task_status view such that it won't throw 500s.
  646. * Fixed typo ``AMQP_SERVER`` in documentation to ``AMQP_HOST``.
  647. * Worker exception e-mails sent to admins now works properly.
  648. * No longer depends on ``django``, so installing ``celery`` won't affect
  649. the preferred Django version installed.
  650. * Now works with PostgreSQL (psycopg2) again by registering the
  651. ``PickledObject`` field.
  652. * ``celeryd``: Added ``--detach`` option as an alias to ``--daemon``, and
  653. it's the term used in the documentation from now on.
  654. * Make sure the pool and periodic task worker thread is terminated
  655. properly at exit. (So ``Ctrl-C`` works again).
  656. * Now depends on ``python-daemon``.
  657. * Removed dependency to ``simplejson``
  658. * Cache Backend: Re-establishes connection for every task process
  659. if the Django cache backend is memcached/libmemcached.
  660. * Tyrant Backend: Now re-establishes the connection for every task
  661. executed.
  662. 0.3.3 [2009-06-08 01:07 P.M CET]
  663. ================================
  664. * The ``PeriodicWorkController`` now sleeps for 1 second between checking
  665. for periodic tasks to execute.
  666. 0.3.2 [2009-06-08 01:07 P.M CET]
  667. ================================
  668. * celeryd: Added option ``--discard``: Discard (delete!) all waiting
  669. messages in the queue.
  670. * celeryd: The ``--wakeup-after`` option was not handled as a float.
  671. 0.3.1 [2009-06-08 01:07 P.M CET]
  672. ================================
  673. * The `PeriodicTask`` worker is now running in its own thread instead
  674. of blocking the ``TaskController`` loop.
  675. * Default ``QUEUE_WAKEUP_AFTER`` has been lowered to ``0.1`` (was ``0.3``)
  676. 0.3.0 [2009-06-08 12:41 P.M CET]
  677. ================================
  678. **NOTE** This is a development version, for the stable release, please
  679. see versions 0.2.x.
  680. **VERY IMPORTANT:** Pickle is now the encoder used for serializing task
  681. arguments, so be sure to flush your task queue before you upgrade.
  682. * **IMPORTANT** TaskSet.run() now returns a celery.result.TaskSetResult
  683. instance, which lets you inspect the status and return values of a
  684. taskset as it was a single entity.
  685. * **IMPORTANT** Celery now depends on carrot >= 0.4.1.
  686. * The celery daemon now sends task errors to the registered admin e-mails.
  687. To turn off this feature, set ``SEND_CELERY_TASK_ERROR_EMAILS`` to
  688. ``False`` in your ``settings.py``. Thanks to Grégoire Cachet.
  689. * You can now run the celery daemon by using ``manage.py``::
  690. $ python manage.py celeryd
  691. Thanks to Grégoire Cachet.
  692. * Added support for message priorities, topic exchanges, custom routing
  693. keys for tasks. This means we have introduced
  694. ``celery.task.apply_async``, a new way of executing tasks.
  695. You can use ``celery.task.delay`` and ``celery.Task.delay`` like usual, but
  696. if you want greater control over the message sent, you want
  697. ``celery.task.apply_async`` and ``celery.Task.apply_async``.
  698. This also means the AMQP configuration has changed. Some settings has
  699. been renamed, while others are new::
  700. CELERY_AMQP_EXCHANGE
  701. CELERY_AMQP_PUBLISHER_ROUTING_KEY
  702. CELERY_AMQP_CONSUMER_ROUTING_KEY
  703. CELERY_AMQP_CONSUMER_QUEUE
  704. CELERY_AMQP_EXCHANGE_TYPE
  705. See the entry `Can I send some tasks to only some servers?`_ in the
  706. `FAQ`_ for more information.
  707. .. _`Can I send some tasks to only some servers?`:
  708. http://bit.ly/celery_AMQP_routing
  709. .. _`FAQ`: http://ask.github.com/celery/faq.html
  710. * Task errors are now logged using loglevel ``ERROR`` instead of ``INFO``,
  711. and backtraces are dumped. Thanks to Grégoire Cachet.
  712. * Make every new worker process re-establish it's Django DB connection,
  713. this solving the "MySQL connection died?" exceptions.
  714. Thanks to Vitaly Babiy and Jirka Vejrazka.
  715. * **IMOPORTANT** Now using pickle to encode task arguments. This means you
  716. now can pass complex python objects to tasks as arguments.
  717. * Removed dependency to ``yadayada``.
  718. * Added a FAQ, see ``docs/faq.rst``.
  719. * Now converts any unicode keys in task ``kwargs`` to regular strings.
  720. Thanks Vitaly Babiy.
  721. * Renamed the ``TaskDaemon`` to ``WorkController``.
  722. * ``celery.datastructures.TaskProcessQueue`` is now renamed to
  723. ``celery.pool.TaskPool``.
  724. * The pool algorithm has been refactored for greater performance and
  725. stability.
  726. 0.2.0 [2009-05-20 05:14 P.M CET]
  727. ================================
  728. * Final release of 0.2.0
  729. * Compatible with carrot version 0.4.0.
  730. * Fixes some syntax errors related to fetching results
  731. from the database backend.
  732. 0.2.0-pre3 [2009-05-20 05:14 P.M CET]
  733. =====================================
  734. * *Internal release*. Improved handling of unpickled exceptions,
  735. ``get_result`` now tries to recreate something looking like the
  736. original exception.
  737. 0.2.0-pre2 [2009-05-20 01:56 P.M CET]
  738. =====================================
  739. * Now handles unpickleable exceptions (like the dynimically generated
  740. subclasses of ``django.core.exception.MultipleObjectsReturned``).
  741. 0.2.0-pre1 [2009-05-20 12:33 P.M CET]
  742. =====================================
  743. * It's getting quite stable, with a lot of new features, so bump
  744. version to 0.2. This is a pre-release.
  745. * ``celery.task.mark_as_read()`` and ``celery.task.mark_as_failure()`` has
  746. been removed. Use ``celery.backends.default_backend.mark_as_read()``,
  747. and ``celery.backends.default_backend.mark_as_failure()`` instead.
  748. 0.1.15 [2009-05-19 04:13 P.M CET]
  749. =================================
  750. * The celery daemon was leaking AMQP connections, this should be fixed,
  751. if you have any problems with too many files open (like ``emfile``
  752. errors in ``rabbit.log``, please contact us!
  753. 0.1.14 [2009-05-19 01:08 P.M CET]
  754. =================================
  755. * Fixed a syntax error in the ``TaskSet`` class. (No such variable
  756. ``TimeOutError``).
  757. 0.1.13 [2009-05-19 12:36 P.M CET]
  758. =================================
  759. * Forgot to add ``yadayada`` to install requirements.
  760. * Now deletes all expired task results, not just those marked as done.
  761. * Able to load the Tokyo Tyrant backend class without django
  762. configuration, can specify tyrant settings directly in the class
  763. constructor.
  764. * Improved API documentation
  765. * Now using the Sphinx documentation system, you can build
  766. the html documentation by doing ::
  767. $ cd docs
  768. $ make html
  769. and the result will be in ``docs/.build/html``.
  770. 0.1.12 [2009-05-18 04:38 P.M CET]
  771. =================================
  772. * ``delay_task()`` etc. now returns ``celery.task.AsyncResult`` object,
  773. which lets you check the result and any failure that might have
  774. happened. It kind of works like the ``multiprocessing.AsyncResult``
  775. class returned by ``multiprocessing.Pool.map_async``.
  776. * Added dmap() and dmap_async(). This works like the
  777. ``multiprocessing.Pool`` versions except they are tasks
  778. distributed to the celery server. Example:
  779. >>> from celery.task import dmap
  780. >>> import operator
  781. >>> dmap(operator.add, [[2, 2], [4, 4], [8, 8]])
  782. >>> [4, 8, 16]
  783. >>> from celery.task import dmap_async
  784. >>> import operator
  785. >>> result = dmap_async(operator.add, [[2, 2], [4, 4], [8, 8]])
  786. >>> result.ready()
  787. False
  788. >>> time.sleep(1)
  789. >>> result.ready()
  790. True
  791. >>> result.result
  792. [4, 8, 16]
  793. * Refactored the task metadata cache and database backends, and added
  794. a new backend for Tokyo Tyrant. You can set the backend in your django
  795. settings file. e.g::
  796. CELERY_RESULT_BACKEND = "database"; # Uses the database
  797. CELERY_RESULT_BACKEND = "cache"; # Uses the django cache framework
  798. CELERY_RESULT_BACKEND = "tyrant"; # Uses Tokyo Tyrant
  799. TT_HOST = "localhost"; # Hostname for the Tokyo Tyrant server.
  800. TT_PORT = 6657; # Port of the Tokyo Tyrant server.
  801. 0.1.11 [2009-05-12 02:08 P.M CET]
  802. =================================
  803. * The logging system was leaking file descriptors, resulting in
  804. servers stopping with the EMFILES (too many open files) error. (fixed)
  805. 0.1.10 [2009-05-11 12:46 P.M CET]
  806. =================================
  807. * Tasks now supports both positional arguments and keyword arguments.
  808. * Requires carrot 0.3.8.
  809. * The daemon now tries to reconnect if the connection is lost.
  810. 0.1.8 [2009-05-07 12:27 P.M CET]
  811. ================================
  812. * Better test coverage
  813. * More documentation
  814. * celeryd doesn't emit ``Queue is empty`` message if
  815. ``settings.CELERYD_EMPTY_MSG_EMIT_EVERY`` is 0.
  816. 0.1.7 [2009-04-30 1:50 P.M CET]
  817. ===============================
  818. * Added some unittests
  819. * Can now use the database for task metadata (like if the task has
  820. been executed or not). Set ``settings.CELERY_TASK_META``
  821. * Can now run ``python setup.py test`` to run the unittests from
  822. within the ``tests`` project.
  823. * Can set the AMQP exchange/routing key/queue using
  824. ``settings.CELERY_AMQP_EXCHANGE``, ``settings.CELERY_AMQP_ROUTING_KEY``,
  825. and ``settings.CELERY_AMQP_CONSUMER_QUEUE``.
  826. 0.1.6 [2009-04-28 2:13 P.M CET]
  827. ===============================
  828. * Introducing ``TaskSet``. A set of subtasks is executed and you can
  829. find out how many, or if all them, are done (excellent for progress
  830. bars and such)
  831. * Now catches all exceptions when running ``Task.__call__``, so the
  832. daemon doesn't die. This does't happen for pure functions yet, only
  833. ``Task`` classes.
  834. * ``autodiscover()`` now works with zipped eggs.
  835. * celeryd: Now adds curernt working directory to ``sys.path`` for
  836. convenience.
  837. * The ``run_every`` attribute of ``PeriodicTask`` classes can now be a
  838. ``datetime.timedelta()`` object.
  839. * celeryd: You can now set the ``DJANGO_PROJECT_DIR`` variable
  840. for ``celeryd`` and it will add that to ``sys.path`` for easy launching.
  841. * Can now check if a task has been executed or not via HTTP.
  842. * You can do this by including the celery ``urls.py`` into your project,
  843. >>> url(r'^celery/$', include("celery.urls"))
  844. then visiting the following url,::
  845. http://mysite/celery/$task_id/done/
  846. this will return a JSON dictionary like e.g:
  847. >>> {"task": {"id": $task_id, "executed": true}}
  848. * ``delay_task`` now returns string id, not ``uuid.UUID`` instance.
  849. * Now has ``PeriodicTasks``, to have ``cron`` like functionality.
  850. * Project changed name from ``crunchy`` to ``celery``. The details of
  851. the name change request is in ``docs/name_change_request.txt``.
  852. 0.1.0 [2009-04-24 11:28 A.M CET]
  853. ================================
  854. * Initial release