Skip to content

Releases: hoodiehq/hoodie-store-server-api

v2.0.0

05 Mar 18:46
Compare
Choose a tag to compare

2.0.0 (2017-03-05)

Bug Fixes

  • package: update pouchdb-hoodie-api to version 2.0.0 (83e1d066)

Features

Breaking Changes

The store instance which Store.open(dbName) resolves to has several
breaking changes via [email protected]

  • Before, change events (incl. add, update, remove) have only been triggered when using the custom APIs like .add() or .update(). Now they get always triggered, including for changes replicated into the database. hoodiehq/pouchdb-hoodie-api@1958c42

  • the order of when the methods’ promises resolve and the events get triggered cannot be guaranteed as we rely on PouchDB’s .changes(). We would love to enforce promises to resolve after changes get emitted, but the required complexity to do that is not worth it.

  • We no longer map PouchDB’s ._id property to .id, instead we pass trough docs from PouchDB 1:1. Also the timestamps are now all namespaced with .hoodie (doc.createdAt becomes doc.hoodie.createdAt)

(83e1d066)

v1.1.0

21 Feb 05:34
Compare
Choose a tag to compare

<a name"1.1.0">

1.1.0 (2017-02-21)

Features

v1.0.0

27 Dec 02:34
Compare
Choose a tag to compare

<a name"1.0.0">

1.0.0 (2016-12-27)

Features