Minor Changes
-
BREAKING CHANGE: Session middleware no longer reads/writes
context.session.Session state is now stored on request context using the
Sessionclass itself as the context key and accessed withcontext.get(Session). -
session()now contributesSessiontofetch-router's typed request context, so apps deriving context from middleware can readcontext.get(Session)without manual type assertions.
Patch Changes
- Bumped
@remix-run/*dependencies: