Releases: pilcrowonpaper/arctic
Releases · pilcrowonpaper/arctic
v3.1.0
v3.0.0
Arctic v3 is here! This is a small major release that adds support for public OAuth clients. There are only a few breaking changes and most breaking changes are small.
npm install arctic@latest
Changes
- [Breaking] Remove
clientSecret
parameter fromEtsy
constructor. - [Breaking] Add
codeVerifier
parameter tocreateAuthorizationURL()
andvalidateAuthorizationCode()
inAuth0
,Discord
,Spotify
,WorkOS
. - [Breaking] Replaced
domain
parameter withbaseURL
parameter forAuthentik
,GitLab
constructor. - [Breaking] Replaced
poolURL
parameter withdomain
parameter forAmazonCognito
constructor. - [Breaking] Add
scopes
parameter torefreshAccessToken()
inAmazonCognito
,MicrosoftEntraId
. - [Breaking] Update
MyAnimeList
constructor. - [Breaking] Stricter compliance to RFC 6749 for
OAuth2Client
. - Add
UnexpectedResponseError
andUnexpectedErrorResponseBodyError
errors. - Allow
null
asclientSecret
inAmazonCognito
,Auth0
,Authentik
,Bungie
,Discord
,GitLab
,KeyCloak
,MicrosoftEntraId
,Roblox
,Salesforce
,Spotify
,Twitter
,WorkOS
constructor. - Fix
scopes
parameter inStrava.createAuthorizationURL()
. - Add TikTok provider.
v2.0.0
Major changes
createAuthorizationURL()
no longer returns aPromise
validateAuthorizationCode()
andrefreshAccessToken()
returnsOAuth2Tokens
validateAuthorizationCode()
andrefreshAccessToken()
can throw one ofOAuth2RequestError
,ArcticFetchError
, orError
- Scopes are no longer set by default, including
openid
and those required by the provider - Updated parameters for
Apple
,GitHub
,GitLab
,MicrosoftEntraId
,MyAnimeList
,Okta
,Osu
, andSalesforce
- Removed
options.scope
parameter fromcreateAuthorizationURL()
- Removed
OAuth2Provider
andOAuth2ProviderWithPKCE
- Update
createAuthorizationURL()
provider methods
Minor changes
- Add Polar provider.
- Add Start.gg provider.
- Add Bungie.Net provider.
- Add
refreshAccessToken()
toGitHub
createAuthorizationURL()
returnsAuthorizationCodeAuthorizationURL
- Add
decodeIdToken()
- Add token revocation API
Patch changes
- Remove
@oslojs/oauth2
dependency - Fix Amazon Cognito provider
v2.0.0-next.8
Minor changes
- Add Polar provider.
- Add Start.gg provider.
- Add Bungie.Net provider.
v2.0.0-next.1
update release (#151)
v2.0.0-next.0
update release (#146)