hoodiehq / ember-hoodie

Build awesome offline-first Ember apps with Hoodie!
MIT License
17 stars 6 forks source link

Update @hoodie/client to the latest version πŸš€ #41

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 9.0.0 of @hoodie/client just got published.

Dependency @hoodie/client
Current Version 8.0.3
Type dependency

The version 9.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/client. 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 v9.0.0

9.0.0 (2016-12-25)

Features

Breaking Changes

  • Hoodie dropped its dependency on localStorage in order to work in non-browser environments. In order to make that work we have to use async store APIs to load the current state like the session id, username or the connection status.

The APIs hoodie.account, hoodie.store and hoodie.connectionStatus can now only be used after the promise returned by hoodie.ready resolves.

(28b49664)

Commits

The new version differs by 7 commits .

  • 84d4c2a chore(package): update to latest @hoodie/{account-client,connection-status,store-client}
  • b131a74 chore(package): pouchdb-doc-api
  • 28b4966 feat: hoodie.ready
  • 1bd50a0 test: hoodie.ready
  • 1ff25b7 docs(README): hoodie.ready
  • d50bd4c refactor: use account.hook API
  • e3c80ed test: use account.hook API

See the full diff.

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

gr2m commented 7 years ago

closing in favor of https://github.com/hoodiehq/ember-hoodie/pull/42, the two go together