Skip to content

0.9.0

Choose a tag to compare

@x42005e1f x42005e1f released this 16 Jul 17:17
· 70 commits to main since this release
1ddd84a

Changed

  • Checkpoint functions are now always called before queue operations are performed (previously they were called after). This ensures that all queue methods behave as expected on cancellations, but it may increase the number of explicit context switches.
  • The build system has been changed from setuptools to uv + hatch. It keeps the same pyproject.toml format, but has better performance, better logging, and builds cleaner source distributions (without setup.cfg).
  • The version identifier is now generated dynamically and includes the latest commit information for development versions, which simplifies bug reporting. It is also passed to archives generated by GitHub (via .git_archival.txt) and source distributions (via PKG-INFO).

Fixed

  • For asynchronous checkpoints, aiologic.lowlevel.checkpoint() was used, which has been declared deprecated in the latest version of aiologic.
  • With checkpoints enabled (trio case by default), the get methods could lose items on cancellations, and for the put methods, it was impossible to determine whether the put was successful or not on the same cancellations (0.2.1 regression).