Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Apr 10, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@clerk/[email protected]

Minor Changes

  • Add support for feature or plan based authorization. (#5582) by @panteliselef

  • Adds the ability to grab an instance's JWKS to the Backend API client. (#5588) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.jwks.getJWKS();
  • Adds the Blocklist Identifier endpoints to the Backend API client. (#5617) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.blocklistIdentifiers.getBlocklistIdentifierList();
      await clerkClient.blocklistIdentifiers.createBlocklistIdentifier({ identifier });
      await clerkClient.blocklistIdentifiers.deleteBlocklistIdentifier('blocklistIdentifierId');

    Updates the ability paginate Allowlist Identifier reponses and access identifierType and instanceId from the response.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      const res = await clerkClient.blocklistIdentifiers.getAllowlistIdentifierList({ limit, offset });

    Corrects the type of the Allowlist Identifier DeletedObject

  • Adds webhooks endpoints to the Backend API client. (#5619) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.webhooks.createSvixApp();
      await clerkClient.webhooks.generateSvixAuthURL();
      await clerkClient.webhooks.deleteSvixApp();
  • Adds the ability to perform CRUD operations on JWT Templates to the Backend API client. (#5598) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.jwtTemplates.list({...});
      await clerkClient.jwtTemplates.get('templateId');
      await clerkClient.jwtTemplates.create({...});
      await clerkClient.jwtTemplates.update({...});
      await clerkClient.jwtTemplates.delete('templateId');
  • Adds the ability to create an active session to the Backend API client. (#5592) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.sessions.createSession({
        userId: 'user_xxxxxx',
      });

Patch Changes

  • Add support for phpass_md5 and ldap_ssha hashers (#5583) by @Nikpolik

  • Adds the ability to verify proxy checks to the Backend API client. (#5589) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.proxyChecks.verify({
        domainId: 'dmn_xxxxxx',
        proxyUrl: 'https://[your-domain].com'
      });
  • Adds the following User-centric functionality to the Backend API client. (#5593) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.users.getOrganizationInvitationList({
        userId: 'user_xxxxxx',
        status: 'pending',
      });
      await clerkClient.users.deleteUserPasskey({
        userId: 'user_xxxxxx',
        passkeyIdentificationId: 'xxxxxxx',
      });
      await clerkClient.users.deleteUserWeb3Wallet({
        userId: 'user_xxxxxx',
        web3WalletIdentificationId: 'xxxxxxx',
      });
      await clerkClient.users.deleteUserExternalAccount({
        userId: 'user_xxxxxx',
        externalAccountId: 'xxxxxxx',
      });
      await clerkClient.users.deleteUserBackupCodes('user_xxxxxx');
      await clerkClient.users.deleteUserTOTP('user_xxxxxx');
  • Improve JSDoc comments (#5596) by @LekoArts

  • Updated dependencies [e4d04ae, 431a821, 93068ea, 431a821, 431a821, 103bc03, 48438b4, 196dcb4]:

@clerk/[email protected]

Minor Changes

  • Add support for feature or plan based authorization (#5582) by @panteliselef

    Plan

    • Clerk.session.checkAuthorization({ plan: "my-plan" })

    Feature

    • Clerk.session.checkAuthorization({ feature: "my-feature" })

    Scoped per user or per org

    • Clerk.session.checkAuthorization({ feature: "org:my-feature" })
    • Clerk.session.checkAuthorization({ feature: "user:my-feature" })
    • Clerk.session.checkAuthorization({ plan: "user:my-plan" })
    • Clerk.session.checkAuthorization({ plan: "org:my-plan" })

Patch Changes

@clerk/[email protected]

Minor Changes

  • Add support for feature or plan based authorization (#5582) by @panteliselef

    await auth()

    Plan

    • (await auth()).has({ plan: "my-plan" })

    Feature

    • (await auth()).has({ feature: "my-feature" })

    Scoped per user or per org

    • (await auth()).has({ feature: "org:my-feature" })
    • (await auth()).has({ feature: "user:my-feature" })
    • (await auth()).has({ plan: "user:my-plan" })
    • (await auth()).has({ plan: "org:my-plan" })

    auth.protect()

    Plan

    • auth.protect({ plan: "my-plan" })

    Feature

    • auth.protect({ feature: "my-feature" })

    Scoped per user or per org

    • auth.protect({ feature: "org:my-feature" })
    • auth.protect({ feature: "user:my-feature" })
    • auth.protect({ plan: "user:my-plan" })
    • auth.protect({ plan: "org:my-plan" })

    <Protect />

    Plan

    • <Protect plan="my-plan" />

    Feature

    • <Protect feature="my-feature" />

    Scoped per user or per org

    • <Protect feature="org:my-feature" />
    • <Protect feature="user:my-feature" />
    • <Protect plan="org:my-plan" />
    • <Protect plan="user:my-plan" />

    useAuth()

    Plan

    • useAuth().has({ plan: "my-plan" })

    Feature

    • useAuth().has({ feature: "my-feature" })

    Scoped per user or per org

    • useAuth().has({ feature: "org:my-feature" })
    • useAuth().has({ feature: "user:my-feature" })
    • useAuth().has({ plan: "user:my-plan" })
    • useAuth().has({ plan: "org:my-plan" })

Patch Changes

@clerk/[email protected]

Minor Changes

  • Add support for feature or plan based authorization (#5582) by @panteliselef

    useAuth()

    Plan

    • useAuth().has({ plan: "my-plan" })

    Feature

    • useAuth().has({ feature: "my-feature" })

    Scoped per user or per org

    • useAuth().has({ feature: "org:my-feature" })
    • useAuth().has({ feature: "user:my-feature" })
    • useAuth().has({ plan: "user:my-plan" })
    • useAuth().has({ plan: "org:my-plan" })

    <Protect />

    Plan

    • <Protect plan="my-plan" />

    Feature

    • <Protect feature="my-feature" />

    Scoped per user or per org

    • <Protect feature="org:my-feature" />
    • <Protect feature="user:my-feature" />
    • <Protect plan="org:my-plan" />
    • <Protect plan="user:my-plan" />

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@vercel
Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2025 5:48pm

@github-actions github-actions bot force-pushed the changeset-release/main branch from 62f3dc5 to 8038c0f Compare April 10, 2025 22:37
@github-actions github-actions bot force-pushed the changeset-release/main branch from 8038c0f to 4eb4bce Compare April 10, 2025 22:43
@github-actions github-actions bot force-pushed the changeset-release/main branch from 4eb4bce to cb36ded Compare April 11, 2025 07:20
@github-actions github-actions bot force-pushed the changeset-release/main branch from cb36ded to c54d5b5 Compare April 11, 2025 09:45
@github-actions github-actions bot force-pushed the changeset-release/main branch from c54d5b5 to 02d8fa7 Compare April 11, 2025 11:04
@github-actions github-actions bot force-pushed the changeset-release/main branch from 02d8fa7 to 91b822c Compare April 11, 2025 13:12
@github-actions github-actions bot force-pushed the changeset-release/main branch from 91b822c to 5841595 Compare April 11, 2025 13:27
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5841595 to f317d76 Compare April 11, 2025 13:47
@github-actions github-actions bot force-pushed the changeset-release/main branch from f317d76 to 1240a1e Compare April 11, 2025 17:32
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from f4cd227 to 51c0890 Compare April 13, 2025 17:22
@github-actions github-actions bot force-pushed the changeset-release/main branch from 51c0890 to cc2a4ac Compare April 13, 2025 17:28
@github-actions github-actions bot force-pushed the changeset-release/main branch from cc2a4ac to 7323517 Compare April 14, 2025 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants