Uh oh!
There was an error while loading. Please reload this page.
chore(clerk-js,backend,shared):Apply deprecation warnings @clerk/types - #1823
Conversation
🦋 Changeset detectedLatest commit: 10fb826 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
bffe9d9 to
63f77bdCompare1e91a8d to
339eebaCompare9acaa62 to
319d166Compare67930d2 to
d8a7164Compare| import type { PublicUserDataJSON } from '@clerk/types'; | ||
| export class OrganizationPublicUserData implements PublicUserData { | ||
| export class PublicUserData implements IPublicUserData { |
There was a problem hiding this comment.
Because the publicUserData property is the same for all Resources (eg OrganizationMembership , Session), so there is no need to create a separate class for each resource.
Uh oh!
There was an error while loading. Please reload this page.
d8a7164 to
fbad687Compare…rontendApi deprecations
fbad687 to
10fb826CompareZeldOcarina
commented
Oct 10, 2023
Hi I am now getting DEPRECATION WARNING: "frontendApi" is deprecated and will be removed in the next major release. |
dimkl
commented
Oct 10, 2023
Hello @ZeldOcarina |
Hi @dimkl it only says this: I am just using these as envs: |
dimkl
commented
Oct 10, 2023
@ZeldOcarina let me take a better look at it, and I will get back to you :) |
ZeldOcarina
commented
Oct 10, 2023
I am using : That env was in an old guide, if not needed anymore I can delete it I am not manually using it anywhere! |
dimkl
commented
Oct 10, 2023
@ZeldOcarina you can drop this env. |
yns01
commented
Nov 8, 2023
Hey @dimkl, I'm still getting the warning: I'm using and I have the following env defined: |
dimkl
commented
Nov 8, 2023
@yns01 thanks for reporting this, i will take a look and come back. |
dimkl
commented
Nov 9, 2023
@yns01 Should be fixed in |
Description
Review it per commit
Deprecations:
orgsjwt claimsapiKeyfrontendApiredirect_urlpasswordgenerateSignatureafterSwitchOrganizationUrlprofileImageUrlOther changes:
frontendApiChecklist
npm testruns as expected.npm run buildruns as expected.Type of change
Packages affected
@clerk/clerk-js@clerk/clerk-react@clerk/nextjs@clerk/remix@clerk/types@clerk/themes@clerk/localizations@clerk/clerk-expo@clerk/backend@clerk/clerk-sdk-node@clerk/shared@clerk/fastify@clerk/chrome-extensiongatsby-plugin-clerkbuild/tooling/chore