Repository navigation
Releases
Releases · carere/solux
v4.1.0
Highlights
- Add explicit, idempotent
store.dispose()and enhanceronDisposecleanup for store subscriptions and per-store Redux DevTools connections. - Harden Redux DevTools support: safe initialization without browser globals, detached state snapshots, stable RESET/import baselines, and suppression of late callbacks after disposal.
- Add English/French documentation with public-package examples, request-scoped SSR language handling, and a persisted language preference.
Packaging and tooling
- Move the public package into
packages/soluxin a private Bun/Moon workspace, preserving the@carere/soluxpackage name and exports. - Declare the DevTools extension and its compatible Redux 4 type peer as package dependencies.
- Verify packed declarations and runtime behavior in isolated strict TypeScript consumers, alongside server/browser library tests and website browser regressions.
- Publish through a reviewed manual workflow using npm trusted publishing and provenance.
Lifecycle usage
The store creator owns disposal. Unmounting SoluxProvider does not dispose the store, and disposal does not cancel epics, timers, or middleware side effects. Create fresh slices and nested state for independent stores or SSR requests.
Install
bun add @carere/solux@4.1.0npm package · Verified publication workflow · Full changelog
4.0.1 (2025-03-25)
Fixes
- adding main & types to package.json + updating ci
- add main & types to package.json
4.0.0 (2025-03-25)
Breaking Changes
- adding updaters, devtools & middlewares
Features
- adding devtools as an enhancer to the store
- adding middleware & observable middleware
- finishing enhancers & middlewares
Fixes
- add middlewares & enhancers to the build