Release Changes
Sync Events - #3155
We have introduced new events to give you more information what is happening during syncing. There are now active
and paused
events triggered during replication and the uptodate
event is now deprecated.
Retry Replication - #966
Calvin did the base work for this a long time ago, however we now officially support a retry
option to replication. If you do a db.replicate(to, {retry: true})
or db.sync(db, {retry: true})
then the replication process will not halt when you go offline, and will automatically resume when you (or your server) comes back online.
Docs property in change events - #3358
A lot of developers wanted to know what documents were being referred to when they recieved a change event. Gregor from hood.ie implemented a new docs
property in the change event, so you know exactly what documents have changed.
local_seq now deprecated - #3367
local_seq
was a rarely used property that will be unsupported in CouchDB 2.0, so we have deprecated it and will be removed in future versions.
Changelog:
- We now have all tests passing against CouchDB master (#136)
- Fixed return of
.compact
(#3350) - Fix a typo in the Error constructor (#1167)
- Disabled blob support due to bugs in Chrome, so we now use base64 for attachments in Chrome (#3369)
- Fix races in
.destroy()
(mapreduce/#251) - Ensure both replications are cancelled properly during
.sync
(#3431) - Replace ajax calls with
request
polyfill (#3200) - Prefer readAsArrayBuffer to BinaryString (#3379)
- Get all tests green on Travis (including iPhone and IE) (#3058)
- Map/reduce views built concurrently (pouchdb/mapreduce#240)
- Quicker map/reduce view build times (pouchdb/mapreduce#242)