Skip to content

Latest commit

 

History

History
201 lines (121 loc) · 4.79 KB

whatsnew-3.2.rst

File metadata and controls

201 lines (121 loc) · 4.79 KB

What's new in Celery 3.2 (TBA)

Author: Ask Solem (ask at celeryproject.org)

Change history

What's new documents describe the changes in major versions, we also have a :ref:`changelog` that lists the changes in bugfix releases (0.0.x), while older series are archived under the :ref:`history` section.

Celery is a simple, flexible and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system.

It's a task queue with focus on real-time processing, while also supporting task scheduling.

Celery has a large and diverse community of users and contributors, you should come join us :ref:`on IRC <irc-channel>` or :ref:`our mailing-list <mailing-list>`.

To read more about Celery you should go read the :ref:`introduction <intro>`.

While this version is backward compatible with previous versions it's important that you read the following section.

This version is officially supported on CPython 2.6, 2.7 and 3.3, and also supported on PyPy.

Table of Contents

Make sure you read the important notes before upgrading to this version.

Celery now requires Python 2.7 or later.

The metaclass has been removed blah blah

TaskProducer replaced by app.amqp.create_task_message and app.amqp.send_task_message.

  • Worker stores results for internal errors like ContentDisallowed, and exceptions occurring outside of the task function.

Contributed by Gilles Dartiguelongue, Alman One and NoKriK.

Bla bla

  • blah blah

Events are now buffered in the worker and sent as a list

Task.replace changed, removes Task.replace_in_chord.

The two methods had almost the same functionality, but the old Task.replace would force the new task to inherit the callbacks/errbacks of the existing task.

If you replace a node in a tree, then you would not expect the new node to inherit the children of the old node, so this seems like unexpected behavior.

So self.replace(sig) now works for any task, in addition sig can now be a group.

Groups are automatically converted to a chord, where the callback will "accumulate" the results of the group tasks.

A new builtin task (celery.accumulate was added for this purpose)

Closes #81

  • The module celery.task.trace has been removed as scheduled for this version.
  • Magic keyword arguments no longer supported.

See the :ref:`deprecation-timeline`.