forked from celery/django-celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
1154 lines (696 loc) · 26.7 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
================
Change history
================
.. contents::
:local:
.. _version-3.2.0:
3.2.0
=====
:release-date: TDB
- Now compatible with Django 1.10
- Dropped compatibility with Django 1.7 and earlier.
For older Django versions use ``django-celery`` 3.1.x
- Prevented redundant migrations when using Python 3.
Fixes contributed by Ivan Larin and Vytis Banaitis.
- Fixed task cleanup when TaskState has related models.
Fix contributed by georgewhewell.
- Fixed Django 1.10 compatibility issue in scheduler
Fix contributed by Mathieu Fenniak.
- Fixed Django 1.10 compatibility issue in management commands
Fix contributed by Stranger6667, yjmade and Vytis Banaitis.
- Fixed cache backend compatibility issue with Django 1.9
Fix contributed by Vytis Banaitis, with initial patch by Brandon Craft.
- Fixed missing app label in Django admin.
Fix contributed by Rockallite Wulf.
- Fix timezone handling in Camera and admin.
Fix contributed by Vytis Banaitis.
- Added friendly API for dynamically creating/updating/deleting tasks
Fix contributed by Lev Berman
- Fixed some django 2.0 deprecations.
Fix contributed by Éloi Rivard
- Resolved some deprecation warnings in the test suite.
Fix contributed by Vytis Banaitis.
- PeriodicTask admin list view changes:
- ``task``, ``args``, ``kwargs`` fields added to ``list_display``.
- Added ability to search tasks by ``name`` and ``task``.
- Tasks now ordered by ``('-enabled', 'name')``.
- Added enable/disable actions.
Contributed by Armenak Baburyan.
.. _version-3.1.17:
3.1.17
======
:release-date: 2015-10-09 04:02 P.M PDT
- Adds Django migrations
... warning::
Old South migrations have been moved to ``djcelery.south_migrations``,
so if you still use South you need to configure the new location
in ``settings.py``:
.. code-block:: python
SOUTH_MIGRATION_MODULES = {
'djcelery': 'djcelery.south_migrations',
}
- ``djcelery.picklefield`` now compatible with Django 1.8
Fix taken upstream from ``django-picklefield``.
- Fixed timezone issues when CELERY_ENABLE_UTC not set.
Fix contributed by Dmitriy Krasilnikov.
- Fixed Python 3 compatibility issue in ``setup_loader``
(Issue #344, Issue #346).
.. _version-3.1.16:
3.1.16
======
:release-date: 2014-09-19 00:00 06:00 P.M UTC
- Fixed a problem with management commands hanging when
``djcelery`` is added to ``INSTALLED_APPS``.
.. _version-3.1.15:
3.1.15
======
:release-date: 2014-09-15 00:00 P.M UTC
- Now depends on Celery 3.1.15
- Better Python 3 compatibility
Contributed by Piotr Bulinski.
- Commands now disables model validation when using Django > 1.7 (Issue #336).
- No longer shadows the new ``--no-color`` option in Django 1.7.
- Commands now have ``.stderr`` and ``.stdout`` attributes for Django 1.7
compatibility.
Fix contributed by artscoop.
- ``WorkerState.is_alive()`` is now accurate with ``USE_TZ`` enabled.
Fix contributed by Rockallite Wulf.
.. _version-3.1.10:
3.1.10
======
:release-date: 2014-03-31 04:00 P.M UTC
- Test suite Django version compatibility fixes
Contributed by Spencer Ellinor
- Admin: Model forms now defines ``fields`` and ``exclude`` attributes
(Issue #311)
Contributed by David Fischer.
- Models: ``get_query_set`` renamed to ``get_queryset`` (but alias available)
(Issue #308).
Contributed by David Fischer.
- Admin: Fixed bug in ``humanize.py``.
Contributed by koodjo.
- Support for Django 1.8's ``DiscoverRunner``.
Contributed by David Fischer.
- Snapshot: Fixed time stamp timezone issue.
Contributed by Michael van Tellingen.
.. _version-3.1.9:
3.1.9
=====
:release-date: 2014-02-13 04:35 P.M UTC
- Now depends on Celery 3.1.9
- TestSuiteRunner should now be working again.
- Database result backend now works with Python 3.
- The `celery worker' management command now gives a proper error message
when positional arguments are provided.
Fix contributed by Brett Gibson.
- No longer uses manual transaction management to be compatible with Django
1.6.
This will probably decrease performance considerably, e.g. for clean up
of celerycam events and for celerybeat which now needs to commit the
transaction for every operation.
- The `celery` management command now performs validation checks (Issue #253).
- Url handlers: Fixed compatibility with Django 1.2
Fix contributed by dongweiming.
.. _version-3.1.1:
3.1.1
=====
:release-date: 2013-11-11 07:30 P.M UTC
- Fixed Python 3 compatibility problems.
Fix contributed by Anton Novosyolov.
- Fixed compatibility with Django pre 1.6 (Issue #285).
- celerycam: Fixed error when expire function returned None (Issue #210)
- DatabaseScheduler: Now automatically disables periodic task
if the schedule model it was connected is deleted (Issue #208).
- Test runner now sets always eager settings on the app configuration.
(Issue #201).
- TaskRunnerStoringResults stored results in the wrong table.
Fix contributed by Charlie DeTar.
- Celerycam: Fixed problem when USE_TZ not enabled.
Fix contributed by Jens Alm
- Celerycam: Fixed timezone problem with expires and eta
(Issue #275 + Issue #153).
Fix contributed by Alvaro Vega.
- Autodiscovery now warns instead of propagating import
errors (Issue #226).
.. _version-3.1.0:
3.1.0
=====
:release-date: 2013-11-10 1:04 A.M UTC
.. note::
Please test this release in staging first and
make sure you read the Celery 3.1 changelog at:
http://docs.celeryproject.org/en/latest/whatsnew-3.1.html
If you upgrade from an old version then you must also
double check that you have 'djcelery.setup_loader()'
in your settings.py!
- Tests passing on Django 1.6
- Now works with Celery 3.1
.. _version-3.0.23:
3.0.23
======
:release-date: 2013-09-03 02:00 P.M BST
- Now depends on celery 3.0.23
- ``djcelery.contrib.test_runner`` used naive datetimes
resulting in ``RuntimeWarning`` (Issue #242).
- Cache backend now compatible with Django 1.5.
Fix contributed by Weipin Xia.
- DatabaseScheduler: Periodic task admin form now validates args and kwargs.
Contributed by Justin Quick.
- DatabaseScheduler: IntervalSchedule and CrontabSchedule will now be ordered
in a more natural way.
Contributed by Eugene Nagornyi.
- Django Admin monitor: Worker and Task now supports ``extra_context``.
Fix contributed by @realitycheck.
- Django Admin monitor: Now properly formats task tracebacks.
Fix contributed by Vladislav Poluhin.
.. _version-3.0.21:
3.0.21
======
:release-date: 2013-08-26 04:00 P.M BST
- Now depends on Celery 3.0.21
- Fixed problems with time zones.
Fix contributed by Jeffrey Hu
- Now compatible with Django 1.5
Fixes contributed by Jay States, AlexRiina
- Experimental support for Python 3 (using 2to3).
.. _version-3.0.17:
3.0.17
======
:release-date: 2013-03-28 05:00 P.M BST
- Now depends on celery 3.0.17
- Tests passing on Django 1.5
- Fixed problem with the deprecated ``celeryd_multi`` command
when using the ``--workdir`` option.
- Fixed current date handling when used with Django 1.5
and ``USE_TZ`` is disabled.
Fix contributed by Theo Spears.
- Now makes sure to not attempt converting already
aware datetimes.
Fix contributed by Idan Zalzberg.
- Admin Monitor: Fixed timezone problem (Issue #183)
Fix contributed by Scott Rubin.
- Admin Monitor: Better formatting for task tracebacks.
Contributed by Vladislav Poluhin.
- DatabaseScheduler: Now logs if a periodic task is automatically
disabled because of invalid JSON in args/kwargs.
Contributed by Gnrhxni.
- celerycam: Do update and delete queries in the same transaction
when expiring old items.
.. _version-3.0.11:
3.0.11
======
:release-date: 2012-10-10 02:30 P.M BST
- Now depends on celery 3.0.11.
- Now depends on :mod:`pytz`
- Fixed Django Admin monitor timezone problem.
Events still use timestamps that converts to the timezone of the receiving
node, but a proper fix is being worked on that will be part of Celery 3.1
- Fixed error in database close mechanism for Oracle.
Fix contributed by Dan LaMotte.
3.0.10
======
:release-date: 2012-09-21 10:29 A.M BST
- Now depends on Celery 3.0.10
- Fixed timezone issues when using the Database periodic task scheduler.
- Admin: Periodic task form now adds tasks imported using ``CELERY_IMPORTS``,
and ``CELERY_INCLUDE``.
- Memory leak warning is now only output once.
- Periodic task form in Admin no longer lists the celery built-in tasks.
.. _version-3.0.9:
3.0.9
=====
:release-date: 2012-08-31 06:00 P.M BST
Important note:
Celery 3.0.9 fixes an issue with periodic tasks and timezones.
If you are using the database periodic task scheduler
then you have to reset the `last_run_at` fields
to ensure that no invalid timezones are stored:
.. code-block:: bash
$ python manage.py shell
>>> from djcelery.models import PeriodicTask
>>> PeriodicTask.objects.update(last_run_at=None)
- Now depends on Celery 3.0.9
See the Celery changelog for more information:
http://docs.celeryproject.org/en/latest/changelog.html
- Don't close fds for database connections without a fileno.
- Fixes Oracle compatibility issue for closing an already
closed connection.
Fix contributed by Dan LaMotte.
- New test suite runner that stores results in the database:
:class:`djcelery.contrib.test_runner.CeleryTestSuiteRunnerStoringResult`.
Contributed by Kirill Panshin.
.. _version-3.0.6:
3.0.6
=====
:release-date: 2012-08-17 11:00 P.M BST
- Now depends on celery 3.0.6
- Naive datetime's received by Celery are now assumed to be UTC.
- The example demoproject no longer used ``djcelery.setup_loader``.
- Fixed south migration warning (Issue #149).
Fix contributed by Roman Imankulov.
- No longer uses deprecated urls module.
Fix contributed by Simon Charette.
- Databases are no longer closed after fork, instead we close
the underlying file descriptors, so parent process can continue
to use the connection (Issue #161).
Fix contributed by Alex Stapleton.
.. _version-3.0.4:
3.0.4
=====
:release-date: 2012-07-26 07:00 P.M BST
:by: Ask Solem
- Now depends on celery 3.0.4
- ``CELERY_ENABLE_UTC`` is now disabled for Django versions
before 1.4 (Issue #158).
- celerycam: No longer overwrites name, args, kwargs and eta if the
received event is missing (Issue #148 + Issue #155).
Fix contributed by Kirill Panshin.
- Fixed problem with migrations when running the tests.
Fix contributed by Roger Barnes.
- New utilities:
- :func:`djcelery.common.respect_language`
Context manager for the with statement that changes the language used.
For example::
from celery import task
from djcelery.common import respect_language
@task
def my_task(language=None):
with respect_language(language):
...
- :func:`djcelery.common.respects_language`
Decorator version of the above that adds a ``language`` keyword
argument to any function that it decorates::
@task
@respects_language
def my_task():
pass
my_task.delay(language=translation.get_language())
Contributed by @ramusus
.. _version-3.0.1:
3.0.1
=====
:release-date: 2012-07-10 06:00 P.M BST
:by: Ask Solem
Important Notes
---------------
The 3.0 changelog forgot to mention that two of the database
tables has been altered, so you must either use South to migrate
the tables or alter the tables manually::
ALTER TABLE celery_taskmeta
ADD meta TEXT NULL DEFAULT "";
ALTER TABLE djcelery_crontabschedule
ADD day_of_month VARCHAR(64) NOT NULL DEFAULT "*";
ALTER TABLE djcelery_crontabschedule
ADD month_of_year VARCHAR(64) NOT NULL DEFAULT "*";
Fixes
-----
- Now depends on Celery 3.0.1
- Fixes problems with South migrations (Issue #149)
Fix contributed by Roman Imankulov.
- Task monitor must store task eta in UTC (Issue #139).
Fix contributed by Mike Ivanov.
.. _version-3.0.0:
3.0.0
=====
:release-date: 2012-07-07 01:00 P.M BST
:by: Ask Solem
.. _v300-important:
Important Notes
---------------
- Now depends on Celery 3.0
It is important that you read the What's New document for the 3.0 series:
http://docs.celeryproject.org/en/latest/whatsnew-3.0.html
- No longer depends on :mod:`django-picklefield`
And as such the result backend will no longer deepcopy return
values or exceptions.
- Celery 3.0 is the last release to require django-celery
Starting with Celery 3.1 the django-celery package will no longer be
required and Celery will support Django out of the box.
The django-celery package may still exist for some time to provide
additional utilities like the django-admin monitor.
- django-celery 3.0 is the last series to support Python 2.5.
Celery will no longer support Python 2.5 starting with version 3.1.
- New :program:`manage.py celery` umbrella command replaces older commands.
All commands except for :program:`manage.py celeryevcam` can
now be started using the new umbrella command::
$ manage.py celery worker -l info # <<< NEW
$ manage.py celeryd -l info # <-- OLD
$ manage.py celery status # <<< NEW
$ manage.py celeryctl status # <-- OLD
$ manage.py celery beat -l info # <<< NEW
$ manage.py celerybeat -l info # <-- OLD
$ manage.py celery multi start ... # <<< NEW
$ manage.py celeryd_multi start ... # <-- OLD
$ manage.py celery amqp queue.delete celery # <<< NEW
$ manage.py camqadm queue.delete celery # <-- OLD
See ``manage.py celery help`` for a complete list of supported commands.
The old commands will still work, but you are encouraged to start
using the new umbrella command.
- The distribution :file:`contrib/` directory is now renamed to
:file:`extra/`.
- The django-celery source code repository has moved
The new location is at http://github.com/celery/django-celery
.. _v260-news:
News
----
- New Spanish translation.
Contributed by Diego Andres Sanabria Martin.
.. _v300-fixes:
Fixes
-----
- Fixes an UTC bug when ``CELERY_ENABLE_UTC`` was enabled (Issue #131).
- Database Periodic Task Scheduler: Disabling a periodic task now also
resets its last_run_at field. So that the schedule will restart from
scratch if re-enabled (Issue #370).
- Database Periodic Task Scheduler: Now retries the sync operation
if database errors occur.
.. _version-2.5.5:
2.5.5
=====
:release-date: 2012-04-19 01:46 P.M BST
* Fixed bug where task modules were not imported.
.. _version-2.5.4:
2.5.4
=====
:release-date: 2012-04-16 06:31 P.M BST
* Compatibility with celery 2.5.3
* Database scheduler now imports ``exchange``, ``routing_key`` and ``queue``
options from ``CELERYBEAT_SCHEDULE``.
.. _version-2.5.3:
2.5.3
=====
:release-date: 2012-04-13 06:16 P.M BST
:by: Ask Solem
* 2.5.2 release broke installation because of an import in the package.
Fixed by not having setup.py import the djcelery module anymore,
but rather parsing the package file for metadata.
.. _version-2.5.2:
2.5.2
=====
:release-date: 2012-04-13 05:00 P.M BST
:by: Ask Solem
.. _v252-news:
News
----
* PeriodicTask admin now lists the enabled field in the list view
Contributed by Gabe Jackson.
.. _v252-fixes:
Fixes
-----
* Fixed a compatibility issue with Django < 1.3
Fix contributed by Roman Barczyski
* Admin monitor now properly escapes args and kwargs.
Fix contributed by Serj Zavadsky
* PeriodicTask admin now gives error if no schedule set (or both set)
(Issue #126).
* examples/demoproject has been updated to use the Django 1.4 template.
* Database connection is no longer closed for eager tasks (Issue #116).
Fix contributed by Mark Lavin.
* The first-steps document for django-celery has been moved to the main
Celery documentation.
* djcelerymon command no longer worked properly, this has now been fixed
(Issue #123).
.. _version-2.5.1:
2.5.1
=====
:release-date: 2012-03-01 01:00 P.M GMT
:by: Ask Solem
.. _v251-fixes:
Fixes
-----
* Now depends on Celery 2.5.1
* Fixed problem with recursive imports when USE_I18N was enabled
(Issue #109).
* The ``CELERY_DB_REUSE_MAX`` setting was not honored.
* The djcelerymon command no longer runs with DEBUG.
To enable debug you can set the :envvar:`DJCELERYMON_DEBUG`
environment variable.
* Fixed eventlet/gevent compatability with Django 1.4's new thread
sharing detection.
* Now depends on django-picklefield 0.2.0 or greater.
Previous versions would not work correctly with Django 1.4.
.. _version-2.5.0:
2.5.0
=====
:release-date: 2012-02-24 02:00 P.M GMT
:by: Ask Solem
.. _v250-important:
Important Notes
---------------
* Now depends on Celery 2.5.
* Database schema has been updated.
After upgrading you need migrate using South, or migrate manually
as described below.
These changes means that expiring results will be faster and
take less memory than before.
In addition a description field to the PeriodicTask model has
been added so that the purpose of a periodic task
in the database can be documented via the Admin interface.
**South Migration**
To migrate using South execute the following command::
$ python manage.py migrate djcelery
If this is a new project that is also using South then you need
to fake the migration:
$ python manage.y migrate djcelery --fake
**Manual Migration**
To manually add the new fields,
using PostgreSQL:
.. code-block: sql
ALTER TABLE celery_taskmeta
ADD hidden BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE celery_tasksetmeta
ADD hidden BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE djcelery_periodictask
ADD description TEXT NOT NULL DEFAULT ""
using MySQL:
.. code-block:: sql
ALTER TABLE celery_taskmeta
ADD hidden TINYINT NOT NULL DEFAULT 0;
ALTER TABLE celery_tasksetmeta
ADD hidden TINYINT NOT NULL DEFAULT 0;
ALTER TABLE djcelery_periodictask
ADD description TEXT NOT NULL DEFAULT "";
using SQLite:
.. code-block:: sql
ALTER TABLE celery_taskmeta
ADD hidden BOOL NOT NULL DEFAULT FALSE;
ALTER TABLE celery_tasksetmeta
ADD hidden BOOL NOT NULL DEFAULT FALSE;
ALTER TABLE djcelery_periodictask
ADD description VARCHAR(200) NOT NULL DEFAULT "";
.. _v250-news:
News
----
* Auto-discovered task modules now works with the new auto-reloader
functionality.
* The database periodic task scheduler now tried to recover from
operational database errors.
* The periodic task schedule entry now accepts both int and
timedelta (Issue #100).
* 'Connection already closed' errors occurring while closing
the database connection are now ignored (Issue #93).
* The ``djcelerymon`` command used to start a Django admin monitor
instance outside of Django projects now starts without a celery
config module.
* Should now work with Django 1.4's new timezone support.
Contributed by Jannis Leidel and Donald Stufft.
* South migrations did not work properly.
Fix contributed by Christopher Grebs.
* celeryd-multi now preserves django-related arguments,
like ``--settings`` (Issue #94).
* Migrations now work with Django < 1.3 (Issue #92).
Fix contributed by Jude Nagurney.
* The expiry of the database result backend can now be an int (Issue #84).
.. _version-2.4.2:
2.4.2
=====
:release-date: 2011-11-14 12:00 P.M GMT
* Fixed syntax error in South migrations code (Issue #88).
Fix contributed by Olivier Tabone.
.. _version-2.4.1:
2.4.1
=====
:release-date: 2011-11-07 06:00 P.M GMT
:by: Ask Solem
* Management commands was missing command line arguments because of recent
changes to Celery.
* Management commands now supports the ``--broker|-b`` option.
* South migrations now ignores errors when tables already exist.
.. _version-2.4.0:
2.4.0
=====
:release-date: 2011-11-04 04:00 P.M GMT
:by: Ask Solem
.. _240-important:
Important Notes
---------------
This release adds `South`_ migrations, which well assist users in automatically
updating their database schemas with each django-celery release.
.. _`South`: http://pypi.python.org/pypi/South/
.. _240-news:
News
----
* Now depends on Celery 2.4.0 or higher.
* South migrations have been added.
Migration 0001 is a snapshot from the previous stable release (2.3.3).
For those who do not use South, no action is required.
South users will want to read the :ref:`240-upgrade_south` section
below.
Contributed by Greg Taylor.
* Test runner now compatible with Django 1.4.
Test runners are now classes instead of functions,
so you have to change the ``TEST_RUNNER`` setting to read::
TEST_RUNNER = "djcelery.contrib.test_runner.CeleryTestSuiteRunner"
Contributed by Jonas Haag.
.. _240-upgrade_south:
Upgrading for south users
-------------------------
For those that are already using django-celery 2.3.x, you'll need to fake the
newly added migration 0001, since your database already has the current
``djcelery_*`` and ``celery_*`` tables::
$ python manage.py migrate djcelery 0001 --fake
If you're upgrading from the 2.2.x series, you'll want to drop/reset your
``celery_*`` and ``djcelery_*`` tables and run the migration::
$ python manage.py migrate djcelery
.. _version-2.3.3:
2.3.3
=====
:release-date: 2011-08-22 12:00 AM BST
* Precedence issue caused database backend tables to not be
created (Issue #62).
.. _version-2.3.2:
2.3.2
=====
:release-date: 2011-08-20 12:00 AM BST
* Fixes circular import of DatabaseBackend.
.. _version-2.3.1:
2.3.1
=====
:release-date: 2011-08-11 12:00 PM BST
* Django database result backend tables were not created.
If you are having troubles because of this, be sure you do a ``syncdb``
after upgrading, that should resolve the issue.
.. _version-2.3.0:
2.3.0
=====
:release-date: 2011-08-05 12:00 PM BST
* Now depends on Celery 2.3.0
Please read the Celery 2.3.0 changelog!
.. _version-2.2.4:
2.2.4
=====
* celerybeat: DatabaseScheduler would not react to changes when using MySQL and
the default transaction isolation level ``REPEATABLE-READ`` (Issue #41).
It is still recommended that you use isolation level ``READ-COMMITTED``
(see the Celery FAQ).
.. _version-2.2.3:
2.2.3
=====
:release-date: 2011-02-12 16:00 PM CET
* celerybeat: DatabaseScheduler did not respect the disabled setting after restart.
* celeryevcam: Expiring objects now works on PostgreSQL.
* Now requires Celery 2.2.3
.. _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: