Skip to content

Releases: pouchdb/pouchdb

2.2.0

01 May 14:59
Compare
Choose a tag to compare

PouchDB 2.2.0 is now released! Please file issues or tell us what you think. We would also like to give a huge thanks to our new and existing contributors.

We have removed the ES5 shims from PouchDB. If you require support for older browsers, it can be included from https://github.com/es-shims/es5-shim.

Major Changes:

  • Fix replication for large databases (#1954)
  • Persistent map/reduce (#1658)
  • Fix experimental .sync() API (#1696)
  • .replication() API switched to an EventEmitter (#1916)
  • .changes() API switched to an EventEmitter (#1768)
  • Experimental LevelDB-based LocalStorage adapter (#44)
  • Performance improvements (#1869, #1871, #1889, #1897, #1990)
  • Remove ES5 shims (#1753)
  • Performance tests (#113)
  • Fix replication from readonly databases (aka cloudant) (#2029)
Complete list of changes

2.0.2

14 Apr 12:22
Compare
Choose a tag to compare

A backport of a WebSQL fix to better compare improvements across releases (#1572). You should never need to use this, move along.

2.1.2

04 Apr 18:42
Compare
Choose a tag to compare

fix for the fact that somebody (not naming names) forgot the -s in the build.

2.1.0

01 Apr 18:48
Compare
Choose a tag to compare
  • Website redesign and a new blog (#1539, #893)
  • Support optional leveldown builds (#44)
  • Replication performance improvements (#1732)
  • Performance improvements for skip / limit (#1649)
  • Cache WebSQL databases, fully passing tests in Safari (#1068)
  • Fix support for unicode in doc ids (WebSQL) (#1733)
  • Fix for localStorage detection in Chrome Apps (#1727)
  • Allow overriding of http functions (#1602)
  • Improve error reporting from replicator (#1714)
  • Switch to readAsArrayBuffer for ie binary support (#1667)
  • Add npm run shell for quick shell experimenting (#1610)
  • Ensure we dont lose data when browsers upgrade from WebSQL to IDB (#1289)

2.0.1

08 Mar 21:38
Compare
Choose a tag to compare

lie was incorrectly marked as a dev dependency instead of a normal one, which prevented building with browserify. This fixes that.

2.0.0

01 Mar 16:40
Compare
Choose a tag to compare
  • Remove allDbs (breaking) #1352
  • Prototype-based db objects (breaking) #1150
  • Prototype-based plugins api (breaking) #1387
  • Add database deletion / creation event #1115
  • Refactor tests to use mocha + chai #1486
  • Use uuids for replication id everywhere #1472
  • Switch Sublevel, support plugable level backends #1261
  • Add db.destroy()
  • Fire complete callback when changes are cancelled #1458
  • Allow custom xhr libs #1453
  • Add options.since to replicate #1392
  • Add last_seq to the result from replicate #1399
  • Switch to Mocha tests #1341 & #1342
  • Make api.id() async #1247
  • Add db.sync #838
  • Replication performance improvements #1315
  • Support 'key' in allDocs() #1308
  • Closures in map/reduce queries pouchdb/mapreduce#37
  • Fixes issues integrating with other libraries that extend Object.prototype #1262
  • Add Promises based API #848
  • Add ES5 shims for common functions #1221
  • Fix inside Web Workers #1216
  • total_rows returns correct count in allDocs #1172
  • Fix attachments in Safari and WebSQL #1210 #1237
  • Avoid IDB on certain Samsung devices #1207

1.1.0

02 Jan 16:29
Compare
Choose a tag to compare
  • reorganization of the entry file into separate index, setup, and constructor files #1108
  • is able to use the sqlite3 plugin on cordova/phone gab #1017
  • fixed a race condition when levelDB was being closed #1112
  • cleaned up issues related to timeouts #1124 #1129
  • fixed bug related to different ways for creating a database #1132 #1137
  • put correctly returns error for empty doc id #1139
  • we use selenium to browser test #1086
  • _conflicts field not included in view results unless asked for #1152
  • fix recursion error when replicating large number of docs #1156
  • fix ordering of seq table in leveldb
  • use JavaScript error objects #1168
  • support use inside web workers #1169
  • encode webSQL query parameters to prevent injection #1171
  • ensure levelDB stores are openen / closed consistently #1178
  • break geopouch and gql plugins into their own repo #1188 #1185
  • fix use of sqlite3 plugin in cordova #1191
  • handle more server errors during replication #1194
  • allow 0 / null keys in map reduce queries #1198

1.0.0

22 Dec 14:38
Compare
Choose a tag to compare
  • PouchDB is now the only name that gets attached to window
  • It should work better on AMD systems as it no longer requires attachment to the global object
  • more internal cleanups