Releases: remotestorage/remotestorage.js
Releases · remotestorage/remotestorage.js
1.0.2
1.0.1
1.0.0
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
fromRemoteStorage.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 ofremoteStorage.sync
as 'sync-done' and
'sync-req-done (#1044) - The network events 'wire-busy' and 'wire-done' are emitted by the
remoteStorage
instance instead ofremoteStorage.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
andnot-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
0.13.0
Enhancements
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
0.12.0
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
Experimental features
- Change configuration keys for Dropbox and Google Drive
- Documentation updates for Dropbox and Google Drive
0.11.2
0.11.1
0.11.0
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)