Skip to content

Releases: codecubers/web-client-store

Cleanup

06 Jan 22:25

Choose a tag to compare

Some much needed code cleanup
Versioned dist/ folder for better comparison

v2.0.3 - CacheStorage

25 Dec 14:04

Choose a tag to compare

With CachceStorage class now we can have a way of caching/uncaching responses saved in Indexed storage.

Support all localforage properties; sanity check key

15 Dec 12:36

Choose a tag to compare

Added additional support to Index db (localforage) to support all other properites:

  • clearAsync() - to clear all keys at once
  • lengthAsync() - to get the length of the keys
  • getKeyAtAsync() - get a key by it's index
  • getAllKeysAsync() - get all keys
  • forEachAsync() - iterate over all the keys

Also, added sanity check for supplied key value in all the storage classes. A key 'undefined' cannot be stored anymore.

SessionStorage property issue fix

02 Dec 02:54

Choose a tag to compare

Using correct properties for sessionStorage and also added .clear() method.

Typescript & IndexDb support

30 Nov 19:19

Choose a tag to compare

Initial design of centralized const of all methods is bit clunky and hence re-wrote entire library using Typescript (inspiration from repo davutg/client-store) and exposed each storage class in an individual class.

Types of Session and IndexDb properties

28 Nov 21:12

Choose a tag to compare

Added type definitions for missing Session storage and indexDB properties

Cookies and Local Storage

28 Nov 20:49

Choose a tag to compare

Though all four types of storage (Cookies, Local Storage, Session, IndexDB) are supported in store.js, the types are only available for Cookie and Local Storage in this first release. In upcoming release all storage types will be type supported.