Changelog¶
v4.0.0 🌈¶
See breaking changes in 4.0.0 beta versions.
🐛 Bug Fixes¶
v4.0.0b3 🌈¶
Refactor the code to make it more organized and easier to maintain. This includes:
- All types are under
types
instead of separated tobroker_types
andsettings_types
. - Added
__all__
tomodels
, and other packages.
v4.0.0b2 🌈¶
🐛 Bug Fixes¶
- Fix bug when
SCHEDULER_CONFIG
isSchedulerConfiguration
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
inQueueConfiguration
python 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.2 🌈¶
🐛 Bug Fixes¶
- Fix issue updating wrong field #233
v3.0.1 🌈¶
🐛 Bug Fixes¶
- Lookup error issue #228.
🧰 Maintenance¶
- Migrated to use ruff instead of flake8/black
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 latest versions.
v2.1.1 🌈¶
🐛 Bug Fixes¶
- Support for valkey sentinel configuration @amirreza8002 (#191)
- Fix issue with task being scheduled despite being already scheduled #202
v2.1.0 🌈¶
🚀 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 inrqworker
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.
v1.3.4 🌈¶
🧰 Maintenance¶
- Update dependencies to latest versions
v1.3.3 🌈¶
🐛 Bug Fixes¶
- Fix issue of django generating a new migration when settings.SCHEDULER_QUEUES is changed #119
v1.3.2 🌈¶
v1.3.1 🌈¶
🐛 Bug Fixes¶
- Fix workers' page when there are no queues #83
🧰 Maintenance¶
v1.3.0 🌈¶
🚀 Features¶
- Add to CronTask and RepeatableTask counters for successful/failed runs.
🧰 Maintenance¶
- Support for django 5.0
- Update homepage url @dirkmueller (#65)
v1.2.4 🌈¶
🐛 Bug Fixes¶
- Fix for non-existent task @gabriels1234 (#62)
🧰 Maintenance¶
- Use rq
fetch_many
v1.2.3 🌈¶
🐛 Bug Fixes¶
- Fix When a job fails it becomes unscheduled #45
v1.2.1 🌈¶
🐛 Bug Fixes¶
- Fix infinite loop on callback calling is_scheduled() #37.
v1.2.0 🌈¶
🚀 Features¶
- Rename
*Job
models to*Task
to differentiate.
v1.1.0 🌈¶
🚀 Features¶
- Enable using stats view using api token
- Reverted, active jobs are not marked as scheduled as there is currently no new job instance for them.
🐛 Bug Fixes¶
v1.0.2 🌈¶
🧰 Maintenance¶
- Update dependencies
🐛 Bug Fixes¶
- Add missing migration and check for missing migrations
v1.0.1 🌈¶
- Update dependencies
- Remove redundant log calls
v1.0.0 🌈¶
- Migrated from django-rq-scheduler