Skip to content

Latest commit

 

History

History
107 lines (61 loc) · 3.29 KB

File metadata and controls

107 lines (61 loc) · 3.29 KB

session-middleware CHANGELOG

This is the changelog for session-middleware. It follows semantic versioning.

v0.3.4

Patch Changes

v0.3.3

Patch Changes

v0.3.2

Patch Changes

v0.3.1

Patch Changes

v0.3.0

Minor Changes

  • Added context.session as a direct property installed by the session middleware. context.get(Session) remains supported for keyed context access.

Patch Changes

v0.2.2

Patch Changes

v0.2.1

Patch Changes

v0.2.0

Minor Changes

  • BREAKING CHANGE: Session middleware no longer reads/writes context.session.

    Session state is now stored on request context using the Session class itself as the context key and accessed with context.get(Session).

  • session() now contributes Session to fetch-router's typed request context, so apps deriving context from middleware can read context.get(Session) without manual type assertions.

Patch Changes

v0.1.4

Patch Changes

  • Ensure response is mutable before modifying.

  • Bumped @remix-run/* dependencies:

v0.1.3

Patch Changes

v0.1.2

Patch Changes

  • Changed @remix-run/* peer dependencies to regular dependencies

v0.1.1 (2025-12-06)

  • Use response.headers.append('Set-Cookie', ...) instead of response.headers.set('Set-Cookie', ...) to not overwrite cookies set by other middleware/handlers

v0.1.0 (2025-11-19)

Initial release extracted from @remix-run/fetch-router v0.9.0.

See the README for more details.