17.0.1
We're thrilled to announce the official stable release of signalstory version 17.0.1 — a monumental leap forward in our journey! 🎉 This release, comes with long-term support, and promises a robust and dependable experience for our users. 🌟
What's Changed
- Introducing testing utilities in #32
- Improved Docs in #33
- Upgrade to angular 17 in #34
- Remove cloneAndMutateFunc due to deprecation in #35
Breaking changes
cloneAndMutateFunc
has been removed fromImmutableStoreConfig
. You have to usemutationProducerFn
as of now.
Migration
- Simply install [email protected]
- No breaking changes except for the removal of
cloneAndMutateFunc
which has been declared asdeprecated
in earlier versions - What about
mutate
?
Starting from Angular version 17, themutate
feature has been removed from the signal public API (read more). Additionally, the base equality function for signals has been changed, as now signal updates will trigger a notification only when the actual reference of the value object changes (applicable if the signal value is not primitive). While signalstory will continue to provide the mutate method, starting from version 17, mutate will implicitly create a shallow copy for the mutation, ensuring that consumers receive notifications.
Remark about [email protected]
Accidentally, the peer dependencies of signalstory for angular were not updated to angular 17 before publishing to npmjs. This has been fixed with [email protected]
Full Changelog: 0.1.3...17.0.1