Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hoodie to the latest version 🚀 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Mar 9, 2017

Version 28.0.0 of hoodie just got published.

Dependency hoodie
Current Version 27.2.0
Type dependency

The version 28.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of hoodie.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v28.0.0

<a name"28.0.0">

28.0.0 (2017-03-09)

Breaking Changes

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. hoodiehq/pouchdb-hoodie-api@1958c42

  • 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()andaccount.profile.fetch()have been removed. Useaccount.get()andacc* account.fetch() and account.profile.fetch() have been removed. Use account.get() and acc*account.fetch()andaccount.profile.fetch()have been removedrequest *account.fetch()andaccount.profile.fetch()have been removed. Useaccount.following conditions is true

    1. User is signed out
    2. Only id and or session properties are requested
    3. options.local is set to true
  • account.hasInvalidSession() has been removed. Use account.get(session) instead (check of session.invalid)

  • account.isSignedIn() has been removed. Use account.get(session) instead.

(9d636fa8)
*
The store instance which server.plugins.store.api.open(dbName) resolves to
has several breaking changes via [email protected]

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

(ba5301f2)

Commits

The new version differs by 10 commits .

  • d8d9c86 chore: adapt to @hoodie/client@10
  • 9d636fa breaking(package): @hoodie/client@10
  • ba5301f breaking(package): @hoodie/server@23
  • 59d67ab docs: correcting missing 'install' command
  • 0e3ebfe docs: update for docs chicken img & local build
  • aa2e25d docs: adding docs chicken image
  • c54d790 docs(contributing): Code highlighting (#715)
  • f3bafac style: standard
  • 31e4a6e chore(package): update standard to version 9.0.0
  • 0ae9bc6 docs: get readthedocs to build (#705)

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 15, 2017

Version 28.1.0 just got published.

Update to this version instead 🚀

Release Notes v28.1.0

<a name"28.1.0">

28.1.0 (2017-03-15)

Features

  • dbUrlUsername and dbUrlPassword options (b8483235)
Commits

The new version differs by 4 commits .

  • b848323 feat: dbUrlUsername and dbUrlPassword options
  • 8c8e131 docs: updated deployment documentation
  • d2fa11d docs: whitelisting and comments (#723)
  • 81480ab test: 💯 Code Coverage (#722)

See the full diff.

greenkeeper bot added a commit that referenced this pull request May 25, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented May 25, 2017

Version 28.1.1 just got published.

Update to this version instead 🚀

Release Notes v28.1.1

<a name"28.1.1">

28.1.1 (2017-05-25)

Bug Fixes

  • package: update yargs to version 7.0.1 (432bb7fb)
Commits

The new version differs by 20 commits.

  • 432bb7f fix(package): update yargs to version 7.0.1
  • 0cbf22f test: remove obsolete options.db
  • 888b834 refactor(cli): pass log to createAuthDbUrl helper
  • 4c5286f chore(package): update simple-mock to version 0.8.0 (#744)
  • 8a1c423 docs: Remove hoodie.account.isSignedIn
  • 52198b0 docs: Remove hoodie.account.username (#742)
  • 1761beb chore(package): update textlint to version 8.0.0
  • b04d488 docs: Remove hoodie.account.id
  • ea6a251 docs: fix invalid links
  • cabc849 docs: Remove hoodie.account.ready from the docs
  • aaa1331 docs: fix store.add property and return value
  • cf0d32d fix link to triaging process document
  • 1e8fd23 test: Replace deprecated new Buffer() call with Buffer.from()
  • d3357e2 chore(package): update standard to version 10.0.0
  • c15fdb7 docs: correct link formatting and may fix #717

There are 20 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 3, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 3, 2017

Version 28.1.2 just got published.

Update to this version instead 🚀

Release Notes v28.1.2

<a name"28.1.2">

28.1.2 (2017-06-03)

Bug Fixes

  • support npm@5’s --save default for postinstall script (#760) (79dde6b8)
Commits

The new version differs by 5 commits.

  • 79dde6b fix: support npm@5’s --save default for postinstall script (#760)
  • 2bc4c6d chore(package): update nyc to version 11.0.2 (#756)
  • 7e34276 doc: allow timeout and other status codes
  • 2825b37 doc: allow 404 in link checker
  • a7961b4 chore(package): resolve files for test by nyc

See the full diff

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hoodie client usage needs to be adapted before merging:
https://github.com/hoodiehq/hoodie-app-skeleton/blob/master/public/assets/js/login.js

greenkeeper bot added a commit that referenced this pull request Jun 4, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 4, 2017

Version 28.1.3 just got published.

Update to this version instead 🚀

Release Notes v28.1.3

<a name"28.1.3">

28.1.3 (2017-06-04)

Bug Fixes

  • setup: windows compatibility for postinstall setup (770619e3)
Commits

The new version differs by 1 commits.

  • 770619e fix(setup): windows compatibility for postinstall setup

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 8, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 8, 2017

Version 28.1.4 just got published.

Update to this version instead 🚀

Release Notes v28.1.4

<a name"28.1.4">

28.1.4 (2017-06-08)

Bug Fixes

  • client: pass options.client to Hoodie client constructor (18f00507)
Commits

The new version differs by 8 commits.

  • 18f0050 fix(client): pass options.client to Hoodie client constructor
  • badacdd test(client): pass options.client to Hoodie client constructor
  • 4329d83 docs: fix #767 allow timeout on link checker (#770)
  • 4dcf9cb docs(api): remove hoodie.ready (#769)
  • 64bb2ee test(quickstart): wait for server to start, then check for bundled client
  • e57611b test(quickstart): add workaround for npm@2
  • c7978b3 docs(quickstart): workaround for npm@2
  • bae1f5b test(quickstart): fail when server responds with error

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 9, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 9, 2017

Version 28.1.5 just got published.

Update to this version instead 🚀

Release Notes v28.1.5

<a name"28.1.5">

28.1.5 (2017-06-09)

Bug Fixes

Commits

The new version differs by 1 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 2, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 2, 2017

Version 28.2.1 just got published.

Update to this version instead 🚀

Release Notes v28.2.1

<a name"28.2.1">

28.2.1 (2017-07-02)

Bug Fixes

  • package: ignore unneeded files when publishing to npm (#780) (3b96aeed)
Commits

The new version differs by 5 commits.

  • 3b96aee fix(package): ignore unneeded files when publishing to npm (#780)
  • b4f1fa8 docs: links and minor formatting (#778)
  • 37a2532 docs(architecture): remove pouchdb-hoodie-{api,sync}
  • 5574b78 docs(hoodie): remove hoodie.reset
  • f6f03f2 chore(package): joining The TAP 100

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 12, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 12, 2017

Version 28.2.2 just got published.

Update to this version instead 🚀

Release Notes v28.2.2

<a name"28.2.2">

28.2.2 (2017-08-12)

Bug Fixes

  • package: update h2o2 to version 6.0.0 (84dc5c1a)
Commits

The new version differs by 6 commits.

  • 84dc5c1 fix(package): update h2o2 to version 6.0.0
  • acd046a docs: we don’t do new Hoodie() any longer
  • 7292830 docs: fix issue with hapi docs display (#791)
  • 83de1ac docs: correct hoodie.account code examples (#789)
  • 5d6ddbd fix 404s
  • a97a8ae docs: ignore david-dm.org #771

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 14, 2017

Version 28.2.3 just got published.

Update to this version instead 🚀

Release Notes v28.2.3

28.2.3 (2017-12-14)

Bug Fixes

Commits

The new version differs by 14 commits.

  • 532f15d fix: make 404.html responsive (#830)
  • 1c3afe1 Update style.css
  • f776299 chore(package): update tap to version 11.0.0
  • f2f42fe chore(package): update textlint to version 9.0.0
  • b25a4c8 chore(CONTRIBUTING): feature commit message convention
  • 361e6f1 chore(first-timers): configuration
  • 8ccde74 chore(package): update coveralls to version 3.0.0
  • 35c8c45 docs(configuration): dbUrlUsername / dbUrlPassword options. (#808)
  • 50725be docs: fix formatting in files-and-folders.rst
  • 6cfddc2 docs: draft replacements for TO BE DONE sections
  • 9bcd805 chore(travis): whitelist pouchdb.c to make builds pass again
  • f14cd93 docs(configuration): options.name (#799)
  • b0f1b7a docs(CONTRIBUTING): fix link to commit message conventions
  • 2b5dfee chore(package): update semantic-release to version 7.0.1

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 14, 2017

Version 28.2.4 just got published.

Update to this version instead 🚀

Release Notes v28.2.4

28.2.4 (2017-12-14)

Bug Fixes

  • make default landing page responsive (#829) (9a42e5c)
Commits

The new version differs by 1 commits.

  • 9a42e5c fix: make default landing page responsive (#829)

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 6, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 6, 2018

Version 28.2.5 just got published.

Update to this version instead 🚀

Release Notes v28.2.5

28.2.5 (2018-01-06)

Bug Fixes

  • package: update browserify to version 15.0.0 (6fe0000)
Commits

The new version differs by 7 commits.

  • 6fe0000 fix(package): update browserify to version 15.0.0
  • 0d43d47 chore(package): update textlint to version 10.0.0 (#831)
  • 074a24e test: returning node to version 4 as textlint-rule-no-dead-link dev has been removed and node 6 not required
  • 2bf443b test: removing dead-link-checker
  • d9ff7ad test: remove dead link testing - not working correctly
  • 72eedf9 test: remove awesome_bot and use textlint instead
  • 823e7e1 test: update white list and coorect links in docs

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 7, 2018

Version 28.2.6 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • cdf0707 fix(package): update browserify to version 16.0.0
  • b44045e chore(first-timers): don’t set hacktoberfest label
  • b3350e3 chore(package): update browserify to version 15.2.0
  • db064f5 chore(package): update semantic-release to version 12.2.2 (#836)

See the full diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant