Releases: felixheck/laabr
Releases · felixheck/laabr
Add new hapi-pino and pino option validators
v3.1.2 3.1.2
Fix Hapi-Pino Dependency
v3.1.1 3.1.1
Expose Plugin on root level
- it's not longer necessary to register
laabr.plugin
- use the module itself instead
laabr.plugin
will be deprecated withv4.0.0
Support hapi v17
Aside from the breaking changes due to hapi
v17, this major release disabled correlationId
-related features & options until the module correlation-id
supports async_hooks
instead of continuation-local-storage
Fix `handleUncaught` and error stack token
v2.4.1 2.4.1
Handle Uncaught Exceptions
-
add
option.handleUncaught
to log uncaught exceptions -
add
source
option to the token:error
to get the file path, line number and column number of error if available::error[source]
Extended Options
- Added
options.formats
,options.presets
,options.tokens
to enable config-based setup w/o any function call
Hotfix: Correlation ID
-
Using
req.headers['x-laabr-cid']
instead ofreq.cid
to avoid inconsistencies due to hapi compression handling when noaccept-encoding
header is set. -
Remove override of
options.hapiPino.mergeHapiLogData
to enable user to be more flexible.
Caution: enabling this options effects the:message
token. Take a look in the API docs.
Hotfix: Formatters Options
v2.2.2 2.2.2
Expose options to pre/postformatters
v2.2.1 2.2.1