nuxt-session icon indicating copy to clipboard operation
nuxt-session copied to clipboard

Depricate `nuxt-session`

Open zoey-kaiser opened this issue 2 years ago • 3 comments

We will be deprecating Nuxt Session. The main reasons for this are:

  • With the release of NuxtAuth we have improved the session system used in the background. We recommend switching to NuxtAuth. Through the new local provider, we also allow:
    • Your own backend
    • Static rendering
    • Better connections to OAuth and more!
  • There are more integrations to store data into the browser for local storage. Have a look at the composables from VueUse.

Steps for deprecation:

  • [ ] Updated ReadMe to inform of the deprecation (13.11.2023)
  • [ ] Deprecate the repository (11.12.2023)
  • [ ] Remove NuxtSession from the https://sidebase.io homepage (11.12.2023)
  • [ ] Remove NuxtSession from https://nuxt.com/modules (11.12.2023)

zoey-kaiser avatar Nov 13 '23 08:11 zoey-kaiser

Steps for deprecation:

Can you put concrete dates behind each step? I'd recommend doing the readme change ASAP and the actual deprecation in ~4 weeks.

Please also remember to recommend alternatives (most prominently, the nuxt native session management)

Remove NuxtSession from the https://sidebase.io/ homepage Remove NuxtSession from https://nuxt.com/modules

Let's not take down the documentation in case people still need it

BracketJohn avatar Nov 13 '23 08:11 BracketJohn

Let's not take down the documentation in case people still need it

The documentation was never moved to the website. The website only links to the ReadMe of the repo, so no documentation would be lose, we would only remove the website link.

Please also remember to recommend alternatives (most prominently, the nuxt native session management)

May I ask where I can find more information on nuxt native session management? I checked their documentation pages and could not find anything to the term "session". when googling Nuxt 3 Sessions, I only get this module (maybe our SEO is too good 😆)

zoey-kaiser avatar Nov 13 '23 08:11 zoey-kaiser

May I ask where I can find more information on nuxt native session management? I checked their documentation pages and could not find anything to the term "session". when googling Nuxt 3 Sessions, I only get this module (maybe our SEO is too good 😆)

At the moment AFAIK Nuxt 3 doesn't have it directly documented. It is integrated in h3, see here: https://github.com/unjs/h3#session

BracketJohn avatar Nov 13 '23 11:11 BracketJohn