Skip to content

Open the Redis connection on first use, and support @adonisjs/redis v11

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 10:19
Immutable release. Only release title and notes can be modified.

2.1.1 (2026-11-19)

Bug Fixes

  • open the Redis connection of the redis store on its first use (#7) (3dba163), closes #6

An import of @adonisjs/lock/services/main resolved each configured store, so a Redis store opened its connection at boot, also when the app never used it. In warmup mode, for example during node ace codegen, the open connection kept the process alive. The Redis store now opens its connection on its first lock.

A wrong connectionName now throws on the first lock of the store, not at boot.

Chores

  • allow @adonisjs/redis v11 as a peer dependency (f1735d9)

Full Changelog: v2.1.0...v2.1.1