Skip to content

Releases: hemerajs/hemera

[email protected]

05 Feb 20:32
Compare
Choose a tag to compare

Upgrade avvio to v5.1

[email protected]

30 Dec 18:26
Compare
Choose a tag to compare

Throw error when hemera was already boostraped

[email protected]

30 Dec 18:09
Compare
Choose a tag to compare
  • Allow hemera to be ready even when the nats connection was already established

[email protected]

27 Dec 15:07
Compare
Choose a tag to compare
  • Introduce hemera.reply([Error, any]) to reply multiple message. Don't call cb multiple times.

[email protected]

24 Dec 23:15
Compare
Choose a tag to compare
  • Don't close hemera when an error listener was registered

[email protected]

24 Dec 16:53
Compare
Choose a tag to compare

Execute onClose hook and gracefully shutdown hemera on synchronous uncaught error

[email protected]

24 Dec 16:36
Compare
Choose a tag to compare

Improvements

  • Don't swallow synchronous uncaught errors, let them handle by the user. This is needed to identify the real error during testing. If you add an hemera.on('error') listener all errors are caught. (Default behavior of an event-emitter)
  • Gracefully shutdown nats and process when calling fatal()

Breaking Changes

  • Any synchronous uncaught error will exit the process except you define an hemera.on('error') listener or catch it manually. If you use promises or async / await then it has no effect.

[email protected]

22 Dec 17:25
Compare
Choose a tag to compare
  • Use same way in all cases to handle the end of a request lifecycle.
  • Update doc

[email protected]

22 Dec 17:11
Compare
Choose a tag to compare
  • Support async, promise and raw values in middlewares
  • Clean up code, remove unused functions and tests
  • Avoid calling action when calling reply.end(<msg>) in middlewares

[email protected]

20 Dec 18:45
Compare
Choose a tag to compare
  • add When no callback is provided any returned value is accepted as a result.