Changelog
Version 10
10.0.1
10.0.0
- #295 Support node v18, drop node v12
Version 9
9.1.4
- #289 fix: make reformat configurable in initialize
9.1.3
- #286 Don't mess with instanceof checks called on subclasses
- #285 Extending Boom and unexpected instanceof behavior
9.1.2
- #281 Add proper index type to headers property
9.1.1
- #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
9.1.0
- #266 Add optional statusCode parameter to Boom.isBoom
- #265 Optional second param for Boom.isBoom() to verify status code
9.0.0
- #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
Version 8
8.0.1
- #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
Version 7
7.4.12
- #282 Latest v7-commercial release (v7.4.11) is broken
7.4.11
- #248 Error TS2709: Cannot use namespace 'Boom' as a type.
7.4.10
7.4.9
- #243 Improve types
7.4.8
- #242 Typescript definitions missing internal()
- #241 Ts fix
- #240 Fix types: Update static isBoom to be a type guard.
7.4.7
- #239 Missing error properties
7.4.6
- #238 Fix types: serviceUnavailable -> serverUnavailable.
- #237 Types have typo: serverUnavailable -> serviceUnavailable
7.4.5
- #216 Handle case of message property with getter-only
- #215
typeofandreformatshould not be enumerable
7.4.4
- #233 Added TS declarations
7.4.3
- #229 Update deps
7.4.2
- #221 Update deps
7.4.1
- #220 Fix dependency
7.4.0
- #219 Change module namespace
7.3.0
- #211 add debug mode to reformat()
7.2.2
- #208 Remove engines
7.2.1
- #206 Update hoek v6
7.2.0
- #188 424 Failed dependency implementation
7.1.1
- #173 Support instanceof
7.1.0
- #172 Add decorate option
7.0.0
- #171 Remove wrap() and create()
Version 6
6.0.0
- #165 Node v8
Version 5
5.3.1
- #218 Load the commercial version of hoek
5.3.0
- #217 Commercial version of v5 branch
5.2.0
- #160 Allow decorating a boom error
5.1.0
5.0.0
- #154 Boom.wrap with a provided message doesn't format the payload
- #152 Boom.badGateway( string, Boom.anything() )
Version 4
4.3.1
4.3.0
- #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.nameviaBoom.createorBoom[someMethod] - #78 Add Boom.teapot() method with documentation and tests
4.2.0
- #133 Add 'allow' parameter to methodNotAllowed for setting 'Allow' header
- #132 405 Method Not Allowed should provide an argument for specifying "Allow" header
4.1.0
4.0.0
Version 3
3.2.2
- #121 Added .npmignore file.
- #119 Rename serverTimeout to serverUnavailable
- #117 serverTimeout() should be aliased to serverUnavailable()
- #108 Create .npmignore
3.2.1
- #113 Updated to code 3.
3.2.0
3.1.3
- #110 Added node 6.
3.1.2
- #97 Use quotes instead of backticks
3.1.1
- #95 Changed prototype logic.
3.1.0
- #94 Cleanup for 254593fd1d09e79049692675a4f9b7b5108b36d8
- #93 Document Illegal
- #92 Status Code Hash
- #91 Add new 451 Unavailable For Legal Reasons
3.0.0
Version 2
2.10.1
- #81 Upgrade to lab 7.x.x
- #80 Fix ctor passing in serverError helper
- #79 Stack trace filtering not working for serverError constructors
2.10.0
2.9.0
- #68 Call captureStackTrace to filter boom from traces
- #67 Use captureStackTrace to remove boom artifacts from stack traces
2.8.0
2.7.2
- #59 Update license attribute
2.7.1
- #52 Coerse statusCode to an Integer
- #51 Make sure Boom initialize method auto cast string statusCode to Integer if possible
2.7.0
2.6.1
- #40 Lab 5.0, code 1.0
2.6.0
- #33 Added status code 429 Too Many Requests.
2.5.1
- #27 Update to lab 4.x.x. Bumped version.
2.5.0
2.4.2
- #23 Default message to http status
2.4.1
- #22 Upgrade dependencies
2.4.0
- #21 Allow every helper to set data property
2.3.0
- #20 Internal errors (500) should never expose err.message
2.2.2
- #19 Bring coverage back to 100% after lab fix
2.2.1
- #17 Don't override data if user error already have a data attribute