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

hoodiehq / hoodie / 2461
99%
camp: 100%

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

pending completion
2461

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

Jobs
ID Job ID Ran Files Coverage
1 2461.1 09 Mar 2017 09:26AM UTC 0
98.86
Travis Job 2461.1
Source Files on build 2461
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #2461
  • fce2bf2f on github
  • Prev Build on next (#2457)
  • Next Build on next (#2463)
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

© 2025 Coveralls, Inc