Remotestorage.js Versions Save

⬡ JavaScript client library for integrating remoteStorage in apps

v1.0.2

6 years ago

Bugfixes

  • Fix Dropbox offline issues (#1102)

Enhancements

  • Refactorings and cleanups
  • Documentation fixes and improvements

v1.0.1

6 years ago

Bugfixes

Fix Dropbox throwing an error on failed requests (#1096)

v1.0.0

6 years ago

Upgrade notes

We published a guide for how to upgrade to rs.js 1.0 (from 0.14 or earlier). For most apps, this should take less than 15 minutes and is definitely worth the effort.

Breaking changes

  • All builds, including AMD/CommonJS and no-cache, are now rolled into one UMD build. (#951)
  • RemoteStorage.defineModule is no more, and both declaring modules and loading them in apps can now be done with a new, improved API. (#974)
  • The connect widget is not part of the core library anymore, but has moved to a seperate add-on library (#862)
  • Error events (e.g. unauthorized, sync error, etc.) are identified by name instead of type now (#984)
  • Network request timeouts are configured via the setRequestTimeout method on the RemoteStorage instance instead of setting RemoteStorage.WireClient.REQUEST_TIMEOUT (#983).
  • Deprecated method equalObj from RemoteStorage.util has been removed
  • setApiKeys takes a config object as argument to allow to configure multiple backends at once (#1021)
  • The sync events 'done' and 'req-done' are emitted by the remoteStorage instance instead of remoteStorage.sync as 'sync-done' and 'sync-req-done (#1044)
  • The network events 'wire-busy' and 'wire-done' are emitted by the remoteStorage instance instead of remoteStorage.remote (#1044)

Enhancements

  • Switch Dropbox adapter to use the Dropbox API v2 (#936)
  • Store data in Google Drive under "remotestorage" base dir (#962)
  • Use email address as user address when connected to Google Drive (#955)
  • Emit Unauthorized error on 401 responses (#1018)
  • Emit Unauthorized error with code "access_denied" when user denies access (#1018)
  • Add reconnect() method to retrieve new authorization (e.g. after it expired) (#1018)
  • startSync() returns the sync promise (#1036)
  • Emit ready, connected and not-connected events when registering an handler after they happened originally. (#1066)
  • Introduce ESLint, fix syntax and scope issues throughout the code (#1080)

Bugfixes

  • Fix sync errors after disconnect (#994)
  • Fix discovery problems in Internet Explorer (#1018)
  • Fix error when trying to delete last document in a directory (#993)
  • Fix Dropbox files not being deleted when they had been created in the same session (#1042)
  • Emit 'wire-busy' and 'wire-done' events when using Dropbox or Google Drive (#957)

0.14.0

7 years ago

Enhancements

  • Add network-offline and network-online events (#952)
  • Document remoteStorage.startSync() (#954)
  • Improve README.md a bit

Bugfixes

  • Fix widget not showing errors (#948)
  • Keep Dropbox client trying to sync when offline (#956)
  • Fix widget offline mode for Dropbox and Google Drive (#959)

0.13.0

7 years ago

Enhancements

  • Support Safari private browsing mode (#921)
  • Remove Bluebird dependency from AMD build (#917)

Bugfixes

  • Don't send empty state parameter in authorize URI (#908)
  • Fix authorization error when using remoteStorage in Cordova (#919)
  • Fix disconnect / initialization issues (#930)
  • Start sync automatically after calling configure (#885, #820)
  • Fix IndexedDB error on disconnect (#874)
  • Fix IndexedDB getting into inconsistent state (#882)
  • Fix getListing behaviour when called with invalid path (#932)
  • Fix unresolved promise when trying to retrieve non-existing file (#934)
  • Fix 3rd party backend initilization on first app load (#941)
  • Fix Dropbox adapter not hooking itself into sync on connect (#851)
  • Don't send change event if neither body nor content-type changed (#764)
  • Fix connecting account when localStorage is not available
  • Fix AMD build (#945)

Breaking Changes

  • Use common base directory for all remoteStorage data in Dropbox (#796)

0.12.1

8 years ago

Changelog

  • Use main repo for Bower (add bower.json, re-organize release dir, #901)
  • Make sure to support draft-05 style WebFinger responses (#899)
  • Update dependencies

0.12.0

8 years ago

New features

  • Make it possible to directly connect a remote storage from a program by calling connect() with an extra token parameter
  • Add support for remoteStorage authorization from within Cordova apps, using the in-app-browser Cordova plugin (contributed by Lewis Liu)

Enhancements

  • Update dependencies (notable: new output format for test suites)
  • When offline, ignore maxAge (with log) instead of failing (#868)
  • Refactor test invocation in Makefile, package.json and .travis.yml (#892)
  • Improved validation of Caching#set function arguments (#889)

Bugfixes

  • Fix syntax errors in ES6 strict mode (#872)
  • Reset IndexedDB database when opening fails (#882)

Experimental features

  • Change configuration keys for Dropbox and Google Drive
  • Documentation updates for Dropbox and Google Drive

0.11.2

9 years ago

Bugfixes

  • Fix usage of FileReader that doesn't support addEventListener (#836)
  • Fix widget not being set to correct mode in some cases (e.g. offline) (#740)
  • Don't use incompatible/buggy IndexedDB implementations (#841)
  • Blob constructor not available in older browsers (#843)

0.11.1

9 years ago

Bugfixes

  • Fix single quotes in filenames not working correctly (#812)
  • Fix broken AMD build (#816)
  • Fix syntax error in minified build (#817)
  • Fix console errors when using lib without widget (#829)

0.11.0

9 years ago

Bugfixes

  • Do not set a timestamp in local changes (#756)
  • Replace custom promise implementation with Bluebird (#770)
  • Replace custom WebFinger lookup with webfinger.js (#256)

New features

  • Reintroduce remoteStorage.utils as RemoteStorage.utils (#761)
  • Add more remoteStorage.utils helper methods (isDocument, equal, equalObj, md5sum)
  • Complete node support (documentation)
  • Expose WebFinger link properties as remoteStorage.remote.properties (#772)

Experimental features

  • Improvements to the Dropbox backend. (#784)