Open pilcrowonpaper opened 5 months ago
Out of curiosity, what are the reasons for dropping oslo/password
? I saw one reason being the poor nextjs support (in your comment here), but want to know what other reasons you have.
@Wundero I guess fundamentally, it was kinda dumb to have Node-only modules in a runtime agnostic library
Will this result in a major Lucia v4? And is there any timeline on dropping Oslo? Just double checking here for a course release :) Thanks for keeping up with everything @pilcrowOnPaper !
No major updates, since password hashing isn't part of Lucia. I might push the branch early this month, but you should be fine staying in Oslo v1 for quite a while
Major changes
OAuth2RequestError
OAuth2Client
oslo/password
oslo/request
createJWT()
andvalidateJWT()
parametersoslo/webauthn
withoslo/passkey
createDate()
toaddToDate()
encodeBase32()
,decodeBase32()
,encodeBase64()
,decodeBase64()
,encodeBase64url()
, anddecodeBase64url()
,Uint8Array
instead ofTypedArray | ArrayBuffer
Minor changes
SigningAlgorithm
interfacecreateJWTHeader()
andcreateJWTPayload()
sha1()
,sha256()
,sha384()
, andsha512()
is synchronousTokenRevocationClient
,TokenRevocationRetryError
, andTokenRevocationRequestContext
oslo/binary
OAuth2RequestError
OAuth2RequestContext
,AccessTokenRequestContext
,RefreshTokenRequestContext
, andOAuth2Request
generateRandomBoolean()