Skip to content

v3.5.0

Choose a tag to compare

@Mikhus Mikhus released this 30 Jul 19:08
· 46 commits to master since this release

Minor release — two fixes that both bite in real deployments.

Fixes

  • Exposed methods now resolve through the prototype chain. If your service inherited an @exposed method from a base class, it was not found — only methods defined directly on the service class resolved. Shared base-class services work now.
  • The metrics endpoint serves text/plain. It previously sent a content type Prometheus would not scrape.

Documentation

  • Doc-blocks rewritten in TSDoc so the generated reference renders.

About

@imqueue/rpc is the type-safe RPC framework of @imqueue: self-describing service classes over a Redis message queue that generate their own strongly-typed clients — no hand-written client code, no .proto, no service discovery, no load balancer. Delayed calls via IMQDelay, optional caching and locking decorators. Node.js and TypeScript only, Redis only.