forked from celery/django-celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
176 lines (109 loc) · 4.16 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
================
Change history
================
.. contents::
:local:
.. _version-2.2.2:
2.2.2
=====
:release-date: 2011-02-03 16:00 PM CET
* Now requires Celery 2.2.2
* Periodic Task Admin broke if the CELERYBEAT_SCHEDULE setting was not set.
* DatabaseScheduler No longer creates duplicate interval models.
* The djcelery admin templates were not included in the distribution.
.. _version-2.2.1:
2.2.1
=====
:release-date: 2011-02-02 16:00 PM CET
* Should now work with Django versions previous to 1.2.
.. _version-2.2.0:
2.2.0
=====
:release-date: 2011-02-01 10:00 AM CET
* Now depends on Celery v2.2.0
* djceleryadm: Adds task actions Kill and Terminate task
* celerycam: Django's queryset.delete() fetches everything in
memory THEN deletes, so we need to use raw SQL to expire objects.
* djcelerymon: Added Command.stdout + Command.stderr (Issue #23).
* Need to close any open database connection after any embedded
celerybeat process forks.
* Added contrib/requirements/py25.txt
* Demoproject now does ``djcelery.setup_loader`` in settings.py.
.. _version-2.1.1:
2.1.1
=====
:release-date: 2010-10-14 02:00 PM CEST
* Now depends on Celery v2.1.1.
* Snapshots: Fixed bug with losing events.
* Snapshots: Limited the number of worker timestamp updates to once every second.
* Snapshot: Handle transaction manually and commit every 100 task updates.
* snapshots: Can now configure when to expire task events.
New settings:
* ``CELERYCAM_EXPIRE_SUCCESS`` (default 1 day),
* ``CELERYCAM_EXPIRE_ERROR`` (default 3 days), and
* ``CELERYCAM_EXPIRE_PENDING`` (default 5 days).
* Snapshots: ``TaskState.args`` and ``TaskState.kwargs`` are now
represented as ``TextField`` instead of ``CharField``.
If you need to represent arguments larger than 200 chars you have
to migrate the table.
* ``transaction.commit_manually`` doesn't accept arguments on older
Django version.
Should now work with Django versions previous to v1.2.
* The tests doesn't need :mod:`unittest2` anymore if running on Python 2.7.
.. _version-2.1.0:
2.1.0
=====
:release-date: 2010-10-08 12:00 PM CEST
Important Notes
---------------
This release depends on Celery version 2.1.0.
Be sure to read the Celery changelog before you upgrade:
http://ask.github.com/celery/changelog.html#version-2-1-0
News
----
* The periodic task schedule can now be stored in the database and edited via
the Django Admin interface.
To use the new database schedule you need to start ``celerybeat`` with the
following argument::
$ python manage.py celerybeat -S djcelery.schedulers.DatabaseScheduler
Note that you need to add your old periodic tasks to the database manually
(using the Django admin interface for example).
* New Celery monitor for the Django Admin interface.
To start monitoring your workers you have to start your workers
in event mode::
$ python manage.py celeryd -E
(you can do this without restarting the server too::
>>> from celery.task.control import broadcast
>>> broadcast("enable_events")
You need to do a syncdb to create the new tables:
python manage.py syncdb
Then you need to start the snapshot camera::
$ python manage.py celerycam -f 2.0
This will take a snapshot of the events every 2 seconds and store it in
the database.
Fixes
-----
* database backend: Now shows warning if polling results with transaction isolation level
repeatable-read on MySQL.
See http://github.com/ask/django-celery/issues/issue/6
* database backend: get result does no longer store the default result to
database.
See http://github.com/ask/django-celery/issues/issue/6
2.0.2
=====
Important notes
---------------
* Due to some applications loading the Django models lazily, it is recommended
that you add the following lines to your ``settings.py``::
import djcelery
djcelery.setup_loader()
This will ensure the Django celery loader is set even though the
model modules haven't been imported yet.
News
----
* ``djcelery.views.registered_tasks``: Added a view to list currently known
tasks.
2.0.0
=====
:release-date: 2010-07-02 02:30 P.M CEST
* Initial release