فهرست منبع

Bumped version to 2.0.0

jezdez pointed out that it was unexpected to have such major
backward-incomatible changes in a minor release, so the decision
was made to release 1.2 as 2.0 instead.

Note that this is just an in-advance change, there will probably
be at least some documentation changes before the version is released.
Ask Solem 15 سال پیش
والد
کامیت
e466f3f170
5فایلهای تغییر یافته به همراه19 افزوده شده و 19 حذف شده
  1. 13 13
      Changelog
  2. 1 1
      celery/__init__.py
  3. 2 2
      celery/models.py
  4. 1 1
      docs/includes/introduction.txt
  5. 2 2
      docs/internals/deprecation.rst

+ 13 - 13
Changelog

@@ -5,14 +5,14 @@
 .. contents::
     :local:
 
-1.2.0
+2.0.0
 =====
 :release-date: NOT RELEASED
 :branch: master
 :state: freeze
 
-Celery 1.2 contains backward incompatible changes, the most important
-being that the Django dependency has been removed, so Celery no longer
+Celery 2.0 contains backward incompatible changes, the most important
+being that the Django dependency has been removed so Celery no longer
 supports Django out of the box, but instead as an add-on package
 called `django-celery`_.
 
@@ -55,16 +55,16 @@ Django integration has been moved to a separate package: `django-celery`_.
     ``celery.backends.cache``              ``djcelery.backends.cache``
     =====================================  =====================================
 
-Importing :mod:`djcelery` will automatically setup celery to use the Django
-loader by setting the :envvar:`CELERY_LOADER` environment variable (it won't
-change it if it's already defined).
+Importing :mod:`djcelery` will automatically setup Celery to use the Django.
+It does this by pointing the :envvar:`CELERY_LOADER` environment variable to
+the Django loader (it won't change it if a loader is already set.)
 
-When the Django loader is used, the "database" and "cache" backend aliases
-will point to the :mod:`djcelery` backends instead of the built-in backends.
+When the Django loader is used, the "database" and "cache" result backend
+aliases will point to the :mod:`djcelery` backends instead of the built-in backends,
+and configuration will be read from the Django settings.
 
 .. _`django-celery`: http://pypi.python.org/pypi/django-celery
 
-
 Upgrading for others
 --------------------
 
@@ -1017,7 +1017,7 @@ Fixes
 
     Please note that a patch to :mod:`multiprocessing` is currently being
     worked on, this patch would enable us to use a better solution, and is
-    scheduled for inclusion in the ``1.2.0`` release.
+    scheduled for inclusion in the ``2.0.0`` release.
 
 * celeryd now shutdowns cleanly when receving the ``TERM`` signal.
 
@@ -1295,7 +1295,7 @@ Deprecations
 ------------
 
 * The following configuration variables has been renamed and will be
-  deprecated in v1.2:
+  deprecated in v2.0:
 
     * CELERYD_DAEMON_LOG_FORMAT -> CELERYD_LOG_FORMAT
     * CELERYD_DAEMON_LOG_LEVEL -> CELERYD_LOG_LEVEL
@@ -1313,12 +1313,12 @@ Deprecations
     the custom AMQP routing options (queue/exchange/routing_key, etc), you
     should read the new FAQ entry: http://bit.ly/aiWoH.
 
-    The previous syntax is deprecated and scheduled for removal in v1.2.
+    The previous syntax is deprecated and scheduled for removal in v2.0.
 
 * ``TaskSet.run`` has been renamed to ``TaskSet.apply_async``.
 
     ``TaskSet.run`` has now been deprecated, and is scheduled for
-    removal in v1.2.
+    removal in v2.0.
 
 News
 ----

+ 1 - 1
celery/__init__.py

@@ -1,6 +1,6 @@
 """Distributed Task Queue"""
 
-VERSION = (1, 1, 3)
+VERSION = (2, 0, 0)
 
 __version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
 __author__ = "Ask Solem"

+ 2 - 2
celery/models.py

@@ -2,7 +2,7 @@
 
 celery.models has been moved to djcelery.models.
 
-This file is deprecated and will be removed in Celery v1.4.0.
+This file is deprecated and will be removed in Celery v2.1.0.
 
 """
 import atexit
@@ -43,7 +43,7 @@ To install django-celery you can do one of the following:
 
 
 If you weren't aware of this already you should read the
-Celery 1.2.0 Changelog as well:
+Celery 2.0 Changelog as well:
     http://github.com/ask/celery/tree/djangofree/Changelog
 
 """)

+ 1 - 1
docs/includes/introduction.txt

@@ -1,6 +1,6 @@
 .. image:: http://cloud.github.com/downloads/ask/celery/celery_favicon_128.png
 
-:Version: 1.1.3
+:Version: 2.0.0
 :Web: http://celeryproject.org/
 :Download: http://pypi.python.org/pypi/celery/
 :Source: http://github.com/ask/celery/

+ 2 - 2
docs/internals/deprecation.rst

@@ -5,8 +5,8 @@
 .. contents::
     :local:
 
-Removals for version 1.2
-============================
+Removals for version 2.0
+========================
 
 * The following settings will be removed: