All Versions
10
Latest Version
Avg Release Cycle
68 days
Latest Release
1827 days ago

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
  • 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