Releases: facebookincubator/later
Releases · facebookincubator/later
23.11.30
Added the herd
decorator to later.task
- This decorator allows you to protect code from a thundering herd of coroutines. Only one call with the same arguments will be allowed through until the request is completed. In the future I will include some memorization decorators for caching results of coroutines.
Also included Support for cpython 3.11 and 3.12. Next release will drop support for 3.7
Also this is the first release using pyproject / flit
After 3.8 use the stdlib instead of unittest backports
use stdlib instead of backports after 3.8 Summary: Later was built on backports from 3.8 to give us features even while using 3.7. When we moved to 3.8 we kept them because I wasn't exactly sure at the time that all the fixes we baked into 3.8 async_mock had made it into the stdlib 3.8 yet. Well if the version of python is greater than 3.8 lets just use the stdlib Bumping version so we can release to pypi Differential Revision: D43885595 fbshipit-source-id: d5e1ca89984b818c512cea48e9dee0ebc9040b3a
Updated later.cancel()
This new version of cancel is built to properly follow the asyncio cancellation contract. This version has been running at Meta for quite a while. The changes were initially discovered while preparing for the pycon.us talk https://www.youtube.com/watch?v=XW7yv6HuWTE
20.10.1
20.2.1
20.2.0
Initial PyPI release of later