.. _changelog:

================
 Change history
================

2.0.0
=====
:release-date: 
:release-by: 
- Added support for Django 3.0
- Dropped support for Django < 2.2 and Python < 3.5

1.6.0
=====
:release-date: 2020-02-01 4:30 p.m. UTC+6:00
:release-by: Asif Saif Uddin
- Fixed invalid long_description (#255)
- Exposed read-only field PeriodicTask.last_run_at in Django admin (#257)
- Added docker config to ease development (#260, #261, #264, #288)
- Added validation schedule validation on save (#271)
- Added French translation (#286)
- Fixed case where last_run_at = None and CELERY_TIMEZONE != TIME_ZONE (#294)


1.5.0
=====
:release-date: 2019-05-21 17:00 p.m. UTC+6:00
:release-by: Asif Saif Uddin
- Fixed delay returned when a task has a start_time in the future. (#208)
- PeriodicTaskAdmin: Declare some filtering, for usability (#215)
- fix _default_now is_aware bug (#216)
- Adds support for message headers for periodic tasks (#98)
- make last_run_at tz aware before passing to celery (#233)

.. _version-1.5.0:

1.4.0
=====
:release-date: 2018-12-09 1:30 p.m. UTC+2:00
:release-by: Omer Katz

- Fix migrations dependencies.
- Added the DJANGO_CELERY_BEAT_TZ_AWARE setting.

.. _version-1.3.0:

1.3.0
=====
:release-date: 2018-11-12 17:30 p.m. UTC+2:00
:release-by: Omer Katz

- Fix transaction handling while syncing the schedule.
- Fix schedule type validation logic.
- Scheduler no longer forgets the tasks after first schedule change.
- Fix race condition for schedule_changed() resulting in erroneously closed connections.
- Add support for task priorities when using RabbitMQ or Redis as broker.
- Disabled tasks are now correctly deleted from the schedule.
- Added name as search filter.

.. _version-1.2.0:

1.2.0
=====
:release-date: 2018-10-08 16:00 p.m. UTC+3:00
:release-by: Omer Katz

- Allow timezone-aware Cron schedules.
- Retry later in case of InterfaceError in sync.
- Show Periodic Task Description in panel admin.
- Fix CrontabSchedule example.
- Support Periodic Tasks with a start date and one-off tasks.
- Fixes a problem with beat not reconnecting to MySQL (server restart, network problem, etc.) when checking if schedule has changed.
- Add toggle admin action which allows to activate disabled tasks or deactivate enabled tasks.
- Add fields validation for CrontabSchedule.
- Drop support for Django<1.11.
- Fix task heap invalidation bug which prevented scheduled tasks from running when syncing tasks from the database.
- Raise a ValidationError when more than one type (solar, crontab or interval) of schedule is provided.

.. _version-1.1.1:

1.1.1
=====
:release-date: 2018-2-18 2:30 p.m. UTC+3:00
:release-by: Omer Katz

- Fix interval schedules by providing nowfun.
- Removing code that forced last_run_at to be timezone naive for no reason, made timezone aware. Fixes crontab schedules after celery/celery#4173.
- Entry.last_run_at is no-longer timezone naive.
- Use a localized PyTZ timezone object for now() otherwise conversions fail scheduling breaks resulting in constant running of tasks or possibly not running ever.
- Fix endless migrations creation for solar schedules events.
- Prevent MySQL has gone away errors.
- Added support for Django 2.0.
- Adjust CrontabSchedule's minutes, hour & day_of_month fields max length

.. _version-1.1.0:

1.1.0
=====
:release-date: 2017-10-31 2:30 p.m. UTC+3:00
:release-by: Omer Katz

- Adds default_app_config (Issue celery/celery#3567)
- Adds "run now" admin action for tasks.
- Adds admin actions to toggle tasks.
- Add solar schedules (Issue #8)
- Notify beat of changes when Interval/Crontab models change. (Issue celery/celery#3683)
- Fix PeriodicTask.enable sync issues
- Notify beat of changes when Solar model changes.
- Resolve CSS class conflict with django-adminlte2 package.
- We now support Django 1.11
- Deletes are now performed cascadingly.
- Return schedule for solar periodic tasks so that Celery Beat does not crash when one is scheduled.
- Adding nowfun to solar and crontab schedulers so that the Django timezone is used.


.. _version-1.0.1:

1.0.1
=====
:release-date: 2016-11-07 02:28 p.m. PST
:release-by: Ask Solem

- Now depends on Celery 4.0.0.

- Migration modules were not included in the distribution.

- Adds documentation: http://django-celery-beat.readthedocs.io/

.. _version-1.0.0:

1.0.0
=====
:release-date: 2016-09-08 03:19 p.m. PDT
:release-by: Ask Solem

- Initial release
