Changelog

#299
chore: bump hoek and lab
#297
Document 1st arg can be an Error
10.0.0
breaking changes
#295
Support node v18, drop node v12
#289
fix: make reformat configurable in initialize
#286
Don't mess with instanceof checks called on subclasses
#285
Extending Boom and unexpected instanceof behavior
#281
Add proper index type to headers property
#279
TypeScript: Allow custom properties on output.payload
#278
Clean up d.ts comments
#277
output.payload.attributes is not exposed in the .d.ts file
#275
Make isBoom type definition laxer
#273
upgrade lab to v24 and devDependency of typescript
#266
Add optional statusCode parameter to Boom.isBoom
#265
Optional second param for Boom.isBoom() to verify status code
9.0.0
breaking changes
#262
Support only node 12
#261
Add HTTP code 425 Too Early
#260
boom.unathorized adds extra space to string value scheme in WWW-Authenticate header
8.0.1
breaking changes
#253
change new Boom() to new Boom.Boom()
#252
Drop support for node 8
#251
Add types
#246
boom doesn't consider message not set directly on error object when deciding whether it is a compatible error
#282
Latest v7-commercial release (v7.4.11) is broken
#248
Error TS2709: Cannot use namespace 'Boom' as a type.
#245
Fix default export. Fixes #244.
#244
Typescript - can't extend Boom
#243
Improve types
#242
Typescript definitions missing internal()
#241
Ts fix
#240
Fix types: Update static isBoom to be a type guard.
#239
Missing error properties
#238
Fix types: serviceUnavailable -> serverUnavailable.
#237
Types have typo: serverUnavailable -> serviceUnavailable
7.4.5
breaking changes
#216
Handle case of message property with getter-only
#215
`typeof` and `reformat` should not be enumerable
#233
Added TS declarations
#229
Update deps
#221
Update deps
#220
Fix dependency
#219
Change module namespace
#211
add debug mode to reformat()
#208
Remove engines
#206
Update hoek v6
#188
424 Failed dependency implementation
7.1.1
breaking changes
#173
Support instanceof
#172
Add decorate option
7.0.0
breaking changes
#171
Remove wrap() and create()
6.0.0
breaking changes
#165
Node v8
#218
Load the commercial version of hoek
#217
Commercial version of v5 branch
#160
Allow decorating a boom error
#157
Hide message on 500 when error is provided as data
#156
Added typeOf functionality
5.0.0
breaking changes
#154
Boom.wrap with a provided message doesn't format the payload
#152
Boom.badGateway( string, Boom.anything() )
#149
fix #148 when Boom supplied to wrapper
#148
Remove line from wrap function
#147
Unauthorized extension for #146
#146
Unauthorized
#142
Boom.wrap never sends custom message to client
#139
Adds support for `Boom.someMethod(err)`, closes #138
#138
Preservation of `err.name` via `Boom.create` or `Boom[someMethod]`
#78
Add Boom.teapot() method with documentation and tests
#133
Add 'allow' parameter to methodNotAllowed for setting 'Allow' header
#132
405 Method Not Allowed should provide an argument for specifying "Allow" header
#130
Add 402 payment required
#129
Add Boom.internal() to API docs fixes #127
4.0.0
breaking changes
#125
Remove deprecated serverTimeout
#118
Remove serverTimeout()
#121
Added .npmignore file.
#119
Rename serverTimeout to serverUnavailable
#117
serverTimeout() should be aliased to serverUnavailable()
#108
Create .npmignore
#113
Updated to code 3.
#112
Added HTTP code 423 Locked
#111
HTTP Error 423 (Locked)
#110
Added node 6.
#97
Use quotes instead of backticks
#95
Changed prototype logic.
#94
Cleanup for 254593fd1d09e79049692675a4f9b7b5108b36d8
#93
Document Illegal
#92
Status Code Hash
#91
Add new 451 Unavailable For Legal Reasons
3.0.0
breaking changes
#83
es6 style. Closes #77
#77
Node 4 Updates
#81
Upgrade to lab 7.x.x
#80
Fix ctor passing in serverError helper
#79
Stack trace filtering not working for serverError constructors
#75
Support Precondition Required
#74
Precondition required is not supported
#68
Call captureStackTrace to filter boom from traces
#67
Use captureStackTrace to remove boom artifacts from stack traces
#63
Unauthorized
#62
Expose unauthorized attributes in payload
#60
Style Cleanup
#59
Update license attribute
#52
Coerse statusCode to an Integer
#51
Make sure Boom initialize method auto cast string statusCode to Integer if possible
#45
Added isServer
#41
Easy way to determine if the client or server is at fault
#40
Lab 5.0, code 1.0
#33
Added status code 429 Too Many Requests.
#27
Update to lab 4.x.x. Bumped version.
#26
Rename spumko to hapijs
#25
Add a 422 badData method
#23
Default message to http status
#22
Upgrade dependencies
#21
Allow every helper to set data property
#20
Internal errors (500) should never expose err.message
#19
Bring coverage back to 100% after lab fix
#17
Don't override data if user error already have a data attribute