Releases: hemerajs/hemera
Releases · hemerajs/hemera
[email protected]
Fixes
- Calling reply.send inside async middleware doesn't stop the chain - #244
[email protected]
Hooks refactoring #236
[email protected]
Bugfix
Fix #233
[email protected]
Upgrade to [email protected] and expose plugin timeout
option to hemera.
[email protected]
- Upgrade to Pino 5 logger. https://github.com/pinojs/pino/releases/tag/v5.0.0
- Don't check custom logger instance with Joi because it produces side-effects and causes an error. #221
- Don't handle errors as success payload in case of the wrong usage of promises or Error-First-Callback:
Promise.reject('success')
cb('success', null)
Breaking changes
- PrettyLog is disabled by default. You have to install
pino-pretty
in order to archive the same result. More informations here - Only native error objects can be responded. In case of an invalid error, the server will log an error and the client will timeout.
[email protected]
Fixed
- Don't swallow
onServerPreResponse
error it has precedence over other extension errors.
Miscellaneous
- Add more test
- Add example for server extensions
[email protected]
- #220 Set metadata context correctly when subsequent calls use different values for the same metadata properties'
[email protected]
- Validate typescript types on ci and test hook
- Improve typescript types
[email protected]
Improve typescript types
[email protected]
- Add
pattern
,transport
properties to client request object. - Remove getter and setters
- Update docs and examples.