Skip to content

Conversation

@jfromaniello
Copy link
Contributor

This pull request updates session configuration handling to provide more flexibility and clarity in how session cookies are defined and managed. The changes standardize the session options, improve documentation, and add a test for custom cookie names.

Session configuration improvements:

  • Updated session configuration structure in both README.md and Configuration.ts to use a cookie object with options like name, sameSite, and secure, and added new options such as rolling, absoluteDuration, and inactivityDuration for better control over session behavior. [1] [2]

Documentation and testing:

  • Improved documentation in Configuration.ts to reflect the new session configuration structure and defaults.
  • Added a unit test in config.test.ts to verify that custom cookie names are correctly parsed and set in the configuration.

@jfromaniello jfromaniello merged commit 36f740b into main Sep 15, 2025
2 checks passed
@jfromaniello jfromaniello deleted the update_doc_and_jsdoc branch September 15, 2025 13:24
@github-actions
Copy link

🎉 This PR is included in version 1.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants