Django-tasks-scheduler

Latest version: v3.0.2

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.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 a `SchedulerConfiguration` object to help IDE guide settings.
- `SCHEDULER_QUEUES` is now a list of `QueueConfiguration` objects to help IDE guide settings.
- Configuring queue to use `SSL`/`SSL_CERT_REQS`/`SOCKET_TIMEOUT` is now done using `CONNECTION_KWARGS` in
`QueueConfiguration`
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](./configuration.md).

3.0.2

🐛 Bug Fixes

- Fix issue updating wrong field 233

3.0.1

🐛 Bug Fixes

- Lookup error issue 228.

🧰 Maintenance

- Migrated to use ruff instead of flake8/black

3.0.0

Breaking Changes

- Renamed `REDIS_CLIENT_KWARGS` configuration to `CLIENT_KWARGS`.

🚀 Features

- Created a new `Task` model representing all kind of scheduled tasks.
- In future versions, `CronTask`, `ScheduledTask` and `RepeatableTask` will be removed.
- `Task` model has a `task_type` field to differentiate between the types of tasks.
- Old tasks in the database will be migrated to the new `Task` model automatically.

🧰 Maintenance

- Update dependencies to latest versions.

2.1.1

🐛 Bug Fixes

- Support for valkey sentinel configuration amirreza8002 (191)
- Fix issue with task being scheduled despite being already scheduled 202

2.1.0

🚀 Features

- Support for custom job-class for every worker, using `--job-class` option in `rqworker` 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.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.