sveltekit 0.5.0, nextjs 0.4.0, astro 0.4.0
#251
pilcrowonpaper
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking change for:
@lucia-auth/sveltekit@lucia-auth/nextjs@lucia-auth/astroI didn't like how the core library and integration package had
getSession()methods that behaved differently. To reduce confusion,getSession()has been renamed tovalidate()andgetSessionUser()has been renamed tovalidateUser().@lucia-auth/sveltekit0.5.0locals.getSession()tolocals.validate(),locals.getSessionUser()tolocals.validateUser()old
new
@lucia-auth/nextjs0.4.0,@lucia-auth/astro0.4.0authRequest.validate()toAuthRequest.validate(),authRequest.validateUser()toAuthRequest.validateUser()old
new
Beta Was this translation helpful? Give feedback.
All reactions