Skip to content

Fix sessions drivers docs regarding unstorage compatibility - #14482

Open
ArmandPhilippot wants to merge 3 commits into
mainfrom
armand/fix-sessions
Open

Fix sessions drivers docs regarding unstorage compatibility#14482
ArmandPhilippot wants to merge 3 commits into
mainfrom
armand/fix-sessions

Conversation

@ArmandPhilippot

@ArmandPhilippot ArmandPhilippot commented Aug 28, 2026

Copy link
Copy Markdown
Member

Description (required)

Updates our docs around sessions drivers and unstorage compatibility.

  • In guides/sessions.mdx:
    • we also need to install ioredis: without the package, TypeScript complains that host doesn't exist.
    • update the code snippet to workaround the incompatibility
  • In session-driver-reference.mdx:
    • reword the "Unstorage compatibility" section as this is not compatible with the SessionDriver type
    • format the code snippets
    • fix the last code snippets to workaround the issue
    • do not fix the tls issue I reported: I was wrong, this is available. This is the same issue as host; we need ioredis. Some options are set in unstorage (that's why ttl is available and not tls for example) and others in ioredis (we need to install the package).

References

@ArmandPhilippot ArmandPhilippot added the improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) label Aug 28, 2026
@astrobot-houston

astrobot-houston commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/sessions.mdx Source changed, localizations will be marked as outdated.
en/reference/session-driver-reference.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown

Preview deployment

✅ Deployment complete!

@ArmandPhilippot
ArmandPhilippot marked this pull request as ready for review August 28, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants