Releases: alien45/superutils
Releases · alien45/superutils
@superutils/store: enhance context handling and add write-operation validators
- Introduce validator callback functions for pre-persistence checks.
- Moved
nameto options increateStoreandcreateObjectStore. - Improve context handling in
createStoreand update documenentations - Refactor
Storeinitialization:- Assign
localStoragebefore checking its availability ininit(). - Ensure consistent naming for RxJS
subject$property.
- Assign
- Update documentation across packages:
- Fix typos in store documentation.
- Add 'store card' to the documentation homepage.
- Update all package READMEs to mention the example code playground in docs links.
- Combine removed deferred example in
coreREADME. - Fix duplicate Table of Contents anchor
@superutils/store@0.1.17: Added optional validator hooks and other minor changes
- added signature without "name" parameter to
createStoreandcreateObjectStorefactory methods for in-memory storage - added optional validator hooks for all functions that lead to a storage write operation:
clear,delete,set,setAllandwrite - added & updated test cases
- updated docs
@superutils/core initial release
@superutils/core is a generic, reactive, persistent and fully-typed Map-like data store with advanced search, filtering, and sorting capabilities.
NPM:
https://www.npmjs.com/package/@superutils/store
Full documentation (with example code playground):
https://alien45.github.io/superutils/packages/@superutils/store/