Releases: chrisguidry/docket
0.17.9 - READ ME
What's Changed
- Fix flaky test_task_duration_is_measured on Windows by @chrisguidry in #345
- Bump the all-dependencies group with 5 updates by @dependabot[bot] in #344
- Migrate docs hosting from GitHub Pages to ReadTheDocs by @chrisguidry in #347
- Fix README doc subpage URLs for RTD's /en/latest/ prefix by @chrisguidry in #348
- Point PyPI homepage to docket.lol by @chrisguidry in #349
Full Changelog: 0.17.8...0.17.9
0.17.8
What's Changed
- Clear
knownfrom runs hash on cancel so add() can reschedule by @chrisguidry in #336 - Handle AlreadyExists race in cluster image build by @chrisguidry in #337
- Serialize cluster image builds and split CLI tests into separate CI job by @chrisguidry in #338
- Fix high CPU on Windows memory:// backend and add Windows CI by @chrisguidry in #340
- Support redis-py 7.2.0 and bump CI to Redis 8.6 by @chrisguidry in #342
- Migrate docs from mkdocs-material to Zensical by @chrisguidry in #343
Full Changelog: 0.17.7...0.17.8
0.17.7 - The whole universe, just Lua scripts all the way down.
What's Changed
- Bump the all-dependencies group with 2 updates by @dependabot[bot] in #333
- Don't let _mark_as_terminal clobber Perpetual successor state by @chrisguidry in #335
Full Changelog: 0.17.6...0.17.7
0.17.6 - Perpetual: The Next Generation
What's Changed
-
Fix Perpetual rescheduling race condition by @chrisguidry in #331
-
Batch dependency updates by @chrisguidry in #319
-
Batch dependency updates by @chrisguidry in #327
-
Group Dependabot updates into single PRs by @chrisguidry in #328
-
Bump the all-dependencies group with 9 updates by @dependabot[bot] in #329
Full Changelog: 0.17.5...0.17.6
0.17.5 - In the zone
What's Changed
Full Changelog: 0.17.4...0.17.5
0.17.4 - I love it when a plan comes together
Big thanks to @omikader who's been a partner in thinking through some big refactorings, culminating in a very clean addition of a new Cron dependency!
from docket.dependencies import Cron
async def hourly_session_cleanup(cron: Cron = Cron("15 * * * *")):
... clean up user sessions at the :15 mark of every hour ...
# @daily is equivalent to "0 0 * * *" (midnight every day)
async def daily_report(cron: Cron = Cron("@daily")):
... run the daily report ...Cron dependencies default to automatic=True (so they just automatically get scheduled for their next appropriate run) but you can disable them if you want more control by setting automatic=False.
What's Changed
- Add internal state invariant tests and reorganize test directories by @chrisguidry in #310
- Add Cron dependency for cron-style task scheduling by @omikader in #311
New Contributors
Full Changelog: 0.17.3...0.17.4
0.17.3 - Let it goooo
What's Changed
- Fix memory leak in _tasks_by_key cleanup by @chrisguidry in #309
Full Changelog: 0.17.2...0.17.3
0.17.2 - Bonds Instantly!
That persistent memory leak may just be fixed 🙏!
But there are a lot of other goodies here, with a major refactoring of the Worker to move more hard-coded behavior into dependencies! Retries, perpetuals, timeouts, and concurrency limiting are all now driven entirely by their dependencies, with a well-defined interface to the Worker that keeps the worker simpler and leaner while enabling more extension by user code.
What's Changed
- Unify cancellation and cleanup handling by @chrisguidry in #296
- Introduce Runtime base class for execution-controlling dependencies by @chrisguidry in #298
- Add FailureHandler and CompletionHandler base classes for dependency hooks by @chrisguidry in #299
- Fix memory leak in fakeredis Lua script execution by @chrisguidry in #300
- Batch dependency updates by @chrisguidry in #306
- Extract container management from conftest.py to _container.py by @chrisguidry in #307
- Add logging to Docker image retry by @chrisguidry in #308
Full Changelog: 0.17.1...0.17.2
0.17.2b3
What's Changed
- Fix memory leak in fakeredis Lua script execution by @chrisguidry in #300
Full Changelog: 0.17.2b2...0.17.2b3
0.17.2b2
What's Changed
- Introduce Runtime base class for execution-controlling dependencies by @chrisguidry in #298
- Add FailureHandler and CompletionHandler base classes for dependency hooks by @chrisguidry in #299
Full Changelog: 0.17.2b1...0.17.2b2

