Skip to content

Releases: alien45/superutils

@superutils/store: enhance context handling and add write-operation validators

14 Jun 21:30

Choose a tag to compare

  • Introduce validator callback functions for pre-persistence checks.
  • Moved name to options in createStore and createObjectStore.
  • Improve context handling in createStore and update documenentations
  • Refactor Store initialization:
    • Assign localStorage before checking its availability in init().
    • Ensure consistent naming for RxJS subject$ property.
  • 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 core README.
    • Fix duplicate Table of Contents anchor

@superutils/store@0.1.17: Added optional validator hooks and other minor changes

07 Jun 06:44

Choose a tag to compare

  • added signature without "name" parameter to createStore and createObjectStore factory methods for in-memory storage
  • added optional validator hooks for all functions that lead to a storage write operation: clear, delete, set, setAll and write
  • added & updated test cases
  • updated docs

@superutils/core initial release

05 Jun 23:15

Choose a tag to compare

@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/