Skip to content

Tags: jbpin/sinux

Tags

v2.0.4

Toggle v2.0.4's commit message
fix: make combine().state a getter so it reflects current state

The state property was assigned once at creation and never updated,
causing stale reads (e.g. hasHydrated staying false after hydration).
Use a getter that returns the live combined value.

Bump all packages to v2.0.4.

v2.0.3

Toggle v2.0.3's commit message
fix: synchronous state change notification for React compatibility

Store.subscribe() now uses a dedicated synchronous listener set instead
of piping through Signal.dispatch() (which is async). This ensures
useSyncExternalStore receives synchronous notifications as required.

Also fixes combine() to use store.subscribe() instead of directly
adding to the changed Signal pipeline.

Adds test coverage for combine/useStores subscription behavior.

Bump all packages to v2.0.3.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v2.0.2

Toggle v2.0.2's commit message
fix: bump all packages to v2.0.2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v2.0.1

Toggle v2.0.1's commit message
fix: externalize use-sync-external-store/shim in ESM bundle

The ESM bundle for @sinuxjs/react was inlining CJS code from
use-sync-external-store/shim with unresolvable relative require() paths.
Mark it as external alongside the existing with-selector entry.

Bump to v2.0.1.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v2.0.0

Toggle v2.0.0's commit message
fix: add repository.url to all packages for npm provenance