Changelog¶
All notable changes to this project will be documented in this file.
This project adheres to Calendar Versioning.
The first number of the version is the year. The second number is incremented with each release, starting at 1 for each year. The third number is for emergencies when we need to start branches for older releases.
26.1.0 (2026-03-31)¶
TaskGroupsandquattro.gather()now supportconcurrency_limitto limit the number of tasks that run in parallel. (#29)defer()now also supportsenter_contextfor sync context managers. (#23)defer()now properly preserves the coroutine function signature. (#23)Add support for Python 3.14. (#27)
Drop support for Python 3.9 and introduce
pytest-typing-based type tests. (#32)
25.2.0 (2025-03-06)¶
25.1.1 (2025-02-24)¶
Change a
sys.version_infoguard to work better with Pyright. (#17)
25.1.0 (2025-02-21)¶
TaskGroups now support background tasks via
TaskGroup.create_background_task(). (#10)Add support for Python 3.13. (#9)
Depend on the taskgroup package on Python 3.9 and 3.10, instead of our own implementation. (#11)
quattro now has 100% branch coverage. (#16)
24.1.0 (2024-05-01)¶
Add Trove classifiers.
Add
namekeyword-only parameter toTaskGroup.create_task(). (#8)
23.1.0 (2023-11-29)¶
Introduce
quattro.gather(). (#5)Add support for Python 3.12.
Switch to PDM.
22.2.0 (2022-12-27)¶
More robust nested cancellation on 3.11.
Better typing support for
fail_after()andfail_at().Improve effective deadline handling for pre-cancelled scopes.
TaskGroups now support custom ContextVar contexts when creating tasks, just like the standard library implementation.
22.1.0 (2022-12-19)¶
Restore TaskGroup copyright notice.
TaskGroups now raise ExceptionGroups (using the PyPI backport when necessary) on child errors.
Add support for Python 3.11, drop 3.8.
TaskGroups no longer have a
nameand therepris slightly different, to harmonize with the Python 3.11 standard library implementation.TaskGroups no longer swallow child exceptions when aborting, to harmonize with the Python 3.11 standard library implementation.
Switch to CalVer.
0.3.0 (2022-01-08)¶
Add
py.typedto enable typing information.Flesh out type annotations for TaskGroups.
0.2.0 (2021-12-27)¶
Add
quattro.current_effective_deadline().
0.1.0 (2021-12-08)¶
Initial release, containing task groups and cancellation scopes.