Skip to content

v4.1.0

Latest

Choose a tag to compare

@carere carere released this 06 Nov 23:01
· 3 commits to main since this release
043036a

Highlights

  • Add explicit, idempotent store.dispose() and enhancer onDispose cleanup 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/solux in a private Bun/Moon workspace, preserving the @carere/solux package 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.0

npm package · Verified publication workflow · Full changelog