v0.10.1
Release notes from CHANGELOG.md for @async/flow@0.10.1 (2026-07-02).
Fixed
- Replaced Flow dispatch batching with dispatch-scoped batching so direct
mutations after awaited handlers stay attributed to the dispatch that owns
them, including concurrent dispatches. - Made whole-flow subscribers receive one named committed-state record after a
dispatch settles, including mutate-then-reject handlers. - Made
destroy()terminal and idempotent for Flow instance APIs, public refs,
async signals, subscriptions, timers, and Flow-owned async work while keeping
final-state reads available. - Prevented unhandled process failures from immediate async-signal loaders,
timer-driven dispatches, standaloneafter(...)tasks, abandoned
parallel(...)branch promises, and throwing scheduled subscribers. - Made async-signal restore cancel in-flight loads before applying hydrated
state. - Adopted live signal and status refs declared in stores instead of copying
them into split-brain Flow-owned refs. - Preserved composed transition and guard metadata so
can(...),
explain(...), builder output, and graph inspection stay truthful.
Changed
- Added strict TypeScript consumer checks to
typecheckfor root and exported
subpaths. - Added a helpers parity guard for
@async/flow/helpersand
@async/flow/helpers/core. - Documented stable public subpaths and removed
explainfrom importable
helper lists.
Release evidence
- Release type: stable
- Package profile: node-library
- npm pack files: 35
| File | Raw | Gzip | Brotli |
|---|---|---|---|
src/framework-runtime.d.ts |
7.6 KB | 1.5 KB | 1.3 KB |
src/framework-runtime.js |
50.3 KB | 9.8 KB | 8.6 KB |
src/index.d.ts |
1.6 KB | 606 B | 492 B |
src/index.js |
1.2 KB | 531 B | 444 B |
Diff links:
- src/framework-runtime.d.ts: https://github.com/async/flow/compare/HEAD%5E...v0.10.1?diff=unified#diff-src%2Fframework-runtime.d.ts
- src/framework-runtime.js: https://github.com/async/flow/compare/HEAD%5E...v0.10.1?diff=unified#diff-src%2Fframework-runtime.js
- src/index.d.ts: https://github.com/async/flow/compare/HEAD%5E...v0.10.1?diff=unified#diff-src%2Findex.d.ts
- src/index.js: https://github.com/async/flow/compare/HEAD%5E...v0.10.1?diff=unified#diff-src%2Findex.js
Source: CHANGELOG.md in tag v0.10.1.