Repository navigation
26.1a5
Pre-release
Pre-release
Highlights
- Tracing, APM and error tracking: integrations for OpenTelemetry (also Logfire and
Datadog), Sentry (errors, tracing, opt-in Crons) and New Relic, with trace context carried
from.delay()into the task, and apotatoq.instrumentationAPI for your own. - Eager mode respects transactions: with
task_always_eager,.delay()inside a
transaction runs the task when it commits, as a worker would see it. - Django deploy check (
manage.py check --deploy) for tasks workers can't import,
and a warning whenCELERY_BEAT_SCHEDULERstill points at django-celery-beat.
Changes
- Tests: connect the consumer before timing a broker-held ETA
- Eager mode: run .delay() inside a transaction when it commits, like a worker
- Django: deploy check for tasks that workers can't import
- Celery guide: django-celery-results/beat, concrete cutover steps and scripts to move leftover tasks
- Test the deploy check with workers that import the URLconf
- Add OpenTelemetry, Sentry and New Relic integrations with distributed tracing
- Django: use the memory broker for an in-memory SQLite database, not ./potatoq.sqlite3
- Django: close the async ORM's connections around async def tasks
- drain() and tick() import task modules like a starting worker
- Add a guide for migrating from schedule (and APScheduler)
- Sentry docs: Crons is opt-in; show how to monitor only some entries
Full Changelog: 26.1a4...26.1a5
Contributors
Thank you to everyone who contributed to this release: @anze3db