Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

hoodiehq / hoodie-server / 1694
100%
next: 82%

DEFAULT BRANCH: next
Build:
LAST BUILD BRANCH: master
Repo Added 27 Jul 2015 05:29PM UTC
Total Files 12
# Builds 697 Last
Badge
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

8 Mar 2017 - 5:05 First build on update-store-server at 100.0%
1694

push

travis-ci

24fc194843a71f10949be18d5a692682?size=18&default=identicongr2m
chore(package): @hoodie/store-server 3.0.0

BREAKING CHANGE:

The store instance which `server.plugins.store.api.open(dbName)` resolves to
has several breaking changes via [pouchdb-hoodie-api@2.0.0](https://github.com/hoodiehq/pouchdb-hoodie-api/releases/tag/v2.0.0)

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

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

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

Unless you use the `server.plugins.store.api.open(name)` API you are not affected by any of this.

42 of 42 branches covered (100.0%)

145 of 145 relevant lines covered (100.0%)

3.08 hits per line

Jobs
Coverage Job Files Covered Ran
100.0
1694.1 12 08 Mar 2017 05:07AM UTC Travis Job 1694.1
Source Files on build 1694
  • List 12
  • 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 #1694
  • c1dbc2ae on github
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc