github moleculerjs/moleculer v0.14.20

latest releases: v0.14.35, v0.14.34, v0.15.0-beta1...
2 years ago

52 commits from 8 contributors.

Dependency logic changed #1077

In mixed architecture, it's not hard to create a circular service dependency that may cause a dead-lock during the start of Moleculer nodes. The problem is that Moleculer node only sends the local service registry to remote nodes after all local services started properly.
As of 0.14.20, this behavior has changed. The new logic uses a debounced registry sending method which is triggered every time a local service, that the node manages, has started().
Note that the new method generates more INFO packets, than early versions, during the start of the node. The number of INFO packets depends on the number of the services that the node manages. The debounce timeout, between sending INFO packets, is 1 second.

Other Changes

  • fix ActionLogger and TransitLogger middlewares.
  • update Datadog Logger using v2 API. #1056
  • update dependencies.
  • update d.ts file. #1064, #1073
  • fix pino child logger bindings. #1075

Don't miss a new moleculer release

NewReleases is sending notifications on new releases.