Remotestorage.js Versions Save

⬡ JavaScript client library for integrating remoteStorage in apps

0.10.2

9 years ago

Bugfixes

  • Fix bug in displayWidget (#749)
  • Report unhandled HTTP status codes as errors (#594)
  • Pause between sync retries when offline (#740)
  • Fix race condition in caching layer (#752)

0.10.1

9 years ago

Bugfixes

  • Fix "No user information found" error shown too early (#591)
  • Set the charset for binary, but not for UTF-8 (#668)
  • Fix widget offline mode (#725)
  • Fix merging of mutual deletions (#737)

All changes since last release: https://github.com/remotestorage/remotestorage.js/compare/0.10.0...0.10.1

0.10.0

9 years ago

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 and getListing 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 of disconnected
  • remoteStorage.claimAccess removed in favor of remoteStorage.access.claim
  • BaseClient#use and BaseClient#release removed in favor of BaseClient#cache
  • Change events with origin 'window' are now disabled by default
  • The config variable RemoteStorage._log was renamed to RemoteStorage.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

9 years ago

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 and getListing 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 of disconnected
  • remoteStorage.claimAccess removed in favor of remoteStorage.access.claim
  • BaseClient#use and BaseClient#release removed in favor of BaseClient#cache
  • Change events with origin 'window' are now disabled by default
  • The config variable RemoteStorage._log was renamed to RemoteStorage.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

10 years ago

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 of disconnected
  • remoteStorage.claimAccess removed in favor of remoteStorage.access.claim
  • BaseClient#use and BaseClient#release removed in favor of BaseClient#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

10 years ago

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 of disconnected
  • remoteStorage.claimAccess removed in favor of remoteStorage.access.claim
  • BaseClient#use and BaseClient#release removed in favor of BaseClient#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

0.9.0

10 years ago

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

10 years ago
  • Make sure to clear auth token after disconnect
  • Fix invalid conditional request headers (If-Match & If-None-Match)
  • Fix double-encoded paths
  • Removed broken example app

0.8.2

10 years ago

0.8.1

10 years ago
  • Update the example server
  • Fix edge case in sync with incoming deletions of entire directories