0.10.0-beta
Pre-release
Pre-release
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.