Changelog for @signaldb/svelte
[2.0.0] - 2026-10-27
Added
- Accepts
@signaldb/corev2 as a peer dependency, in addition to 1.x.
Fixed
- The package built a copy of all of
@signaldb/coreinto its owndist, and in doing so moved its entry points:dist/index.svelte.jsanddist/index.svelte.d.ts— the filespackage.jsonpoints at — were no longer produced, so importing the package resolved to nothing. This one builds withtscrather than vite and therefore has norollupOptions.external; the repository's TypeScript path mapping pointed@signaldb/coreat its sources, which pulled them into the compilation. The mapping is now cleared for this package, so core resolves to its published types like it does for any consumer. The output is back to two files and ~8 kB instead of 98 files and ~370 kB.
Changed
- Refactored
createto use a class-based object, and updatedonDisposeto support zero or multiple callbacks.
[1.1.1] - 2025-04-04
Fixed
- Guard
stopcall to preventTypeErrors in combination with persistence adapters
[1.1.0] - 2025-04-04
Changed
- Add
onDisposemethod to adapter and remove the need for manual cleanup (thanks @signalize!)
[1.0.0] - 2025-03-27
Added
- Initial release of
@signaldb/svelte. Thanks @ykrods for the contribution!