Repository navigation
v0.4.0
Pre-release
Pre-release
Release 0.4.0
✨ New Features
-
Defer & Recall for Context
States can now postpone processing of an incoming message usingcontext.defer()and later resume withcontext.recall().
This enables advanced workflows such as multi-step authentication flows where incomplete inputs can be held until sufficient data arrives.- Added
defer()andrecall()methods toContextABC - Added
notify_income_deferred/notify_income_recalledhooks toStateMachineSubscriber - Updated all state machine implementations to support deferred message queues
- Added tests and examples for defer/recall patterns
- Added
🛠 Fixes
- Fixed
test_anyio.pymypy false-positive issue - Fixed context manager & return handling
📚 Documentation
- Updated README to highlight the new
defer&recallfeatures
📦 Dependency Updates
- Bump
pytest-asynciofrom 1.0.0 → 1.1.0 - Bump
rufffrom 0.12.7 → 0.12.11 - Bump
typing-extensionsfrom 4.14.1 → 4.15.0 - Bump
anyiofrom 4.9.0 → 4.10.0