Releases: richardsheridan/trio-parallel
Releases · richardsheridan/trio-parallel
Feature Release
Features
- Advertise support for Python-3.13, although no code changes were made to support it. (#434)
- Add
kill_on_cancel
kwarg torun_sync
. The aliascancellable
will remain indefinitely. (#437) - Add
cache_scope()
, an async context manager that can override the behavior oftrio_parallel.run_sync()
in a subtree of your Trio tasks with an implicitWorkerContext
. (#455)
Deprecations and Removals
Bugfix release
Bugfix release
Bugfixes
- Fix a regression induced by trio-0.27.0 that causes worker contexts to crash on exit if they happen to wait for jobs to finish. (#432)
Bugfix release
Bugfix release
Feature release
Feature release
Features
- Add type hints for
run_sync
(#322) - Use
tblib
to enable pickling of tracebacks between processes. Mainly, this preserves context of exceptions including chained exceptions. (#323)
Bugfixes
- Prevent Ctrl+C from inducing various leaks and inconsistent states. (#239)
- Cleaned up names/qualnames of objects in the trio_parallel namespace. (#291)
Deprecations and Removals
- Removed python 3.6 support (#236)
Major Release
Bugfixes
- Fixed a hang on failed worker subprocess spawns that mostly occurred upon accidental multiprocessing recursive spawn. #167
- Fixed a hang on Windows when trying to use
WorkerContext.run_sync
in sequential and concurrent Trio runs. #171
Improved Documentation
- Revamped documentation with tested examples. #168
Prerelease Postrelease
Updates trove classifiers and loosens CFFI requirement.
Feature Prerelease
With this release I consider the project "feature complete" although, as a beta release still, I would be open to PRs for new features with a strong motivation.
- Added an API to view statistics about a
WorkerContext
, specifically countingidle_workers
andrunning_workers
. #155