hapi-dev-errors
Advanced tools
Changelog
Version 3.0.0 (2018-07-17)
add
Youch error view as the default error viewadd
Insomnia REST client to list of REST clientsadd
register plugin only once by activating the hapi plugin’s once: true
attributeupdate
response type for JSON responses to application/json
update
JSON responses have well-formatted payloadupdate
examples: use a wildcard route and show error details for each pathremove
the useYouch
plugin option (Youch is the default now)remove
previous default error viewThe most important breaking change is the removed useYouch
option. Upgrading to hapi-dev-errors
3.0 should be no problem, even if you use the useYouch
option. Because Youch is the default error view in 3.0, you’ll receive the exact same error view.
If you used the default error view before, you’ll now see the Youch error details instead. You’ll like it :)
Changelog
Version 2.3.0 (2018-07-12)
add
new plugin option: toTerminal
, default: true
add
pretty error details in the terminal besides the web view. Based on youch-terminal
update
minor code reformats and restructuringChangelog
Version 2.0.0-rc.1 (2017-10-27)
update
code to support hapi v17update
dependencies to newest versionsChangelog
Version 1.3.1 (2017-10-17)
remove
editor config for code formatting (.editorconfig
file)add
eslint configuration via .eslintrc.json
add
required engine in package.json
: >=4.0.0
. This package required Node.js v4+ with release 1.0. This setting makes sure that NPM follows this dependency.