All Versions
10
Latest Version
Avg Release Cycle
68 days
Latest Release
2830 days ago
Changelog History
Changelog History
-
v1.0.0 Changes
July 26, 2016- โ 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
-
v0.8.2 Changes
July 13, 2016- Prevent memory leaks when calling _request()
- ๐ Prevent JSON parse error on _get
-
v0.8.1 Changes
November 17, 2015- ๐ Fixed #20 Using the client/hub with
file://
now works
- ๐ Fixed #20 Using the client/hub with
-
v0.8.0 Changes
September 01, 2015- 0๏ธโฃ Increase default timeout to 5000ms
- Client message listener ignores non-string data
-
v0.7.0 Changes
June 08, 2015- โ Added support for AMD and CommonJS
๐ป Now works with browserify, ex:
var CrossStorageClient = require('cross-storage').CrossStorageClient;var CrossStorageHub = require('cross-storage').CrossStorageHub;
-
v0.6.1 Changes
March 09, 2015๐ Fixed support for relative protocols in IE.
// BeforeCrossStorageClient._getOrigin('//example/hub.html')// => "://example"// AfterCrossStorageClient._getOrigin('//example/hub.html')// "https://example"
-
v0.6.0 Changes
March 05, 2015- ๐ 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.
-
v0.5.1 Changes
December 23, 2014- ๐ Use window.location's origin if passed a relative path
-
v0.5.0 Changes
December 10, 2014- โ Added clear()
- No longer append version number to distributed JS file names
-
v0.4.1 Changes
November 20, 2014- Client now ignores invalid JSON messages