# Session v8\.3\.0: Support for @adonisjs/redis v11 and Store Selection in Configuration

Canonical URL : https://adonisjs-signal.jrmc.dev/insights/04547fb0-bb23-41f1-ac6b-c0b869d7a266
Source release or documentation date : 2026-10-18T11:31:12.000Z
Category : release | Developer impact : medium
Affected packages : @adonisjs/session, @adonisjs/redis

The AdonisJS Session package version 8\.3\.0 adds support for @adonisjs/redis version 11 \(which uses ioredis 6\) while maintaining compatibility with version 10\. Additionally, the \`node ace add @adonisjs/session\` command now allows selecting the session store interactively or via the \`\-\-store\` flag, supporting cookie, file, redis, and database stores\. The configuration file \`config/session\.ts\` reflects the chosen store, and environment variable \`SESSION\_DRIVER\` is set accordingly\. When using the database store, a migration for the sessions table is automatically created\. DynamoDB store still requires manual configuration\.

## What this means for your code

Developers can upgrade @adonisjs/redis to version 11 at their own pace without breaking compatibility\. The session setup command is more flexible, allowing explicit store selection either interactively or via command\-line flags, which improves automation and customization\. Projects using the database store benefit from automatic migration creation\. Scripts invoking the add command non\-interactively must now specify the \`\-\-store\` flag to avoid prompts\.

## Suggested actions

- If upgrading @adonisjs/redis, verify compatibility with version 11 as it is now supported\.
- When adding the session package, specify the desired store with \`\-\-store\` in non\-interactive scripts to avoid prompts\.
- Review \`config/session\.ts\` to confirm the session store configuration matches your intended store\.
- If using the database store, check that the sessions table migration is created and applied\.
- Manually configure DynamoDB store if needed, as it is not supported by the new setup command\.

## Original sources

- [Support for @adonisjs/redis v11 and store selection in configure](https://github.com/adonisjs/session/releases/tag/v8.3.0)

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.
