hoodiehq / hoodie-admin

🐶 Hoodie Admin core module
Apache License 2.0
13 stars 11 forks source link

Update hoodie to the latest version 🚀 #45

Open greenkeeper[bot] opened 7 years ago

greenkeeper[bot] commented 7 years ago

Version 25.0.0 of hoodie just got published.

Dependency hoodie
Current Version 24.4.3
Type devDependency

The version 25.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 v25.0.0

25.0.0 (2016-12-25)

Bug Fixes

  • package: update @hoodie/client to version 9.0.0 (87e5024c)

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.

(87e5024c)

Commits

The new version differs by 1 commits .

  • 87e5024 fix(package): update @hoodie/client to version 9.0.0

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

The challenge is that the the Admin Client is now async, and before we can use any API we have to await the admin.ready promise to resolve. See https://github.com/hoodiehq/ember-hoodie/pull/42#issuecomment-269143490

greenkeeper[bot] commented 7 years ago

Version 25.1.0 just got published.

Update to this version instead 🚀

Release Notes v25.1.0

25.1.0 (2016-12-28)

Features

  • app-specific client/server plugins (5ec889b2)
Commits

The new version differs by 3 commits .

  • 5ec889b feat: app-specific client/server plugins
  • 99db9e4 test: app-specific client/server plugins
  • baa54ac docs(README): app-specific client/server plugins

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 26.0.0 just got published.

Update to this version instead 🚀

Release Notes v26.0.0

26.0.0 (2017-01-05)

Bug Fixes

  • package: @hoodie/server@^22.0.0 (142e9a7a)

Features

Breaking Changes

  • Before this change, we loaded admin accounts from CouchDB’s /_config/admins API or for PouchDB we simply set the password to "secret" and wrote it into .hoodie/config.json

    We dropped persisting the admin password altogether and instead made it an option: adminPassword. If it’s not set, then no admin account exists.

    (5899eda1)

  • Before storing the secret in the database using PouchDB, it was stored in different ways based on the adapter.

    1. If the used PouchDB adapter was http (CouchDB), the secret was loaded from /_config/couch_httpd_auth/secret
    2. If the used PouchDB adapter was any other PouchDB adapter, the secret was stored in a file at <data path>/config.json

    To migrate to this version, create a database hoodie-config with a document {"_id": "hoodie", "secret": "<your secret here>"}

    (cd055af1)

  • CouchDB’s _users database is configurable at /_config/couch_httpd_auth/authentication_db. We read out this configuration and used it as the name of the users database. But as we don’t rely on the special behavior of CouchDB’s users database (auto-hashing of passwords) we can use any normal CouchDB database to store the accoutns of Hoodie. And as the /_config API is not implemented by CouchDB-like hosters like Cloudant, we want to store this configuration ourselves.

    For now, we hardcode the database name to default to _users. The name can be configured via options.account.usersDb.

    (e9ee7a06)

    (142e9a7a)

Commits

The new version differs by 5 commits .

  • 10e9c36 feat: adminPassword option
  • 9c247c9 test: adminPassword option
  • 0a5d199 docs(README): adminPassword option
  • 142e9a7 fix(package): @hoodie/server@^22.0.0
  • 96fb1e9 docs(README): remove obsolete comment

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 26.1.0 just got published.

Update to this version instead 🚀

Release Notes v26.1.0

26.1.0 (2017-01-08)

Features

  • 404 page for /hoodie/* resource URLs (823562e7)
Commits

The new version differs by 6 commits .

  • 823562e feat: 404 page for /hoodie/* resource URLs
  • c8fea9a test: 404 page for /hoodie/* resource URLs
  • f2cdc0d chore(package): update tap to version 9.0.0
  • a9fe20e docs(README): add missing "a" (#661)
  • fde24b9 docs(server): remove server README in favor of new docs
  • 3d267fa docs: initial version for readthedocs.org

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 26.2.0 just got published.

Update to this version instead 🚀

Release Notes v26.2.0

26.2.0 (2017-01-09)

Features

  • load /hoodie/client.js at Hoodie’s root route (/hoodie) (bdfea42b)
Commits

The new version differs by 4 commits .

  • e5f49bf refactor: load /hoodie/{account,store}/* assets from /public folder
  • 586e6b5 chore(package): -@hoodie/account, -@hoodie/store
  • bdfea42 feat: load /hoodie/client.js at Hoodie’s root route (/hoodie)
  • 7d8e2f8 docs(quickstart): OS -> operating systems

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 26.2.1 just got published.

Update to this version instead 🚀

Release Notes v26.2.1

26.2.1 (2017-01-10)

Bug Fixes

  • don’t handle /hoodie/*/api requests by the public /hoodie/* route handler (b3342984)
Commits

The new version differs by 2 commits .

  • b334298 fix: don’t handle /hoodie/*/api requests by the public /hoodie/* route handler
  • a5f53d7 style: standard

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 26.2.2 just got published.

Update to this version instead 🚀

Release Notes v26.2.2

26.2.2 (2017-01-10)

Bug Fixes

  • quick-start-test: correct error code returned from trap (b5f4a2b9)
Commits

The new version differs by 2 commits .

  • b5f4a2b fix(quick-start-test): correct error code returned from trap
  • fa35698 test: add script for ensuring quick-start instructions function correctly

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.0.0 just got published.

Update to this version instead 🚀

Release Notes v27.0.0

27.0.0 (2017-01-23)

Bug Fixes

  • serve index.html file from public path for GET /unknown (5429f284)
  • /hoodie/unknown responds with 404 (4eb2a425)
  • replace options.db with options.PouchDB (e110920f)

Features

  • drop dependency on LevelDB / node-gyp (0a312f05)

Breaking Changes

To keep using the LevelDB adapter as default, set the dbAdapter option to pouchdb-adapter-leveldb and instal the adapter as dependency of your app.

(0a312f05)

  • Your app is only affected if you use hoodie as a hapi plugin within your existing hapi app. Instead of passing options.db that would get passed to a PouchDB constructor internally, you know pass in options.PouchDB directly, with all defaults and adapters already set as your app requires it. With that the hapi usage of hoodie is coherent with @hoodie/server, @hoodie/account-server and @hoodie/store-server

    (e110920f)

Commits

The new version differs by 14 commits .

  • 5429f28 fix: serve index.html file from public path for GET /unknown
  • 3172ad2 test: serve index.html file from public path for GET /unknown
  • 4eb2a42 fix: /hoodie/unknown responds with 404
  • ae404fb test: /hoodie/unknown responds with 404
  • 0a312f0 feat: drop dependency on LevelDB / node-gyp
  • ee64a74 chore(package): -pouchdb-adapter-leveldb, +pouchdb-adapter-fs
  • 2d4eced test: replace leveldb default adapter with fs
  • 4a7fe07 docs(README): dbAdapter option
  • 0b64180 docs(guides): dbAdapter configuration option
  • e110920 fix: replace options.db with options.PouchDB
  • 86be64e test: replace options.db with options.PouchDB
  • f19d1de docs(README): options.PouchDB for hapi usage
  • f22ef69 chore(package): update nyc to version 10.1.0
  • e862ba9 doc(LICENSE): 2017

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.1.1 just got published.

Update to this version instead 🚀

Release Notes v27.1.1

27.1.1 (2017-01-25)

Bug Fixes

  • package: update browserify to version 14.0.0 (c2ab72ea)
Commits

The new version differs by 1 commits .

  • c2ab72e fix(package): update browserify to version 14.0.0

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.1.2 just got published.

Update to this version instead 🚀

Release Notes v27.1.2

27.1.2 (2017-01-31)

Bug Fixes

  • setup: don’t "hoodie-start" script if "start" script is set to "hoodie" (#681) (986b642d)
Commits

The new version differs by 2 commits .

  • 986b642 fix(setup): don’t "hoodie-start" script if "start" script is set to "hoodie" (#681)
  • 0261c17 chore(package): update tap to version 10.0.0

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.1.3 just got published.

Update to this version instead 🚀

Release Notes v27.1.3

27.1.3 (2017-02-13)

Bug Fixes

  • minor spelling - "wether" to "whether" (b2f16b82)
Commits

The new version differs by 5 commits .

  • b2f16b8 fix: minor spelling - "wether" to "whether"
  • 064b1cc docs: corrected table formatting and minor typos (#688)
  • f6dcd1d Fixing presentation/typos
  • 6630ebf Update deployment with one line deploy guide
  • cc80039 docs(configuration): renamed hoodie_AdminPassword to hoodie_adminPassword (#683)

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.1.4 just got published.

Update to this version instead 🚀

Release Notes v27.1.4

27.1.4 (2017-02-21)

Bug Fixes

  • register @hoodie/server before plugins (2f7b8fa6)
Commits

The new version differs by 9 commits .

  • 2f7b8fa fix: register @hoodie/server before plugins
  • b2f16b8 fix: minor spelling - "wether" to "whether"
  • 064b1cc docs: corrected table formatting and minor typos (#688)
  • f6dcd1d Fixing presentation/typos
  • 6630ebf Update deployment with one line deploy guide
  • cc80039 docs(configuration): renamed hoodie_AdminPassword to hoodie_adminPassword (#683)
  • 986b642 fix(setup): don’t "hoodie-start" script if "start" script is set to "hoodie" (#681)
  • 0261c17 chore(package): update tap to version 10.0.0
  • c2ab72e fix(package): update browserify to version 14.0.0

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.1.5 just got published.

Update to this version instead 🚀

Release Notes v27.1.5

27.1.5 (2017-02-22)

Bug Fixes

Commits

The new version differs by 2 commits .

  • 6417e5f test(unit): logger no longer passes data to stream
  • 72c36e9 fix: don’t stop the logging

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 27.2.0 just got published.

Update to this version instead 🚀

Release Notes v27.2.0

27.2.0 (2017-02-27)

Features

  • add a small note on powershell docs setup to CONTRIBUTING.md (62fe6276)
Commits

The new version differs by 7 commits .

  • 62fe627 feat: add a small note on powershell docs setup to CONTRIBUTING.md
  • 00a8e28 docs: linting on Travis, dev docs
  • 04e6828 docs(README): link to Getting Started Guide
  • b8a0e97 chore(travis): lint docs
  • b885758 chore(gitignore): docs/_build/
  • 1b69d6f chore(textlintrc): initial version
  • e1d9689 chore(package): linting docs

See the full diff.

greenkeeper[bot] commented 7 years ago

Version 28.0.0 just got published.

Update to this version instead 🚀

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 pouchdb-hoodie-api@2.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.

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

greenkeeper[bot] commented 7 years ago

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] commented 7 years ago

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] commented 7 years ago

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

greenkeeper[bot] commented 7 years ago

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] commented 7 years ago

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] commented 7 years ago

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

  • package: security update - hapi@16.4.1 (c4d97521)
Commits

The new version differs by 1 commits.

  • c4d9752 fix(package): security update - hapi@16.4.1

See the full diff

greenkeeper[bot] commented 7 years ago

Version 28.2.0 just got published.

Update to this version instead 🚀

Release Notes v28.2.0

<a name"28.2.0">

28.2.0 (2017-06-13)

Features

Commits

The new version differs by commits.

See the full diff

greenkeeper[bot] commented 7 years ago

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] commented 7 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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