Changelog 6.3 KB

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