Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Depricate nuxt-session #91

Open
4 tasks
zoey-kaiser opened this issue Nov 13, 2023 · 3 comments
Open
4 tasks

Depricate nuxt-session #91

zoey-kaiser opened this issue Nov 13, 2023 · 3 comments

Comments

@zoey-kaiser
Copy link
Member

zoey-kaiser commented Nov 13, 2023

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)
@BracketJohn
Copy link
Contributor

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

@zoey-kaiser
Copy link
Member Author

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 😆)

@BracketJohn
Copy link
Contributor

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

This was referenced Nov 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants