Changelog 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. .. _changelog:
  2. ================
  3. Change history
  4. ================
  5. This document contains change notes for bugfix releases in the 3.1.x series
  6. (Cipater), please see :ref:`whatsnew-3.1` for an overview of what's
  7. new in Celery 3.1.
  8. .. _version-3.1.6:
  9. 3.1.6
  10. =====
  11. - Now depends on :mod:`billiard` 3.3.0.9.
  12. - Now depends on :ref:`Kombu 3.0.7 <kombu:version-3.0.7>`.
  13. .. _version-3.1.5:
  14. 3.1.5
  15. =====
  16. :release-date: 2013-11-21 6:20 P.M UTC
  17. :release-by: Ask Solem
  18. - Now depends on :ref:`Kombu 3.0.6 <kombu:version-3.0.6>`.
  19. - Now depends on :mod:`billiard` 3.3.0.8
  20. - App: ``config_from_object`` is now lazy (Issue #1665).
  21. - App: ``autodiscover_tasks`` is now lazy.
  22. Django users should now wrap access to the settings object
  23. in a lambda::
  24. app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
  25. this ensures that the settings object is not prepared
  26. prematurely.
  27. - Fixed regression for ``--app`` argument experienced by
  28. some users (Issue #1653).
  29. - Worker: Now respects the ``--uid`` and ``--gid`` arguments
  30. even if ``--detach`` is not enabled.
  31. - Beat: Now respects the ``--uid`` and ``--gid`` arguments
  32. even if ``--detach`` is not enabled.
  33. - Python 3: Fixed unorderable error occuring with the worker ``-B``
  34. argument enabled.
  35. - ``celery.VERSION`` is now a named tuple.
  36. - ``maybe_signature(list)`` is now applied recursively (Issue #1645).
  37. - ``celery shell`` command: Fixed ``IPython.frontend`` deprecation warning.
  38. - The default app no longer includes the builtin fixups.
  39. This fixes a bug where ``celery multi`` would attempt
  40. to load the Django settings module before entering
  41. the target working directory.
  42. - The Django daemonization tutorial was changed.
  43. Users no longer have to explicitly export ``DJANGO_SETTINGS_MODULE``
  44. in :file:`/etc/default/celeryd` when the new project layout is used.
  45. - Redis result backend: expiry value can now be 0 (Issue #1661).
  46. - Censoring settings now accounts for non-string keys (Issue #1663).
  47. - App: New ``autofinalize`` option.
  48. Apps are automatically finalized when the task registry is accessed.
  49. You can now disable this behavior so that an exception is raised
  50. instead.
  51. Example:
  52. .. code-block:: python
  53. app = Celery(autofinalize=False)
  54. # raises RuntimeError
  55. tasks = app.tasks
  56. @app.task
  57. def add(x, y):
  58. return x + y
  59. # raises RuntimeError
  60. add.delay(2, 2)
  61. app.finalize()
  62. # no longer raises:
  63. tasks = app.tasks
  64. add.delay(2, 2)
  65. - The worker did not send monitoring events during shutdown.
  66. - Worker: Mingle and gossip is now automatically disabled when
  67. used with an unsupported transport (Issue #1664).
  68. - ``celery`` command: Preload options now supports
  69. the rare ``--opt value`` format (Issue #1668).
  70. - ``celery`` command: Accidentally removed options
  71. appearing before the subcommand, these are now moved to the end
  72. instead.
  73. - Worker now properly responds to ``inspect stats`` commands
  74. even if received before startup is complete (Issue #1659).
  75. - :signal:`task_postrun` is now sent within a finally block, to make
  76. sure the signal is always sent.
  77. - Beat: Fixed syntax error in string formatting.
  78. Contributed by nadad.
  79. - Fixed typos in the documentation.
  80. Fixes contributed by Loic Bistuer, sunfinite.
  81. - Nested chains now works properly when constructed using the
  82. ``chain`` type instead of the ``|`` operator (Issue #1656).
  83. .. _version-3.1.4:
  84. 3.1.4
  85. =====
  86. :release-date: 2013-11-15 11:40 P.M UTC
  87. :release-by: Ask Solem
  88. - Now depends on :ref:`Kombu 3.0.5 <kombu:version-3.0.5>`.
  89. - Now depends on :mod:`billiard` 3.3.0.7
  90. - Worker accidentally set a default socket timeout of 5 seconds.
  91. - Django: Fixup now sets the default app so that threads will use
  92. the same app instance (e.g. for manage.py runserver).
  93. - Worker: Fixed Unicode error crash at startup experienced by some users.
  94. - Calling ``.apply_async`` on an empty chain now works again (Issue #1650).
  95. - The ``celery multi show`` command now generates the same arguments
  96. as the start command does.
  97. - The ``--app`` argument could end up using a module object instead
  98. of an app instance (with a resulting crash).
  99. - Fixed a syntax error problem in the celerybeat init script.
  100. Fix contributed by Vsevolod.
  101. - Tests now passing on PyPy 2.1 and 2.2.
  102. .. _version-3.1.3:
  103. 3.1.3
  104. =====
  105. :release-date: 2013-11-13 12:55 A.M UTC
  106. :release-by: Ask Solem
  107. - Fixed compatibility problem with Python 2.7.0 - 2.7.5 (Issue #1637)
  108. ``unpack_from`` started supporting ``memoryview`` arguments
  109. in Python 2.7.6.
  110. - Worker: :option:`-B` argument accidentally closed files used
  111. for logging.
  112. - Task decorated tasks now keep their docstring (Issue #1636)
  113. .. _version-3.1.2:
  114. 3.1.2
  115. =====
  116. :release-date: 2013-11-12 08:00 P.M UTC
  117. :release-by: Ask Solem
  118. - Now depends on :mod:`billiard` 3.3.0.6
  119. - No longer needs the billiard C extension to be installed.
  120. - The worker silently ignored task errors.
  121. - Django: Fixed ``ImproperlyConfigured`` error raised
  122. when no database backend specified.
  123. Fix contributed by j0hnsmith
  124. - Prefork pool: Now using ``_multiprocessing.read`` with ``memoryview``
  125. if available.
  126. - ``close_open_fds`` now uses ``os.closerange`` if available.
  127. - ``get_fdmax`` now takes value from ``sysconfig`` if possible.
  128. .. _version-3.1.1:
  129. 3.1.1
  130. =====
  131. :release-date: 2013-11-11 06:30 P.M UTC
  132. :release-by: Ask Solem
  133. - Now depends on :mod:`billiard` 3.3.0.4.
  134. - Python 3: Fixed compatibility issues.
  135. - Windows: Accidentally showed warning that the billiard C extension
  136. was not installed (Issue #1630).
  137. - Django: Tutorial updated with a solution that sets a default
  138. :envvar:`DJANGO_SETTINGS_MODULE` so that it doesn't have to be typed
  139. in with the :program:`celery` command.
  140. Also fixed typos in the tutorial, and added the settings
  141. required to use the Django database backend.
  142. Thanks to Chris Ward, orarbel.
  143. - Django: Fixed a problem when using the Django settings in Django 1.6.
  144. - Django: Fixup should not be applied if the django loader is active.
  145. - Worker: Fixed attribute error for ``human_write_stats`` when using the
  146. compatibility prefork pool implementation.
  147. - Worker: Fixed compatibility with billiard without C extension.
  148. - Inspect.conf: Now supports a ``with_defaults`` argument.
  149. - Group.restore: The backend argument was not respected.
  150. .. _version-3.1.0:
  151. 3.1.0
  152. =======
  153. :release-date: 2013-11-09 11:00 P.M UTC
  154. :release-by: Ask Solem
  155. See :ref:`whatsnew-3.1`.