Releases: remotestorage/remotestorage.js
0.10.2
0.10.1
0.10.0
This release contains a major rewrite of the tree-based sync and caching
system. Old cached data will be converted to the new format automatically.
Breaking changes
getAll
andgetListing
now return an empty object instead of undefined when no items
match the query- Object meta data has been removed from the
getListing
response, until we have a better
implementation (#652, #720, #721) disconnect
event removed in favor ofdisconnected
remoteStorage.claimAccess
removed in favor ofremoteStorage.access.claim
BaseClient#use
andBaseClient#release
removed in favor ofBaseClient#cache
- Change events with origin 'window' are now disabled by default
- The config variable
RemoteStorage._log
was renamed toRemoteStorage.config.logging
New features
- Major rewrite of the tree-based sync and caching system
- Performance was improved, especially when storing many small objects
- A new
maxAge
parameter is available in the various BaseClient get...
functions, where you can specify the maximum age of cached results (in ms).
This replaces the ready-queue from 0.9.0. - Caching of subtrees can now be configured as 'ALL', 'SEEN', or 'FLUSH'. The second
one means documents that were seen once, will stay synced. Check the
caching documentation
for details.caching.enable(path)
will use 'ALL' by default. - Add and use background sync interval, based on Page Visibility API (#462)
- Choose from which origins change events are emitted via
RemoteStorage.config.changeEvents
- More unit tests
- A 'local-events-done' event is emitted by
remoteStorage.local
after all events with origin 'local' have been emitted on page load.
Experimental features
- Google Drive is now supported as an experimental backend
- Dropbox is now supported as an experimental backend
- Support for browser implied authentication
- With
remoteStorage.displayWidget({encryption: true})
, the user will be invited to enter a secret (password) into the widget, which the app can then use for client-side encryption.
Bugfixes
- Anonymous mode is fixed and working as expected again
- Fix private browsing mode in Firefox
- Handle 404s for directory GETs (#573)
- Always quote If-None-Match headers (#584)
- Widget only pulses when syncing changes (#437)
- Fire
connected
event on startup if remote already connected - Fix error on remoteStorage.local.reset (#630)
- Support non-ascii filenames in the Dropbox backend (#628)
- When no widget is present, log undisplayed errors (#639)
- Restore the document fragment (hash URL) after the OAuth dance (#646)
- Fix handling of custom JSON-LD contexts for types (#661)
- Widget bubble closing spontaneously (#683)
- Fix incorrect handling of 404 responses (#718)
- Add content-types to remote change events (#655)
- Fix caching of binary data (#670)
- The widget placeholder text was restored to '[email protected]' (#731)
0.10.0-beta3
Changelog
Contains all changes since 0.9.0
This release contains a major rewrite of the tree-based sync and caching
system. Old cached data will be converted to the new format automatically.
Breaking changes
getAll
andgetListing
now return an empty object instead of undefined when no items
match the query- Object meta data has been removed from the
getListing
response, until we have a better
implementation (#652, #720, #721) disconnect
event removed in favor ofdisconnected
remoteStorage.claimAccess
removed in favor ofremoteStorage.access.claim
BaseClient#use
andBaseClient#release
removed in favor ofBaseClient#cache
- Change events with origin 'window' are now disabled by default
- The config variable
RemoteStorage._log
was renamed toRemoteStorage.config.logging
New features
- Major rewrite of the tree-based sync and caching system
- Performance was improved, especially when storing many small objects
- A new
maxAge
parameter is available in the various BaseClient get...
functions, where you can specify the maximum age of cached results (in ms).
This replaces the ready-queue from 0.9.0. - Caching of subtrees can now be configured as 'ALL', 'SEEN', or 'FLUSH'. The second
one means documents that were seen once, will stay synced. Check the
caching documentation
for details.caching.enable(path)
will use 'ALL' by default. - Add and use background sync interval, based on Page Visibility API (#462)
- Choose from which origins change events are emitted via
RemoteStorage.config.changeEvents
- More unit tests
Experimental features
- Google Drive is now supported as an experimental backend
- Dropbox is now supported as an experimental backend
- Support for browser implied authentication
Bugfixes
- Anonymous mode is fixed and working as expected again
- Fix private browsing mode in Firefox
- Handle 404s for directory GETs (#573)
- Always quote If-None-Match headers (#584)
- Widget only pulses when syncing changes (#437)
- Fire
connected
event on startup if remote already connected - Fix error on remoteStorage.local.reset (#630)
- Support non-ascii filenames in the Dropbox backend (#628)
- When no widget is present, log undisplayed errors (#639)
- Restore the document fragment (hash URL) after the OAuth dance (#646)
- Fix handling of custom JSON-LD contexts for types (#661)
- Widget bubble closing spontaneously (#683)
- Fix incorrect handling of 404 responses (#718)
- Add content-types to remote change events (#655)
- Fix caching of binary data (#670)
0.10.0-beta2
This release contains a major rewrite of the tree-based sync and caching
system. Old cached data will be converted to the new format automatically.
Breaking changes
disconnect
event removed in favor ofdisconnected
remoteStorage.claimAccess
removed in favor ofremoteStorage.access.claim
BaseClient#use
andBaseClient#release
removed in favor ofBaseClient#cache
New features
- A new
maxAge
parameter is available in the various BaseClient get...
functions, where you can specify the maximum age of cached results (in ms).
This replaces the ready-queue from 0.9.0. - Caching of subtrees can now be configured as 'ALL', 'SEEN', or 'FLUSH'. The second
one means documents that were seen once, will stay synced. Check the
caching documentation
for details.caching.enable(path)
will use 'ALL' by default.
Bugfixes
- Anonymous mode is fixed and working as expected again
- Fix private browsing mode in Firefox
- Handle 404s for directory GETs (#573)
- Always quote If-None-Match headers (#584)
- Widget only pulses when syncing changes (#437)
- Fire
connected
event on startup if remote already connected - Fix error on remoteStorage.local.reset (#630)
0.10.0-beta
This release contains a major rewrite of the tree-based sync and caching system. Old cached data will be converted to the new format automatically.
Breaking changes
disconnect
event removed in favor ofdisconnected
remoteStorage.claimAccess
removed in favor ofremoteStorage.access.claim
BaseClient#use
andBaseClient#release
removed in favor ofBaseClient#cache
New features
- A new
maxAge
parameter is available in the various BaseClient get...
functions, where you can specify the maximum age of cached results (in ms).
This replaces the ready-queue from 0.9.0. - Caching of subtrees can now be configured as 'ALL', 'SEEN', or 'FLUSH'. The second
one means documents that were seen once, will stay synced. Check the
caching documentation
for details.caching.enable(path)
will use 'ALL' by default.
Bugfixes
0.9.0
This release consists of awesome contributions from @skddc, @galfert, @ggrin, @michielbdejong, @clochix, @silverbucket, @gregkare, and @rakyll - you can participate in the next release via https://github.com/remotestorage/remotestorage.js/issues!
- Rename the 'root' module to '*' (breaking change)
- Return a map instead of a string per item in getListing (breaking change)
- Support for draft-dejong-remotestorage-02.txt
- Fix multiple overlapping requests on first pageload
- Fix requests going to non-ready cache before initial sync finished
- Better error messages in widget
- Label change events from initial sync as 'local' if they come from local
- Add JSHint config
- Add in-memory storage for when neither IndexedDB nor localStorage are
available - Move the example server and example apps to gh:remotestorage/starter-kit
- Add setSyncInterval method
- Add i18n module, enable translation/customization of all content strings
- Fix minor issues in the experimental GoogleDrive backend (in dark launch)
0.8.3
0.8.2
- Size reduced by almost 25%, to 34K minified, gzipped
- Fixes issues with non-ASCII characters in item names
- Fixes unnecessary polling of documents whose entry in the parent directory did not change
- Widget fixes
- Compatible with remotestorage-02 https://github.com/remotestorage/spec/blob/master/draft-dejong-remotestorage-head.txt (although nothing needed to change for this)
0.8.1
- Update the example server
- Fix edge case in sync with incoming deletions of entire directories