You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Version [3.2.1](https://github.com/futurestudio/hapi-dev-errors/compare/v3.2.0...v3.2.1) (2019-01-22)
4
10
5
11
### Updated
6
12
- use `request.path` over `request.url.path` to support hapi 18
@@ -13,21 +19,21 @@
13
19
- update tests to use `it` over `test`
14
20
15
21
16
-
## Version [3.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.1.0...v3.2.0) (2018-10-10)
17
-
-`add` new option [`links`](https://github.com/fs-opensource/hapi-dev-errors#plugin-registration-options) which represents an array of callback functions to render helpful links. By default, `hapi-dev-errors` renders linked SVG icons for Google and Stack Overflow to search for help based on the error message
22
+
## Version [3.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.1.0...v3.2.0) (2018-10-10)
23
+
-`add` new option [`links`](https://github.com/futurestudio/hapi-dev-errors#plugin-registration-options) which represents an array of callback functions to render helpful links. By default, `hapi-dev-errors` renders linked SVG icons for Google and Stack Overflow to search for help based on the error message
18
24
19
25
20
-
## Version [3.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.0.1...v3.1.0) (2018-09-28)
26
+
## Version [3.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.0.1...v3.1.0) (2018-09-28)
21
27
-`add` pass `request` to custom view: this allows you to access every request property
22
28
-`add` pass `error` to custom view: this allows you to access every response property
23
-
-`add` tests to verify plugin functionality for failed response validations (thank you [venikman](https://github.com/fs-opensource/hapi-dev-errors/pull/6))
29
+
-`add` tests to verify plugin functionality for failed response validations (thank you [venikman](https://github.com/futurestudio/hapi-dev-errors/pull/6))
24
30
-`update` dependencies
25
31
26
-
## Version [3.0.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.0.0...v3.0.1) (2018-08-21)
32
+
## Version [3.0.1](https://github.com/futurestudio/hapi-dev-errors/compare/v3.0.0...v3.0.1) (2018-08-21)
27
33
-`update` readme: quick navigation and logo size fix for small screens
28
34
29
35
30
-
## Version [3.0.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.3.0...v3.0.0) (2018-07-17)
36
+
## Version [3.0.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.3.0...v3.0.0) (2018-07-17)
31
37
-`add` Youch error view as the default error view
32
38
-`add` Insomnia REST client to list of REST clients
33
39
-`add` register plugin only once by activating the hapi plugin’s `once: true` attribute
@@ -43,60 +49,60 @@ The most important breaking change is the removed `useYouch` option. Upgrading t
43
49
If you used the default error view before, you’ll now see the Youch error details instead. You’ll like it :)
44
50
45
51
46
-
## Version [2.3.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.2.0...v2.3.0) (2018-07-12)
52
+
## Version [2.3.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.2.0...v2.3.0) (2018-07-12)
47
53
-`add` new plugin option: `toTerminal`, default: `true`
48
54
-`add` pretty error details in the terminal besides the web view. Based on [`youch-terminal`](https://github.com/poppinss/youch-terminal)
49
55
-`update` minor code reformats and restructuring
50
56
51
57
52
-
## Version [2.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.1.0...v2.2.0) (2018-06-02)
58
+
## Version [2.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.1.0...v2.2.0) (2018-06-02)
53
59
-`add` JSON response for CLI requests (cURL, Postman, wget) (thank you @pi0)
54
60
55
61
56
-
## Version [2.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.1...v2.1.0) (2018-02-12)
62
+
## Version [2.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.1...v2.1.0) (2018-02-12)
57
63
-`add` status code to Youch error and show it in the view
58
64
-`update` example code in readme to async/await
59
65
-`update` examples to fully async/await code
60
66
61
67
62
-
## Version [2.0.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.0...v2.0.1) (2017-11-06)
68
+
## Version [2.0.1](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.0...v2.0.1) (2017-11-06)
63
69
-`update` dependencies to latest stable releases
64
70
-`update` readme
65
71
66
72
67
-
## Version [2.0.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.0-rc.1...v2.0.0) (2017-11-06)
73
+
## Version [2.0.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.0-rc.1...v2.0.0) (2017-11-06)
68
74
-`update` readme: requirements and examples
69
75
70
76
71
-
## Version [2.0.0-rc.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.2...v2.0.0-rc.1) (2017-10-27)
77
+
## Version [2.0.0-rc.1](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.2...v2.0.0-rc.1) (2017-10-27)
72
78
-`update` code to support hapi v17
73
79
-`update` dependencies to newest versions
74
80
75
81
76
-
## Version [1.3.2](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.1...v1.3.2) (2017-10-18)
82
+
## Version [1.3.2](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.1...v1.3.2) (2017-10-18)
77
83
-`update` code formatting to ESLint styling for hapi, based on `eslint-config-hapi`
78
84
-`add` Handlebars as devDependency for template example
79
85
80
86
81
-
## Version [1.3.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.0...v1.3.1) (2017-10-17)
87
+
## Version [1.3.1](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.0...v1.3.1) (2017-10-17)
82
88
-`remove` editor config for code formatting (`.editorconfig` file)
83
89
-`add` eslint configuration via `.eslintrc.json`
84
90
-`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.
85
91
86
92
87
-
## Version [1.3.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.2.0...v1.3.0) (2017-10-12)
93
+
## Version [1.3.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.2.0...v1.3.0) (2017-10-12)
88
94
-`add` handling of promise rejections, like `reply(Promise.reject(new Error('')))` (Thank you [Tafari](https://github.com/tafarij))
89
95
90
96
91
-
## Version [1.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.1.0...v1.2.0) (2017-08-18)
97
+
## Version [1.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.1.0...v1.2.0) (2017-08-18)
92
98
-`add` new option `useYouch` (boolean) to delegate the error handling to Youch and use its view
93
99
-`add` preview of Youch’s error view in the readme introduction
94
100
-`add` examples for the default, Youch and custom templates. Located within the `examples` directory
95
101
-`update` preview of default error view to show updated layout
96
102
-`update` highlight JS files in stacktrace (via RegEx) on default layout
97
103
98
104
99
-
## Version [1.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.0.0...v1.1.0) (2017-06-14)
105
+
## Version [1.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.0.0...v1.1.0) (2017-06-14)
100
106
-`optimize` plugin registration: abort early if `showErrors` is false, don’t get the template from filesystem and don’t hook the the request lifecycle extension point
<em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> for updates!</em>
@@ -41,7 +41,7 @@ A hapi plugin to return an error view for web requests, providing more details o
41
41
42
42
`hapi-dev-errors` seamlessly integrates [Youch](https://github.com/poppinss/youch) to show the error details.
43
43
44
-
Besides the web view, `hapi-dev-errors` prints pretty error details to the terminal. This is nice when running your hapi server as an API. Printing error details to the console is enabled by default. To disable the terminal error, use the [`toTerminal: false` option](https://github.com/fs-opensource/hapi-dev-errors#plugin-registration-options).
44
+
Besides the web view, `hapi-dev-errors` prints pretty error details to the terminal. This is nice when running your hapi server as an API. Printing error details to the console is enabled by default. To disable the terminal error, use the [`toTerminal: false` option](https://github.com/futurestudio/hapi-dev-errors#plugin-registration-options).
0 commit comments