[Thali-talk] FW: [pouchdb] 3.6.0

Yaron Goland yarong at microsoft.com
Thu Jun 25 14:45:48 EDT 2015


BTW these changes are awesome for Thali because we expect to be very attachment heavy (photos, videos, etc.). They mean that we will be able to automatically replicate attachments as binary and upload them as binary as well. I believe we still have an issue where if the JSON in a record is changed and the record has an attachment that we will still re-synch the entire attachment even though it hasn’t changed. But that issue is being tracked at https://github.com/pouchdb/pouchdb/issues/2674 and if it isn’t handled by the time we get to story 0.0.3.0 then we will fix it ourselves.

So all in all good news!

               Thanks,

                                             Yaron

From: Nolan Lawson [mailto:notifications at github.com]
Sent: Monday, June 1, 2015 9:54 AM
To: pouchdb/pouchdb
Subject: [pouchdb] 3.6.0


PouchDB 3.6.0 is a monthly release containing several bugfixes, most notably for "retry" replication and attachment replication. It also contains one minor new feature.

New features

  *   getAttachment() now supports rev (#3871<https://github.com/pouchdb/pouchdb/issues/3871>)
  *   Add androidDatabaseImplementation option for the SQLite Plugin in Cordova (#3835<https://github.com/pouchdb/pouchdb/issues/3835>)

Performance improvements

  *   Avoid application/json when GETing remote documents with attachments. This makes the replicator and get()s on remote PouchDBs more efficient, by preferring to fetch the attachments directly in separate parallel requests. You may see a negative performance impact if you have many small attachments, in which case you should inline them instead of using attachments. However, "normal" attachment use cases should see a big improvement, because attachments are no longer sent over the wire as base64-encoded strings. This also improves support for syncing attachments in Couchbase Sync Gateway, which does not support the application/json format. (#3870<https://github.com/pouchdb/pouchdb/issues/3870>)
  *   Similarly, for uploading of documents with attachments, use the multipart/related format rather than application/json, because it is more efficient. This also improves Couchbase Sync Gateway support. (#3876<https://github.com/pouchdb/pouchdb/issues/3876>)
  *   Avoid using readAsBinaryString when readAsArrayBuffer is more direct (#3877<https://github.com/pouchdb/pouchdb/issues/3877>)
  *   Better bit-twiddling in the md5 checksum (#3878<https://github.com/pouchdb/pouchdb/issues/3878>)

Bugfixes

  *   Fix EventEmitter memory leaks in retry replication (#3858<https://github.com/pouchdb/pouchdb/pull/3858> #3699<https://github.com/pouchdb/pouchdb/issues/3699>)
  *   Fix retry replication when started offline (#3768<https://github.com/pouchdb/pouchdb/issues/3768>)
  *   Fixes for fetch() in Service Workers on Chrome 41 (#3885<https://github.com/pouchdb/pouchdb/issues/3885>)
  *   Fix a race condition when retry replication is immediately canceled (#3894<https://github.com/pouchdb/pouchdb/issues/3894>)

Test infrastructure

  *   Fuzzy replication tests (#3767<https://github.com/pouchdb/pouchdb/issues/3767>)
  *   Test multiple versions of Node/io.js (#3843<https://github.com/pouchdb/pouchdb/issues/3843>)
  *   BlackBerry Cordova tests (#3818<https://github.com/pouchdb/pouchdb/pull/3818> #3845<https://github.com/pouchdb/pouchdb/pull/3845>)

—
View it on GitHub<https://github.com/pouchdb/pouchdb/releases/tag/3.6.0>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist10.pair.net/pipermail/thali-talk/attachments/20150625/a43790e9/attachment-0001.html>


More information about the Thali-talk mailing list