Skip to content

Update hoodie to version 26.0.0 🚀#281

Open
greenkeeperio-bot wants to merge 1 commit into
masterfrom
greenkeeper-hoodie-26.0.0
Open

Update hoodie to version 26.0.0 🚀#281
greenkeeperio-bot wants to merge 1 commit into
masterfrom
greenkeeper-hoodie-26.0.0

Conversation

@greenkeeperio-bot
Copy link
Copy Markdown
Contributor

Hello lovely humans,

hoodie just published its new version 26.0.0.

State Update 🚀
Dependency hoodie
New version 26.0.0
Type dependency

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

Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?

There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

Good luck with your project ✨

You rock!

🌴


GitHub Release

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)


This pull request was created by greenkeeper.io.

Tired of seeing this sponsor message? ⚡ greenkeeper upgrade

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.

2 participants