@preact/signals-core
1.14.5 · 27 Oct 2026MIT17.2M / weekRepositoryHomepagenpmAtom feed
1.14.5 is the newest release of 1.x.
In short
2 fixed
Release note
Patch Changes
Fix computeds returning stale values after a batch reverts a signal to its original value.
Reconciling a reverted batch write used to roll the signal's version number back, breaking version monotonicity. A lazy computed that read the signal during the batch had already observed the intermediate version, so a later write could re-mint that same version number for a different value and the computed would treat it as unchanged forever. Subscriber nodes that saw the pre-batch version are now fast-forwarded instead, keeping the no-op skip optimization without ever reusing version numbers.
Prevent model effect capture while creating effects inside
untracked()andaction()callbacks.If you create an
effect()inside anuntracked()callback within acreateModel()factory, that effect is no longer disposed when the model is disposed. Use the disposer returned byeffect()to clean it up manually.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.