GitPedia
hemerajs

hemerajs/hemera

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

30 Releases
Latest: 6y ago
nats-hemera@7.0.2Latest
StarpTechStarpTech·6y ago·October 20, 2019
GitHub

🐛 Fixes

  • Calling reply.send inside async middleware doesn't stop the chain - https://github.com/hemerajs/hemera/issues/244
nats-hemera@7.0.0
StarpTechStarpTech·7y ago·February 16, 2019
GitHub

Hooks refactoring https://github.com/hemerajs/hemera/pull/236

hemera-ajv@0.2.6
StarpTechStarpTech·7y ago·December 11, 2018
GitHub

# Bugfix Fix https://github.com/hemerajs/hemera/issues/233

nats-hemera@6.1.0
StarpTechStarpTech·7y ago·October 6, 2018
GitHub

Upgrade to [Avvio@6.0.0](https://github.com/mcollina/avvio/releases/tag/v6.0.0) and expose plugin `timeout` option to hemera.

nats-hemera@6.0.0
StarpTechStarpTech·7y ago·August 11, 2018
GitHub

📋 Changes

  • 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. https://github.com/hemerajs/hemera/issues/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](https://hemerajs.github.io/hemera/docs/logging.html#pretty-logs)
  • Only native error objects can be responded. In case of an invalid error, the server will log an error and the client will timeout.
nats-hemera@5.8.9
StarpTechStarpTech·7y ago·August 5, 2018
GitHub

🐛 Fixed

  • Don't swallow `onServerPreResponse` error it has precedence over other extension errors.

📦 Miscellaneous

  • Add more test
  • Add [example](https://github.com/hemerajs/hemera/blob/master/examples/basic/extensions.js) for server extensions
nats-hemera@5.8.8
StarpTechStarpTech·7y ago·July 26, 2018
GitHub

📋 Changes

  • https://github.com/hemerajs/hemera/pull/220 Set metadata context correctly when subsequent calls use different values for the same metadata properties'
nats-hemera@5.8.5
StarpTechStarpTech·8y ago·June 8, 2018
GitHub

📋 Changes

  • Validate typescript types on ci and test hook
  • Improve typescript types
nats-hemera@5.8.4
StarpTechStarpTech·8y ago·June 7, 2018
GitHub

Improve typescript types

nats-hemera@5.8.0
StarpTechStarpTech·8y ago·June 1, 2018
GitHub

📋 Changes

  • Add `pattern`, `transport` properties to client request object.
  • Remove getter and setters
  • Update docs and examples.
nats-hemera@5.7.1
StarpTechStarpTech·8y ago·May 31, 2018
GitHub

🐛 Fixed

  • Hemera emit an error when nats connection was closed so process watchers can restart it accordingly.
nats-hemera@5.7.0
StarpTechStarpTech·8y ago·May 30, 2018
GitHub

📋 Changes

  • Add `tag` to trace logs https://github.com/hemerajs/hemera/pull/213
  • Some internal clean ups
nats-hemera@5.6.0
StarpTechStarpTech·8y ago·May 28, 2018
GitHub

📋 Changes

  • Fix logging message
  • Add logs for server and client hooks (Request- started, received, responded, completed)
  • Improve knabe plugin
nats-hemera@5.5.0
StarpTechStarpTech·8y ago·May 24, 2018
GitHub

📋 Changes

  • Improved request logs.
  • New option `traceLog` to attach tracing information to each log.
nats-hemera@5.4.9
StarpTechStarpTech·8y ago·May 21, 2018
GitHub

📋 Changes

  • Remove `this.request$.parentId` because it's duplicated. The parent relationship is tracked in `this.trace$.parentSpanId`
  • Update docs
  • Improve tests
nats-hemera@5.4.8
StarpTechStarpTech·8y ago·May 19, 2018
GitHub

📋 Changes

  • Improve nats-hemera types https://github.com/hemerajs/hemera/pull/209
  • Softening logger interface https://github.com/hemerajs/hemera/pull/208
nats-hemera@5.4.7
StarpTechStarpTech·8y ago·May 6, 2018
GitHub

Avoid to create separate promise in catch case when callback-style is used. Perf gains ~10%.

nats-hemera@5.4.6
StarpTechStarpTech·8y ago·May 5, 2018
GitHub

📋 Changes

  • Update deps
  • Use strict mode in `index.js`
nats-hemera@5.4.5
StarpTechStarpTech·8y ago·April 26, 2018
GitHub

📋 Changes

  • improve TS types
nats-hemera@5.4.4
StarpTechStarpTech·8y ago·April 26, 2018
GitHub

📋 Changes

  • improve TS types
nats-hemera@5.4.3
StarpTechStarpTech·8y ago·April 26, 2018
GitHub

📋 Changes

  • improve TS types
nats-hemera@5.4.2
StarpTechStarpTech·8y ago·April 19, 2018
GitHub

Remove redundant error log https://github.com/hemerajs/hemera/pull/207

nats-hemera@5.4.0
StarpTechStarpTech·8y ago·April 17, 2018
GitHub

📋 Changes

  • Allow to pass a stream to default logger Pino
  • Refactor logger configuration
  • Improve tests
nats-hemera@5.3.0
StarpTechStarpTech·8y ago·April 10, 2018
GitHub

📋 Changes

  • Refactor plugin dependencies
  • Add decorator dependencies
  • Simplify hemera-plugin
nats-hemera@5.2.0
StarpTechStarpTech·8y ago·April 10, 2018
GitHub

**FIXED**: Decorator should always extend the core hemera instance. **NEW**: Implement `hemera.expose()` to extend the current plugin instance.

nats-hemera@5.1.2
StarpTechStarpTech·8y ago·April 5, 2018
GitHub

📋 Changes

  • Remove `expectedMessages$` from `Add` object.
  • Don't assign default inbox queue to `Add` object.
nats-hemera@5.1.1
StarpTechStarpTech·8y ago·April 4, 2018
GitHub

Fixed regression of `maxMessages$: -1`

nats-hemera@5.1.0
StarpTechStarpTech·8y ago·April 3, 2018
GitHub

📋 Changes

  • Implement `setResponseSchemaCompiler` for better abstraction for response validators
  • Update hemera-joi and hemera-ajv to use `setResponseSchemaCompiler`
  • Remove hemera-joi from plugins and use simple middleware and joi
nats-hemera@5.0.6
StarpTechStarpTech·8y ago·April 3, 2018
GitHub

🐛 Fixed

  • `hemera.add` returns an `Add` Object which should return all information about the subscription. `sid` and `queue` was missing. This also effects the `onAdd` hook.

📦 Miscellaneous

  • Internal refactoring
nats-hemera@5.0.5
StarpTechStarpTech·8y ago·April 2, 2018
GitHub

📋 Changes

  • Clean up pattern after maxMessages$ received in server action
  • Add tests