svelte-writable-derived
Advanced tools
Changelog
3.1.1 (April 3, 2024)
derived
(#25)In Svelte 5, this package does not use runes and continues to use the original writable store interface, which is not deprecated. I may release a separate package that uses runes.
Changelog
3.1.0 (June🏳️🌈 14, 2023)
update
callback to your derive
callbackWith this release, I am committing to supporting Svelte v4 through its prereleases and beyond! If this is helpful for you, tip the maintainer!
Changelog
2.1.6 (December 24🎄, 2022)
No behavior changes.
reflect
Changelog
3.0.1 (published as @next
December 24🎄, 2022; @latest
January 11, 2023)
reflect
now has only one form with signature (reflecting, old)
. It can no longer set origins asynchronously. (#23)origins
is an array, values returned by reflect
must be compatible with its stores, just as when origins
is a single store (#19)writableDerived
is reduced from 8 to 2 signatures, making TypeScript error messages more useful(Version 3.0.0 introduced the above changes but lacked some updates to readme example code and the JSDocs.)
Changelog
2.1.4 (June🏳️🌈 22, 2022)
derive
not getting called when an origin was set by its own subscription in response to reflect
(#18)set
method from Svelte's Writable
typereflect
to help TypeScript choose the correct writableDerived
overloadorigins
is an array, the type reflect
can set with has been loosened to any[]
. This is a temporary measure to reduce undecipherable TypeScript errors.propertyStore
are no longer required to have an update
methodChangelog
2.1.2 (November 14, 2021)
reflect
not getting the latest value after a subscription updates its own store in Svelte >=3.6.9 (#13)propertyStore
accepts numerical propName
s (though this is newly-documented, it's in a SemVer-patch release to indicate it's worked since 2.1.0) (#12)Changelog
2.1.1 (November 22, 2020)
No behavioral changes.