Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Auri: Release request (v2.0.0-next.0) #69

Closed
wants to merge 1 commit into from
Closed

Conversation

pilcrowonpaper
Copy link
Owner

@pilcrowonpaper pilcrowonpaper commented Apr 27, 2024

Major changes

  • Breaking: Update OAuth2RequestError
  • Breaking: Update OAuth2Client
  • Breaking: Remove oslo/password
  • Breaking: Remove oslo/request
  • Breaking: Update createJWT() and validateJWT() parameters
  • Breaking: Replace oslo/webauthn with oslo/passkey
  • Breaking: Rename createDate() to addToDate()
  • Breaking: Remove encodeBase32(), decodeBase32(), encodeBase64(), decodeBase64(), encodeBase64url(), and decodeBase64url(),
  • Breaking: Functions only accept Uint8Array instead of TypedArray | ArrayBuffer

Minor changes

  • Feat: Add SigningAlgorithm interface
  • Feat: Add createJWTHeader() and createJWTPayload()
  • Feat: sha1(), sha256(), sha384(), and sha512() is synchronous
  • Feat: Add TokenRevocationClient, TokenRevocationRetryError, and TokenRevocationRequestContext
  • Feat: Add oslo/binary
  • Feat: Add OAuth2RequestError
  • Feat: Add OAuth2RequestContext, AccessTokenRequestContext, RefreshTokenRequestContext, and OAuth2Request
  • Feat: Add generateRandomBoolean()

@github-actions github-actions bot force-pushed the v2.auri branch 4 times, most recently from c58c97c to 7793b73 Compare April 30, 2024 06:19
@Wundero
Copy link

Wundero commented May 1, 2024

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.

@pilcrowonpaper
Copy link
Owner Author

@Wundero
I guess fundamentally, it was kinda dumb to have Node-only modules in a runtime agnostic library

@github-actions github-actions bot force-pushed the v2.auri branch 2 times, most recently from fa8392f to 9244754 Compare May 2, 2024 04:50
@rwieruch
Copy link

rwieruch commented May 2, 2024

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 !

@pilcrowonpaper
Copy link
Owner Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants