Changelog - 2026-11-03
RedisSingleHelper takes no password for a Redis that has none
EnhancementIn one line. Leave password out when your Redis has no password. You no longer pass '' or cast.
What changed
passwordonIRedisSingleHelperPropsis optional. This coversnew RedisSingleHelper({...})andRedisHelperFactory.createinRedisModes.SINGLE. Cluster and sentinel already took an optional password.- Nothing changes at run time. The helper passes the value straight to ioredis, as before.
Who is affected
- Code that passed
password: ''orprocess.env.X ?? '', or cast anundefinedtostring. You can pass the value as it is,undefinedincluded. - Everyone else. No action needed.