Changelog 6.2 KB

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