Skip to content

Releases: pilcrowonpaper/arctic

v3.2.1

22 Jan 13:57
6b6c059
Compare
Choose a tag to compare
  • Add refreshAccessToken() method to Figma provider (#258).

v2.3.4

22 Jan 13:47
Compare
Choose a tag to compare
  • Add refreshAccessToken() method to Figma provider (#256).

v3.2.0

20 Jan 08:17
edf73cd
Compare
Choose a tag to compare
  • Add Synology provider (#248).

v3.1.3

15 Jan 08:43
339e853
Compare
Choose a tag to compare
  • Fix TikTok endpoints and scope parameter.

v3.1.2

14 Jan 00:49
5905fe3
Compare
Choose a tag to compare
  • Export TikTok provider (#249).

v3.1.1

09 Jan 12:00
79a6c58
Compare
Choose a tag to compare
  • Fix Authentik endpoints (#244).

v3.1.0

06 Jan 02:16
691cf1d
Compare
Choose a tag to compare
  • Add Battle.net provider (#241).

v3.0.0

04 Jan 01:18
Compare
Choose a tag to compare

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 from Etsy constructor.
  • [Breaking] Add codeVerifier parameter to createAuthorizationURL() and validateAuthorizationCode() in Auth0, Discord, Spotify, WorkOS.
  • [Breaking] Replaced domain parameter with baseURL parameter for Authentik, GitLab constructor.
  • [Breaking] Replaced poolURL parameter with domain parameter for AmazonCognito constructor.
  • [Breaking] Add scopes parameter to refreshAccessToken() in AmazonCognito, MicrosoftEntraId.
  • [Breaking] Update MyAnimeList constructor.
  • [Breaking] Stricter compliance to RFC 6749 for OAuth2Client.
  • Add UnexpectedResponseError and UnexpectedErrorResponseBodyError errors.
  • Allow null as clientSecret in AmazonCognito, Auth0, Authentik, Bungie, Discord, GitLab, KeyCloak, MicrosoftEntraId, Roblox, Salesforce, Spotify, Twitter, WorkOS constructor.
  • Fix scopes parameter in Strava.createAuthorizationURL().
  • Add TikTok provider.

v2.0.0

20 Oct 08:16
Compare
Choose a tag to compare

Major changes

  • createAuthorizationURL() no longer returns a Promise
  • validateAuthorizationCode() and refreshAccessToken() returns OAuth2Tokens
  • validateAuthorizationCode() and refreshAccessToken() can throw one of OAuth2RequestError, ArcticFetchError, or Error
  • 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, and Salesforce
  • Removed options.scope parameter from createAuthorizationURL()
  • Removed OAuth2Provider and OAuth2ProviderWithPKCE
  • Update createAuthorizationURL() provider methods

Minor changes

  • Add Polar provider.
  • Add Start.gg provider.
  • Add Bungie.Net provider.
  • Add refreshAccessToken() to GitHub
  • createAuthorizationURL() returns AuthorizationCodeAuthorizationURL
  • Add decodeIdToken()
  • Add token revocation API

Patch changes

  • Remove @oslojs/oauth2 dependency
  • Fix Amazon Cognito provider

v2.0.0-next.8

18 Sep 03:27
Compare
Choose a tag to compare
v2.0.0-next.8 Pre-release
Pre-release

Minor changes

  • Add Polar provider.
  • Add Start.gg provider.
  • Add Bungie.Net provider.