- correctly handle race condition when a task was assigned to two workers at the same time by locking. Thanks Avinash
- correctly handle race condition causing a completed task to be marked completed twice. Thanks Avinash
- Remove deprecated support for Python 3.6, add Python 3.10 and 3.11
- avoid having dangling tasks if the client disconnects while starting a new one. Thanks Avinash
- make class import easier, and document it
- check if
lease_timeout
is an actual number when we add a task, to avoid issues when we calculate the deadline later