Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.42 KB

CHANGELOG.md

File metadata and controls

65 lines (37 loc) · 1.42 KB

1.0.4

Improvements

  1. Interceptors now interact with the values in the API methods setItem and getItem. Read more about interceptors.

1.0.3

Fixes

  1. Fixed #2: Getting an error when retrieving nonexistent item from cookieStorage

1.0.2

Improvements

  1. WebStorage instances are singletons by storage mechanism, in order to keep consistency of the data stored.

Fixes

  1. Fixed #1: Storages have no existing elements when they are instantiated the first time

1.0.0

Features

  1. Added keys and length to the WebStorage instances.

Breaking changes

The method setItem has changed its signature when the storage mechanism is set to "cookieStorage"
See more documentation here.

New signature

setItem (key {string}, value {any}, options {object});

Old signature

setItem (key {string}, value {any}, expires {number}, path {string});

0.3.0

Features

  1. Added the static method WebStorage.interceptors()

0.2.0

Improvements

  1. Added eslint-config-google
  2. Added eslint-loader to webpack
  3. Added clean-webpack-plugin to webpack

0.1.0

Improvements

  1. Added webpack as module bundler
  2. Webpack outputs the library as UMD module (global: proxyStorage)