Changelog 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. ==============
  2. Change history
  3. ==============
  4. 0.2.0-pre1 [2009-05-20 04:13 P.M CET] askh@opera.com
  5. ----------------------------------------------------
  6. * It's getting quite stable, with a lot of new features, so bump
  7. version to 0.2. This is a pre-release.
  8. * ``celery.task.mark_as_read()`` and ``celery.task.mark_as_failure()`` has
  9. been removed. Use ``celery.backends.default_backend.mark_as_read()``,
  10. and ``celery.backends.default_backend.mark_as_failure()`` instead.
  11. 0.1.15 [2009-05-20 04:13 P.M CET] askh@opera.com
  12. ------------------------------------------------
  13. * The celery daemon was leaking AMQP connections, this should be fixed,
  14. if you have any problems with too many files open (like ``emfile``
  15. errors in ``rabbit.log``, please contact us!
  16. 0.1.14 [2009-05-19 01:08 P.M CET] askh@opera.com
  17. ------------------------------------------------
  18. * Fixed a syntax error in the ``TaskSet`` class. (No such variable
  19. ``TimeOutError``).
  20. 0.1.13 [2009-05-19 12:36 P.M CET] askh@opera.com
  21. ------------------------------------------------
  22. * Forgot to add ``yadayada`` to install requirements.
  23. * Now deletes all expired task results, not just those marked as done.
  24. * Able to load the Tokyo Tyrant backend class without django
  25. configuration, can specify tyrant settings directly in the class
  26. constructor.
  27. * Improved API documentation
  28. * Now using the Sphinx documentation system, you can build
  29. the html documentation by doing ::
  30. $ cd docs
  31. $ make html
  32. and the result will be in ``docs/.build/html``.
  33. 0.1.12 [2009-05-18 04:38 P.M CET] askh@opera.com
  34. ------------------------------------------------
  35. * ``delay_task()`` etc. now returns ``celery.task.AsyncResult`` object,
  36. which lets you check the result and any failure that might have
  37. happened. It kind of works like the ``multiprocessing.AsyncResult``
  38. class returned by ``multiprocessing.Pool.map_async``.
  39. * Added dmap() and dmap_async(). This works like the
  40. ``multiprocessing.Pool`` versions except they are tasks
  41. distributed to the celery server. Example:
  42. >>> from celery.task import dmap
  43. >>> import operator
  44. >>> dmap(operator.add, [[2, 2], [4, 4], [8, 8]])
  45. >>> [4, 8, 16]
  46. >>> from celery.task import dmap_async
  47. >>> import operator
  48. >>> result = dmap_async(operator.add, [[2, 2], [4, 4], [8, 8]])
  49. >>> result.ready()
  50. False
  51. >>> time.sleep(1)
  52. >>> result.ready()
  53. True
  54. >>> result.result
  55. [4, 8, 16]
  56. * Refactored the task metadata cache and database backends, and added a new backend for Tokyo Tyrant. You can set the backend in your django settings file. e.g
  57. CELERY_BACKEND = "database"; # Uses the database
  58. CELERY_BACKEND = "cache"; # Uses the django cache framework
  59. CELERY_BACKEND = "tyrant"; # Uses Tokyo Tyrant
  60. TT_HOST = "localhost"; # Hostname for the Tokyo Tyrant server.
  61. TT_PORT = 6657; # Port of the Tokyo Tyrant server.
  62. 0.1.11 [2009-05-12 02:08 P.M CET] askh@opera.com
  63. -------------------------------------------------
  64. * The logging system was leaking file descriptors, resulting in
  65. servers stopping with the EMFILES (too many open files) error. (fixed)
  66. 0.1.10 [2009-05-11 12:46 P.M CET] askh@opera.com
  67. -------------------------------------------------
  68. * Tasks now supports both positional arguments and keyword arguments.
  69. * Requires carrot 0.3.8.
  70. * The daemon now tries to reconnect if the connection is lost.
  71. 0.1.8 [2009-05-07 12:27 P.M CET] askh@opera.com
  72. ------------------------------------------------
  73. * Better test coverage
  74. * More documentation
  75. * celeryd doesn't emit ``Queue is empty`` message if
  76. ``settings.CELERYD_EMPTY_MSG_EMIT_EVERY`` is 0.
  77. 0.1.7 [2009-04-30 1:50 P.M CET] askh@opera.com
  78. -----------------------------------------------
  79. * Added some unittests
  80. * Can now use the database for task metadata (like if the task has
  81. been executed or not). Set ``settings.CELERY_TASK_META``
  82. * Can now run ``python setup.py test`` to run the unittests from
  83. within the ``testproj`` project.
  84. * Can set the AMQP exchange/routing key/queue using
  85. ``settings.CELERY_AMQP_EXCHANGE``, ``settings.CELERY_AMQP_ROUTING_KEY``,
  86. and ``settings.CELERY_AMQP_CONSUMER_QUEUE``.
  87. 0.1.6 [2009-04-28 2:13 P.M CET] askh@opera.com
  88. -----------------------------------------------
  89. * Introducing ``TaskSet``. A set of subtasks is executed and you can
  90. find out how many, or if all them, are done (excellent for progress bars and such)
  91. * Now catches all exceptions when running ``Task.__call__``, so the
  92. daemon doesn't die. This does't happen for pure functions yet, only
  93. ``Task`` classes.
  94. * ``autodiscover()`` now works with zipped eggs.
  95. * celeryd: Now adds curernt working directory to ``sys.path`` for
  96. convenience.
  97. * The ``run_every`` attribute of ``PeriodicTask`` classes can now be a
  98. ``datetime.timedelta()`` object.
  99. * celeryd: You can now set the ``DJANGO_PROJECT_DIR`` variable
  100. for ``celeryd`` and it will add that to ``sys.path`` for easy launching.
  101. * Can now check if a task has been executed or not via HTTP.
  102. You can do this by including the celery ``urls.py`` into your project,
  103. >>> url(r'^celery/$', include("celery.urls"))
  104. then visiting the following url,::
  105. http://mysite/celery/$task_id/done/
  106. this will return a JSON dictionary like e.g:
  107. >>> {"task": {"id": $task_id, "executed": true}}
  108. * ``delay_task`` now returns string id, not ``uuid.UUID`` instance.
  109. * Now has ``PeriodicTasks``, to have ``cron`` like functionality.
  110. * Project changed name from ``crunchy`` to ``celery``. The details of
  111. the name change request is in ``docs/name_change_request.txt``.
  112. 0.1.0 [2009-04-24 11:28 A.M CET] askh@opera.com
  113. ------------------------------------------------
  114. * Initial release