Skip to content

Releases: hemerajs/hemera

[email protected]

09 Oct 19:24
Compare
Choose a tag to compare
  • Fixed missing emit for serverResponseError event
  • Pass always the original error to serverResponseError and clientResponseError
  • Add tests

[email protected]

08 Oct 11:26
Compare
Choose a tag to compare

Rename internal _prevContext to _parentContext

[email protected]

07 Oct 13:00
Compare
Choose a tag to compare
  • Check for async /await usage during result evaluation gains ~4% perf
  • Add promise based tests for add
  • Add promise support when return a promise inside an add handler

[email protected]

07 Oct 12:09
Compare
Choose a tag to compare
  • Check for async /await usage during result evaluation gains ~8% perf
  • Add promise based tests for act
  • Add promise support when return a promise inside an act callback
  • Add precommit hook

[email protected]

06 Oct 15:43
Compare
Choose a tag to compare
  • Pass callback handler in pubsub$ mode to nats driver. Error is passed as first argument and promise is rejected.

[email protected]

06 Oct 10:27
Compare
Choose a tag to compare
  • Don't overwrite the plugin name when registering an array of plugins with .use([plugin,], opts)

[email protected]

05 Oct 16:32
Compare
Choose a tag to compare
  • Fixed: Fulfill promise when use pubsub mode in act.
  • Improvement: Avoid to cloneDeep the pattern in add routine.

If you use pubsub$: true in act the callback is fired after the message was published. The promise is resolved to undefined and an error is not possible to report. Connection issues are raised with the error event.

[email protected]

03 Oct 22:34
Compare
Choose a tag to compare
  • Remove callback in .use([plugin], opts, cb) use .use([plugin], opts).after(cb) instead. This is consistent in registering one or multiple plugins.

[email protected]

03 Oct 16:34
Compare
Choose a tag to compare
  • Remove some legacy code from 1.x

[email protected]

03 Oct 12:22
Compare
Choose a tag to compare
  • Support .close without passing a callback.