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
-
Breaking change for:
@lucia-auth/sveltekit
@lucia-auth/nextjs
@lucia-auth/astro
I 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/sveltekit
0.5.0locals.getSession()
tolocals.validate()
,locals.getSessionUser()
tolocals.validateUser()
old
new
@lucia-auth/nextjs
0.4.0,@lucia-auth/astro
0.4.0authRequest.validate()
toAuthRequest.validate()
,authRequest.validateUser()
toAuthRequest.validateUser()
old
new
Beta Was this translation helpful? Give feedback.
All reactions