-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Breaking changes
Nolan Lawson edited this page Mar 12, 2015
·
15 revisions
PouchDB follows semantic versioning. Major version releases indicate breaking changes.
- The browser build
pouchdb-nightly.jshas been renamed topouchdb.js. It was never really a nightly anyway. (#2146) -
opts.serverhas been deprecated from thereplicate()andsync()APIs. You can still replicate from one HTTP server to another, but the data will flow through PouchDB rather than being server-initiated. (#2313) - You can no longer rely on errors to have an identifying name. Instead, rely on CouchDB-centric errors to have a status (i.e.
err.statusinstead oferr.name). There are some that still have an identifying name, but these could be removed at any time. The upside of this is that stack traces should be more consistently helpful. (#2545)
- Removed
PouchDB.allDbs()(available as a plugin instead) #1352 - Prototype-based db objects. This means that
var get = db.getwill blow up, so writevar get = db.get.bind(db)instead. #1150 - Prototype-based plugins API. Ditto for plugins. #1387