oslo
oslo copied to clipboard
Auri: Release request (v2.0.0-next.0)
Major changes
- Breaking: Update
OAuth2RequestError
- Breaking: Update
OAuth2Client
- Breaking: Remove
oslo/password
- Breaking: Remove
oslo/request
- Breaking: Update
createJWT()
andvalidateJWT()
parameters - Breaking: Replace
oslo/webauthn
withoslo/passkey
- Breaking: Rename
createDate()
toaddToDate()
- Breaking: Remove
encodeBase32()
,decodeBase32()
,encodeBase64()
,decodeBase64()
,encodeBase64url()
, anddecodeBase64url()
, - Breaking: Functions only accept
Uint8Array
instead ofTypedArray | ArrayBuffer
Minor changes
- Feat: Add
SigningAlgorithm
interface - Feat: Add
createJWTHeader()
andcreateJWTPayload()
- Feat:
sha1()
,sha256()
,sha384()
, andsha512()
is synchronous - Feat: Add
TokenRevocationClient
,TokenRevocationRetryError
, andTokenRevocationRequestContext
- Feat: Add
oslo/binary
- Feat: Add
OAuth2RequestError
- Feat: Add
OAuth2RequestContext
,AccessTokenRequestContext
,RefreshTokenRequestContext
, andOAuth2Request
- Feat: Add
generateRandomBoolean()
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