Releases: django-commons/django-tasks-scheduler
Releases · django-commons/django-tasks-scheduler
v4.0.0b1 🌈
v4.0.0b1 🌈
Breaking Changes
This version is a full revamp of the package. The main changes are related to removing the RQ dependency.
Worker/Queue/Job are all implemented in the package itself. This change allows for more flexibility and control over
the tasks.
Management commands:
rqstats
=>scheduler_stats
rqworker
=>scheduler_worker
Settings:
SCHEDULER_CONFIG
is now aSchedulerConfiguration
object to help IDE guide settings.SCHEDULER_QUEUES
is now a list ofQueueConfiguration
objects to help IDE guide settings.- Configuring queue to use
SSL
/SSL_CERT_REQS
/SOCKET_TIMEOUT
is now done usingCONNECTION_KWARGS
in
QueueConfiguration
SCHEDULER_QUEUES: Dict[str, QueueConfiguration] = { 'default': QueueConfiguration( HOST='localhost', PORT=6379, USERNAME='some-user', PASSWORD='some-password', CONNECTION_KWARGS={ # Eventual additional Broker connection arguments 'ssl_cert_reqs': 'required', 'ssl':True, }, ), # ... }
- For how to configure in
settings.py
, please see the settings documentation.
v3.0.1 🌈
🐛 Bug Fixes
- Lookup error issue #228.
🧰 Maintenance
- Migrated to use ruff instead of flake8/black
- chore(deps): bump mkdocs-material from 9.6.7 to 9.6.8 @dependabot[bot] (#225)
- docs: Added route for contributing on readme, and fixed a graphical bug on the badges at the top of the documentation @TimothyMalahy (#208)
v3.0.0 🌈
Breaking Changes
- Renamed
REDIS_CLIENT_KWARGS
configuration toCLIENT_KWARGS
.
🚀 Features
- Created a new
Task
model representing all kind of scheduled tasks.- In future versions,
CronTask
,ScheduledTask
andRepeatableTask
will be removed. Task
model has atask_type
field to differentiate between the types of tasks.- Old tasks in the database will be migrated to the new
Task
model automatically.
- In future versions,
🧰 Maintenance
- Update dependencies to the latest versions.
v2.1.1 🌈
v3.0.0b2
Fixed issue with success_callback
v3.0.0b1
Breaking Changes
- Renamed
REDIS_CLIENT_KWARGS
configuration toCLIENT_KWARGS
.
🚀 Features
- Created a new
Task
model representing all kind of scheduled tasks.- In future versions,
CronTask
,ScheduledTask
andRepeatableTask
will be removed. Task
model has atask_type
field to differentiate between the types of tasks.- Old tasks in the database will be migrated to the new
Task
model automatically.
- In future versions,
v2.1.0 🌈
Changes
🚀 Features
- Support for custom job-class for every worker, using
--job-class
option inrqworker
command. @gabriels1234 (#160) - Support for integrating with sentry, using
--sentry-dsn
,--sentry-debug
, and--sentry-ca-certs
options in
rqworker
command. - Support for using ValKey as broker instead of redis.
🧰 Maintenance
- Refactor settings module.
v2.0.0 🌈
Breaking Changes
- Remove support for django 3.* and 4.*. Only support django 5.0 and above.
- queue choice field is now callable.
v1.3.4 🌈
🧰 Maintenance
- Update dependencies to latest versions