hemera

🔬 Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/

MIT License

Downloads
77.3K
Stars
805
Committers
20

Bot releases are visible (Hide)

hemera -

Published by StarpTech almost 7 years ago

  • Encapsulate plugin options, name, dependencies with Symbols. Example
  • Introduce plugin dependencies check. Example
  • Support single function as plugin
  • Plugin name isn't required anymore. When no name is defined a name will be generated anonymous-<count>
  • Remove support for hemera-parambulator, hemera-snappy
  • Move hemera-mongo-store in seperate repository to support CI.
  • Drop support for Node 4. Only 6+ is supported.
hemera -

Published by StarpTech almost 7 years ago

  • Throw synchronous error pattern already in use
hemera -

Published by StarpTech almost 7 years ago

hemera -

Published by StarpTech almost 7 years ago

Throw error when trying to register patterns with different transport options but with the same topic. You have to use a different topic.

hemera -

Published by StarpTech almost 7 years ago

  • Remove legacy code of plugin timeout (errors and config)
hemera -

Published by StarpTech about 7 years ago

  • Fixed: Support falsy values except undefined as valid server response.
hemera -

Published by StarpTech about 7 years ago

  • Support async / await in extensions
hemera -

Published by StarpTech about 7 years ago

  • Upgrade avvio to 3.0.0
  • Support async plugin functions
  • Update plugin docs and async / await example
hemera -

Published by StarpTech about 7 years ago

  • Rewrite util functions in pure javascript and remove lodash in util.js gains ~6% performance.
hemera -

Published by StarpTech about 7 years ago

  • Fixed: Don't call add handler twice when using promises. This issue only affected hemera 2.1.5-7
hemera -

Published by StarpTech about 7 years ago

  • Fixed missing emit for serverResponseError event
  • Pass always the original error to serverResponseError and clientResponseError
  • Add tests
hemera -

Published by StarpTech about 7 years ago

Rename internal _prevContext to _parentContext

hemera -

Published by StarpTech about 7 years ago

  • 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
hemera -

Published by StarpTech about 7 years ago

  • 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
hemera -

Published by StarpTech about 7 years ago

  • Pass callback handler in pubsub$ mode to nats driver. Error is passed as first argument and promise is rejected.
hemera -

Published by StarpTech about 7 years ago

  • Don't overwrite the plugin name when registering an array of plugins with .use([plugin,], opts)
hemera -

Published by StarpTech about 7 years ago

  • 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.

hemera -

Published by StarpTech about 7 years ago

  • Remove callback in .use([plugin], opts, cb) use .use([plugin], opts).after(cb) instead. This is consistent in registering one or multiple plugins.
hemera -

Published by StarpTech about 7 years ago

  • Remove some legacy code from 1.x
hemera -

Published by StarpTech about 7 years ago

  • Support .close without passing a callback.
Package Rankings
Top 2.0% on Npmjs.org
Badges
Extracted from project README
appcom-interactive amerbank savicontrols mercado unico