1.4.0
coaction v1.4.0
This release includes core async-store improvements, compatibility fixes for the 1.x line, expanded browser E2E coverage, and a tooling refresh across the workspace.
Highlights
- Added
executeSyncTimeoutMstocoactionso async clients can control how long they wait for sequence catch-up before falling back tofullSync. - Preserved 1.x middleware and worker compatibility by keeping deprecated
patch,trace, andworkerTypehooks/options available while introducing
MiddlewareStoreas the preferred middleware-facing type. - Kept
sliceMode: 'auto'backward-compatible for object-of-functions inputs, while adding a development warning for that ambiguous shape and recommending explicitsliceModeusage. - Refactored
getRawStateinternals into smaller modules without intended behavior changes.
Testing and CI
- Expanded browser E2E coverage for middleware scenarios.
- Added real browser E2E coverage for Web Worker and Shared Worker flows.
- Wired browser E2E into the pull request workflow.
- Migrated the repo lint workflow to ESLint and removed the legacy TSLint config.
Package Notes
@coaction/logger- Updated middleware typings to align with
MiddlewareStorewithout changing runtime behavior.
- Updated middleware typings to align with
@coaction/react- Clarified the continued use of
use-sync-external-store/shimto keep a single build compatible with React 17, 18, and 19.
- Clarified the continued use of
- Other adapters and middleware packages
- Aligned peer dependency ranges with
coaction@^1.4.0.
- Aligned peer dependency ranges with
Upgrade Notes
- No breaking runtime changes are intended in the 1.x line.
- If you create stores from an object whose enumerable values are all functions, set
sliceModeexplicitly to avoid the new development warning. - If you use async client stores under heavy load, consider configuring
executeSyncTimeoutMsfor your transport latency profile.
Full Changelog: v1.3.0...v1.4.0