Skip to content

Releases: hoodiehq/hoodie-store-client

v6.0.2

22 Dec 07:12
Compare
Choose a tag to compare

<a name"6.0.2">

6.0.2 (2016-12-22)

Bug Fixes

v6.0.1

18 Dec 23:40
Compare
Choose a tag to compare

<a name"6.0.1">

6.0.1 (2016-12-18)

Bug Fixes

  • use PochDB’s .adapter for .isPersistent() (9b726bc7)

v6.0.0

29 Nov 12:58
Compare
Choose a tag to compare

<a name"6.0.0">

6.0.0 (2016-11-29)

Features

  • options.PouchDB (removed as dependency) (e7d040bd)

Breaking Changes

  • @hoodie/store-client used to depend on pouchdb. It has now been
    removed and replaced by the new PouchDB option:

    var PouchDB = require('pouchdb-core')
      .plugin(require('pouchdb-replication'))
      .plugin(require('pouchdb-adapter-memory'))
      .plugin(require('pouchdb-adapter-http'))
    var Store = require('@hoodie/store-client')
    var db = new Store('db', {
      PouchDB: PouchDB,
      remote: 'http://localhost:5984/db-remote'
    })
  • options.ajax has been removed. It was passed trough to
    pouchdb-hoodie-sync
    where it is used to dynamically set the ajax PouchDB option.
    For Hoodie, we used that to change the Authorization header
    based on user’s session. But instead of passing in an ajax
    function to return the ajax setting dynamically, we will now
    set a getter for options.ajax.headers.authorization that will
    return the right session ID dynamically. This will simplify the
    implementation

(e7d040bd)

v5.0.12

22 Oct 20:28
Compare
Choose a tag to compare

<a name"5.0.12">

5.0.12 (2016-10-22)

Bug Fixes

v5.0.11

02 Oct 17:55
Compare
Choose a tag to compare

<a name"5.0.11">

5.0.11 (2016-10-02)

Bug Fixes

v5.0.10

27 Sep 12:29
Compare
Choose a tag to compare

<a name"5.0.10">

5.0.10 (2016-09-27)

Bug Fixes

  • throw TypeError for store() without passing type (fae03dc0)
  • store('foo').add({type: 'bar'}) should reject with TypeError (f493a004)

v5.0.8

05 Sep 23:02
Compare
Choose a tag to compare

<a name"5.0.8">

5.0.8 (2016-09-05)

Bug Fixes

  • package: update pouchdb to version 6.0.4 (b39033bb)

v5.0.7

02 Sep 20:47
Compare
Choose a tag to compare

<a name"5.0.7">

5.0.7 (2016-09-02)

Bug Fixes

  • store('scope').update() ignores scope (3e670427)

v5.0.6

27 Aug 16:53
Compare
Choose a tag to compare

<a name"5.0.6">

5.0.6 (2016-08-27)

Bug Fixes

  • find() should return 'Not found' for out of scope items (d9f1bf8c)

v5.0.5

25 Aug 23:52
Compare
Choose a tag to compare

<a name"5.0.5">

5.0.5 (2016-08-25)

Bug Fixes