From 53bef9ca77e59be3c043ede96e1c52cf51e53bf1 Mon Sep 17 00:00:00 2001 From: Dimitris Klouvas Date: Thu, 26 Oct 2023 11:08:55 -0700 Subject: [PATCH] chore(repo): Add changeset --- .changeset/silly-poems-tease.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .changeset/silly-poems-tease.md diff --git a/.changeset/silly-poems-tease.md b/.changeset/silly-poems-tease.md new file mode 100644 index 0000000000..2f7483eec0 --- /dev/null +++ b/.changeset/silly-poems-tease.md @@ -0,0 +1,26 @@ +--- +'@clerk/backend': major +--- + +Drop deprecated properties. Migration steps: +- use `createClerkClient` instead of `__unstable_options` +- use `publishableKey` instead of `frontendApi` +- use `clockSkewInMs` instead of `clockSkewInSeconds` +- use `apiKey` instead of `secretKey` +- drop `httpOptions` +- use `*.image` instead of + - `ExternalAccount.picture` + - `ExternalAccountJSON.avatar_url` + - `Organization.logoUrl` + - `OrganizationJSON.logo_url` + - `User.profileImageUrl` + - `UserJSON.profile_image_url` + - `OrganizationMembershipPublicUserData.profileImageUrl` + - `OrganizationMembershipPublicUserDataJSON.profile_image_url` +- drop `pkgVersion` +- use `Organization.getOrganizationInvitationList` with // TODO +- drop `orgs` claim (if required, can be manually added by using `user.organizations` in a jwt template) +- use `localInterstitial` instead of `remotePublicInterstitial` / `remotePublicInterstitialUrl` + +Internal changes: +- replaced error enum (and it's) `SetClerkSecretKeyOrAPIKey` with `SetClerkSecretKey`