Nuxt session middleware to get a persistent session per app user, e.g., to store data across multiple requests. The nuxt session module provides the useSession() composable out of the box and sets up API endpoints to interact with your session to make working with sessions feel like a breeze.
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.7...0.2.8
expiryInSeconds = null
has no effect by @interpretor in https://github.com/sidebase/nuxt-session/pull/51
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.6...0.2.7
Use it by:
npm i -D @sidebase/[email protected]
type
-> types
in README
by @IronicUsername in https://github.com/sidebase/nuxt-session/pull/37
HttpOnly
configurable by @interpretor in https://github.com/sidebase/nuxt-session/pull/52
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.5...0.2.6
Thanks @Voltra for your help, thanks @JacobArrow for bug reporting + solution testing ❤️
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.4...0.2.5
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.3...0.2.4
domain
setting by @BracketJohn in https://github.com/sidebase/nuxt-session/pull/23
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.2...0.2.3
Install with: npm i -D @sidebase/nuxt-session
Upgrade with: npm i -D @sidebase/[email protected]
-> you may have to remove your node_modules
if this does not work
eventHandler
instead of defineEventHandler
by @BracketJohn in https://github.com/sidebase/nuxt-session/pull/11
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.1...0.2.2
useSession
, allow partial options via defu
by @BracketJohn in https://github.com/sidebase/nuxt-session/pull/5
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.2.0...0.2.1
Full Changelog: https://github.com/sidebase/nuxt-session/compare/0.1.2...0.2.0
(2022/10/13)
See changelog.md for full changelog.
@BracketJohn
Full Changelog: https://github.com/sidebase/nuxt-session/commits/0.1.2