Skip to content

Releases: zendesk/cross-storage

1.0.0

26 Jul 04:56
Compare
Choose a tag to compare
  • Removed TTL from the set operation, simplifying the API, and eliminating the need to store expiration metadata alongside values
  • cross-storage no longer encodes values as JSON, but stores the raw string value. This improves compatibility with other libraries using localStorage

0.8.2

13 Jul 21:38
Compare
Choose a tag to compare
  • Prevent memory leaks when calling _request()
  • Prevent JSON parse error on _get

0.8.1

17 Nov 04:11
Compare
Choose a tag to compare
  • Fixed #20 Using the client/hub with file:// now works

0.8.0

01 Sep 10:26
Compare
Choose a tag to compare
  • Increase default timeout to 5000ms
  • Client message listener ignores non-string data

0.7.0

08 Jun 07:22
Compare
Choose a tag to compare
  • Added support for AMD and CommonJS
  • Now works with browserify, ex:
var CrossStorageClient = require('cross-storage').CrossStorageClient;
var CrossStorageHub    = require('cross-storage').CrossStorageHub;

0.6.1

09 Mar 08:03
Compare
Choose a tag to compare
  • Fixed support for relative protocols in IE.
// Before
CrossStorageClient._getOrigin('//example/hub.html')
// => "://example"

// After
CrossStorageClient._getOrigin('//example/hub.html')
// "https://example"

0.6.0

05 Mar 08:24
Compare
Choose a tag to compare
  • Client and hub now post messages namespaced/prefixed with "cross-storage:". This is a breaking change in that this new version of client/hub cannot communicate with older versions.

0.5.1

23 Dec 22:09
Compare
Choose a tag to compare
  • Use window.location's origin if passed a relative path

0.5.0

10 Dec 23:58
Compare
Choose a tag to compare
  • Added clear()
  • No longer append version number to distributed JS file names

0.4.1

20 Nov 00:40
Compare
Choose a tag to compare
  • Client now ignores invalid JSON messages