Skip to content

Releases: hoodiehq/hoodie-store-client

v8.3.0

26 Nov 22:18
Compare
Choose a tag to compare

<a name"8.3.0">

8.3.0 (2017-11-26)

Features

v8.2.0

12 Sep 19:23
Compare
Choose a tag to compare

<a name"8.2.0">

8.2.0 (2017-09-12)

Features

v8.1.4

01 Aug 02:26
Compare
Choose a tag to compare

<a name"8.1.4">

8.1.4 (2017-08-01)

Bug Fixes

  • correctly cleanup reset listener (7fb1573a)

v8.1.3

18 Jul 22:32
Compare
Choose a tag to compare

<a name"8.1.3">

8.1.3 (2017-07-18)

Bug Fixes

  • add/update events based on doc existence in db (4cd0b261)

v8.1.2

04 Jul 22:56
Compare
Choose a tag to compare

8.1.2 (2017-07-04)

(semantic-release was brokeng for 8.1.1 & 8.1.2, should be fixed now)

Fixes

  • options.remote getter (3e88389)
  • fix: .withIdPrefix() works after .reset() (24550de)

v8.1.0

09 Mar 08:44
Compare
Choose a tag to compare

<a name"8.1.0">

8.1.0 (2017-03-09)

Features

v8.0.1

04 Mar 23:51
Compare
Choose a tag to compare

<a name"8.0.1">

8.0.1 (2017-03-04)

Bug Fixes

  • .withIdPrefix() after .reset() (3f0ccc4b)

v8.0.0

04 Mar 23:32
Compare
Choose a tag to compare

<a name"8.0.0">

8.0.0 (2017-03-04)

Features

Breaking Changes

  • 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.

  • separate methods like require(pouchdb-hoodie-api/add) can no longer be required directly

    The reason for that is that all the methods now also accept a prefix argument which by default is null. That way we don’t need to implement each method twice, once for store.add, and once for store.withIdPrefix(test/).add

  • 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)

(852393e8)

v7.0.1

14 Feb 15:24
Compare
Choose a tag to compare

<a name"7.0.1">

7.0.1 (2017-02-14)

Bug Fixes

  • package: publish with dist/ folder (4e2f3437)

v7.0.0

23 Dec 20:35
Compare
Choose a tag to compare

<a name"7.0.0">

7.0.0 (2016-12-23)

Bug Fixes

  • remove dependency on localStorage (060f518e)

Breaking Changes

  • The .hasLocalChanges() was removed, see #138. To find out if there are changes that have not yet been replicated to remote, you can use the workaround described in #138

    (060f518e)