Skip to content

Releases: jherax/proxy-storage

2.3.2

20 Sep 22:51
Compare
Choose a tag to compare

Improvements

  1. Added an optional parameter to getItem(key, noParse) method to determine if the value shouldn't be parsed with JSON.parse

2.3.0

05 Jul 19:52
Compare
Choose a tag to compare

Improvements

  1. Upgraded to Webpack 3, ESLint 4.
  2. Refactored and decoupled inner modules.

2.2.0

21 Jun 23:36
Compare
Choose a tag to compare

Improvements

  1. Allow memoryStorage to be the default fallback for sessionStorage

2.1.3

24 Apr 22:55
Compare
Choose a tag to compare

Improvements

  1. Allow storing secure cookies (HTTPS). The property secure is available through the options parameter for setItem() and removeItem()

2.1.2

21 Apr 22:13
Compare
Choose a tag to compare

Improvements

  1. Added the options parameter to the API method removeItem(), in order to allow passing metadata to the cookie to delete. When using "cookieStorage" the new signature is: instance.removeItem(key, options)
  2. When calling setItem(), checks if the cookie was created, or deletes it if the domain or path are not valid.

2.1.1

21 Apr 01:11
Compare
Choose a tag to compare

Fixes

  1. #4: Removing cookies are failing when the domain or path were set in the cookie.
  2. setItem: prevents converting strings values to JSON to avoid extra quotes.

2.1.0

19 Apr 23:54
Compare
Choose a tag to compare

Features

  1. Added the domain to the cookieStorage options.

2.0.2

27 Feb 20:43
Compare
Choose a tag to compare

Improvements

  1. Project migrated to Webpack 2.

2.0.1

12 Dec 19:07
Compare
Choose a tag to compare

Fixes

  1. #3: Error trying to get an item from storage.

2.0.0

02 Dec 20:05
Compare
Choose a tag to compare

Breaking changes

This version bumps to major because the old method .isAvaliable is renamed to .isAvailable

Improvements

  1. Validates the availability of the storage mechanism when a new instance is created. If the requested storage is not available, then the first available storage is used.