• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hoodiehq / hoodie-store-client / 606
100%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2017 11:32PM UTC
Jobs 2
Files 4
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
606

push

travis-ci

gr2m
feat: pouchdb-hoodie-api@2.0.0

BREAKING CHANGE:

- 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. https://github.com/hoodiehq/pouchdb-hoodie-api/commit/1958c425b

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

69 of 69 relevant lines covered (100.0%)

18.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 606.1 (COMMAND=test) 04 Mar 2017 11:32PM UTC 0
100.0
Travis Job 606.1
2 606.2 (COMMAND=test:browser:cloud) 04 Mar 2017 11:32PM UTC 0
100.0
Travis Job 606.2
Source Files on build 606
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #606
  • 852393e8 on github
  • Prev Build on master (#597)
  • Next Build on master (#609)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc