Releases: RealOrangeOne/django-tasks
Releases · RealOrangeOne/django-tasks
0.6.1
What's Changed
- Fix README for
.exception_class
by @tomkins in #128 - Add a task_name property to DBTaskResult by @tomkins in #127
- Allow ./manage.py without args by @jonatron in #130
- Ensure return value is correctly exposed using database backend by @RealOrangeOne in 22d51b3
New Contributors
Full Changelog: 0.6.0...0.6.1
0.6.0
What's Changed
- Add explicit support for Python 3.13 by @RealOrangeOne in #112
- Don't enforce UUIDs for task ids by @RealOrangeOne in #120
- (breaking) Rename "completed" tasks to "succeeded" by @RealOrangeOne in #119
- (breaking) Simplify exception serialization to avoid issues with complex exceptions by @RealOrangeOne in #121
- (breaking) Remove support for
timedelta
forrun_after
Full Changelog: 0.5.0...0.6.0
0.5.0
What's Changed
- Update result to have separate attributes for return value and exception by @RealOrangeOne in #103
- Prevent writing to task results by @RealOrangeOne in #106
- Add additional test cases for process management by @RealOrangeOne in #88
- Add Django 5.1+ support for
CheckConstraint condition
with backward compatibility by @saJaeHyukc in #108 - Separate return value and exception attributes for task results
- Add task enqueued and finished signals
- Freeze
Task
class - Ensure
enqueued_at
is updated when the task is enqueued - Add
--no-startup-delay
option to worker to disable initial pause as process starts up - Don't mark tasks as failed when pressing ctrl-c using
ImmediateBackend
.
New Contributors
- @saJaeHyukc made their first contribution in #108
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- Swallow and log any BaseException in ImmediateBackend other than KeyboardInterrupt by @jhthompson in #81
- Hard stop worker by sending ctrl-c twice by @mgax in #86
- Allow fractional interval argument for database worker by @mgax in #83
- Close connections after each task by @RealOrangeOne in #89
- Add configurable transaction management by @RealOrangeOne in #57
- Set default ordering for Task Results admin (#93) by @bmihelac in #97
- Only sleep if there are no tasks by @mgax in #91
- Mark ResultStatus labels and DBTaskResult fields for translation (#94) by @bmihelac in #96
- Add Django 5.1 support by @RealOrangeOne in #98
- Add management command to prune finished tasks by @RealOrangeOne in #60
- Improve typing of
default_task_backend
by @RealOrangeOne
New Contributors
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
- Remove close method by @knyghty in #61
- Run tests on Windows and macOS by @RealOrangeOne in #65
- Add task starting datetimes to TaskResults by @vidski in #67
- Store task exceptions by @RealOrangeOne in #68
- Define priority range and semantics by @RealOrangeOne in #70
- Test and improve concurrency by @RealOrangeOne in #69
- Traceback serialization by @ksamuel in #75
Bug fixes
- Raise correct error when refreshing DB tasks
- Validate the modified task when calling
using
- Fix concurrency issues on SQLite, which could result in tasks being executed multiple times (#33)
New Contributors
- @knyghty made their first contribution in #61
- @vidski made their first contribution in #67
- @ksamuel made their first contribution in #75
Full Changelog: 0.2.0...0.3.0
0.2.0
What's Changed
- Use modules in justfile by @pauloxnet in #43
- Add extras for database dependencies by @pauloxnet in #41
- Update git action versions by @pauloxnet in #45
- Using the DEFAULT_TASK_BACKEND_ALIAS constant by @dennisstritzke in #36
- Adding completion datetimes to the TaskResults by @dennisstritzke in #49
- Adding a check that ensures the app required for the database backend… by @dennisstritzke in #53
- Fix thundering herd typo by @jhthompson in #56
- Support task decorator without arguments by @jhthompson in #55
- Fix excessive CPU usage when no tasks in queue
- Improve support for zero interval
- Fix logging configuration - logs are actually shown now!
- Add basic retries to core update mechanisms
- Improve protections against missing or invalid tasks
New Contributors
- @pauloxnet made their first contribution in #43
- @jhthompson made their first contribution in #56
Full Changelog: 0.1.1...0.2.0
0.1.1
Fixes an issue of a missing migration to change verbose_name
for the database backend. There should be no other changes in functionality.
Full Changelog: 0.1.0...0.1.1
0.1.0
What's Changed
- Allow tasks to be called directly
- Add caution about SQLite concurrency
- Fixup badges in the README by @sobolevn in #4
- Database backend by @RealOrangeOne in #3 🚀
- Removing the mail backend by @dennisstritzke in #34
- Add
django-stubs
dependency by @dennisstritzke in #32 - Basic check() infrastructure by @jurecuhalev in #37
- Implemented basic django admin view for DBTaskResult by @jurecuhalev in #35
New Contributors
- @sobolevn made their first contribution in #4
- @dennisstritzke made their first contribution in #34
- @jurecuhalev made their first contribution in #37
Full Changelog: 0.0.0...0.1.0
0.0.0
Initial release 🥳
This is just to get something out there, as opposed to something which is fully tested and working. At this time, the package should be considered "early alpha".