github redis/node-redis redis@5.12.0

latest releases: redis@5.12.1, entraid@5.12.1, time-series@5.12.1...
20 hours ago

✨ What's Changed

🚀 Features

  • feat: expose sendCommand on multi for all clients by @nkaradzhov in #3181
  • feat(sentinel): add sSubscribe/sUnsubscribe methods to Sentinel client by @nkaradzhov in #3178

🐛 Fixes

🔭 Observability (OTEL + Diagnostics)

Node Redis now ships with first-class observability via OpenTelemetry metrics and Node.js diagnostics_channel. Initialize OpenTelemetry before creating clients (OpenTelemetry.init({ metrics: { enabled: true } })) and you can plug Redis client telemetry into your existing OTel SDK/exporter pipeline.

This enables visibility into command latency, connection lifecycle, resiliency/errors, Pub/Sub traffic, streaming behavior, and client-side caching activity. On top of metrics, diagnostics channels provide a more abstract, higher-level way to track runtime behavior through low-overhead event streams (commands, batches, connection events, maintenance notifications, pub/sub, cache, and pool wait timing), so APM tools or custom subscribers can observe the system without changing application code.

🧪 Tests & CI

📚 Docs

🙌 New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.11.0...redis@5.12.0

Don't miss a new node-redis release

NewReleases is sending notifications on new releases.