⬡ JavaScript client library for integrating remoteStorage in apps
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.
RemoteStorage.defineModule
is no more, and both declaring modules and
loading them in apps can now be done with a new, improved API. (#974)setRequestTimeout
method
on the RemoteStorage instance instead of setting
RemoteStorage.WireClient.REQUEST_TIMEOUT
(#983).equalObj
from RemoteStorage.util
has been
removedsetApiKeys
takes a config object as argument to allow to configure
multiple backends at once (#1021)remoteStorage
instance instead of remoteStorage.sync
as 'sync-done' and
'sync-req-done (#1044)remoteStorage
instance instead of remoteStorage.remote
(#1044)Unauthorized
error on 401 responses (#1018)Unauthorized
error with code "access_denied" when user denies
access (#1018)reconnect()
method to retrieve new authorization (e.g. after it
expired) (#1018)startSync()
returns the sync promise (#1036)ready
, connected
and not-connected
events when registering an
handler after they happened originally. (#1066)configure
(#885, #820)getListing
behaviour when called with invalid path (#932)Caching#set
function arguments (#889)remoteStorage.utils
helper methods (isDocument
, equal
, equalObj
, md5sum
)