Skip to content

session-middleware v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 22:38
bfdf7ab

Minor Changes

  • BREAKING CHANGE: Session middleware now checks configured cookie maxAge and expires before loading session data from any backend. Existing cookies without expiration metadata start a new session when a lifetime is configured. maxAge renews when an updated session emits a cookie; reads alone do not renew it. Sessions without a configured lifetime and backend TTL settings are unchanged. Backend record cleanup remains the storage provider's responsibility.

Patch Changes

  • Session cookies now default to Secure for HTTPS request URLs. HTTP development requests and explicit secure settings retain their configured behavior. When HTTPS terminates at a proxy, expose the original request URL or configure secure: true.

  • Bumped @remix-run/* dependencies: