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

hoodiehq / hoodie / 2461 / 1
99%
camp: 100%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: camp
Ran 09 Mar 2017 09:26AM UTC
Files 17
Run time 1s
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

09 Mar 2017 09:20AM UTC coverage: 98.86%. Remained the same
2461.1

push

travis-ci

gr2m
<a href="https://github.com/hoodiehq/hoodie/commit/<a class=hub.com/hoodiehq/hoodie/commit/fce2bf2f06d6c60d4f0e20947cf0d3cc1c6c7f7c">fce2bf2f0<a href="https://github.com/hoodiehq/hoodie/commit/fce2bf2f06d6c60d4f0e20947cf0d3cc1c6c7f7c">&quot;&gt;breaking(package): @hoodie/client@10

BREAKING CHANGE:

For `hoodie.store`:

- 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/</a><a class="double-link" href="https://github.com/hoodiehq/hoodie/commit/<a class="double-link" href="https://github.com/hoodiehq/hoodie/commit/1958c425b7a9dc859434bdf2c057ac538db03f95">1958c425b</a>">1958c425b</a><a href="https://github.com/hoodiehq/hoodie/commit/fce2bf2f06d6c60d4f0e20947cf0d3cc1c6c7f7c">

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

For `hoodie.account`:

* `account.ready` has been removed. All APIs are now asynchronous, no setup is needed any longer
* `account.fetch()` and `account.profile.fetch()` have been removed. Use `account.get()` and `acc* `account.fetch()` and `account.profile.fetch()` have been removed. Use `account.get()` and `acc* `account.fetch()` and `account.profile.fetch()` have been removed. Use `account.get()` and `acc* `account.fetch()` and `account.profile.fetch()` have been removedrequest * `account.fetch()` and `account.p... (continued)

87 of 89 branches covered (97.75%)

260 of 262 relevant lines covered (99.24%)

6.29 hits per line

Source Files on job 2461.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2461
  • Travis Job 2461.1
  • fce2bf2f on github
  • Prev Job for on next (#2457.1)
  • Next Job for on next (#2463.1)
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