v5.7.0
Celery 5.7.0
We're pleased to announce Celery 5.7.0, a new stable release of Celery.
This release brings substantial improvements to task workflows, worker reliability, result handling, scheduling, and broker connectivity. It also includes new integrations, improved Python compatibility, performance optimizations, and a large number of bug fixes contributed by the community.
A significant part of this release focuses on making complex Canvas workflows more reliable and efficient, improving worker behavior during broker disconnections and shutdown, and making result-backend state handling more consistent.
Highlights
- More reliable Canvas workflows: Improved chains, groups, chords, nested workflows, callbacks, errbacks, and failure propagation. Several fixes also reduce unnecessary message growth in complex chains and chords.
- Improved worker reliability: Better connection recovery, graceful shutdown, prefork process management, autoscaling, and handling of worker-process loss.
- More predictable task results: Improved result-state consistency, retry handling,
ignore_resultbehavior, and concurrentAsyncResulttracking. - Timezone and scheduling improvements: More reliable ETA, countdown, expiration, crontab, solar schedules, and Celery Beat behavior across daylight-saving-time transitions.
- New Pydantic integration behavior: Tasks configured with
pydantic=Truecan accept Pydantic model instances. …