Skip to content

chore(deps): bump @clerk/shared from 3.47.0 to 4.0.0#1677

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/clerk/shared-4.0.0
Open

chore(deps): bump @clerk/shared from 3.47.0 to 4.0.0#1677
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/clerk/shared-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps @clerk/shared from 3.47.0 to 4.0.0.

Release notes

Sourced from @​clerk/shared's releases.

@​clerk/shared@​4.0.0

Major Changes

  • Align experimental/unstable prefixes to use consistent naming: (#7361) by @​brkalow

    • Renamed all __unstable_* methods to __internal_* (for internal APIs)
    • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)
    • Removed deprecated billing-related props (__unstable_manageBillingUrl, __unstable_manageBillingLabel, __unstable_manageBillingMembersLimit) and experimental__forceOauthFirst
  • Rename internal useBillingHookEnabled to useBillingIsEnabled with improved semantics for authentication and organization context checks. (#7687) by @​jacekradko

  • Remove useUserContext, useOrganizationContext, useSessionContext and useClientContext from the shared/react package. (#7772) by @​Ephem

    These hooks have never been meant for public use and have been replaced with internal hooks that do not rely on context.

    If you need access to these resources, use the useUser, useOrganization and useSession hooks instead.

    If you are building a React SDK and need direct access to the client, get in touch with us to discuss!

  • Updated returned values of Clerk.checkout() and useCheckout. (#7232) by @​panteliselef

    Vanilla JS

    // Before
    const { getState, subscribe, confirm, start, clear, finalize } = Clerk.checkout({
      planId: 'xxx',
      planPeriod: 'annual',
    });
    getState().isStarting;
    getState().isConfirming;
    getState().error;
    getState().checkout;
    getState().fetchStatus;
    getState().status;
    // After
    const { checkout, errors, fetchStatus } = Clerk.checkout({ planId: 'xxx', planPeriod: 'annual' });
    checkout.plan; // null or defined based on checkout.status
    checkout.status;
    checkout.start;
    checkout.confirm;

    React

    // Before
    const { id, plan, status, start, confirm, paymentSource } = useCheckout({ planId: 'xxx', planPeriod: 'annual' });
    // After

... (truncated)

Changelog

Sourced from @​clerk/shared's changelog.

4.0.0

Major Changes

  • Align experimental/unstable prefixes to use consistent naming: (#7361) by @​brkalow

    • Renamed all __unstable_* methods to __internal_* (for internal APIs)
    • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)
    • Removed deprecated billing-related props (__unstable_manageBillingUrl, __unstable_manageBillingLabel, __unstable_manageBillingMembersLimit) and experimental__forceOauthFirst
  • Rename internal useBillingHookEnabled to useBillingIsEnabled with improved semantics for authentication and organization context checks. (#7687) by @​jacekradko

  • Remove useUserContext, useOrganizationContext, useSessionContext and useClientContext from the shared/react package. (#7772) by @​Ephem

    These hooks have never been meant for public use and have been replaced with internal hooks that do not rely on context.

    If you need access to these resources, use the useUser, useOrganization and useSession hooks instead.

    If you are building a React SDK and need direct access to the client, get in touch with us to discuss!

  • Updated returned values of Clerk.checkout() and useCheckout. (#7232) by @​panteliselef

    Vanilla JS

    // Before
    const { getState, subscribe, confirm, start, clear, finalize } = Clerk.checkout({
      planId: 'xxx',
      planPeriod: 'annual',
    });
    getState().isStarting;
    getState().isConfirming;
    getState().error;
    getState().checkout;
    getState().fetchStatus;
    getState().status;
    // After
    const { checkout, errors, fetchStatus } = Clerk.checkout({ planId: 'xxx', planPeriod: 'annual' });
    checkout.plan; // null or defined based on checkout.status
    checkout.status;
    checkout.start;
    checkout.confirm;

    React

    // Before
    const { id, plan, status, start, confirm, paymentSource } = useCheckout({ planId: 'xxx', planPeriod: 'annual' });

... (truncated)

Commits
  • 5f2e3dd ci(repo): Version packages (Core 3) (#7412)
  • 3c35688 docs(repo): Fix Core 3 Typedoc outputs (#7966)
  • 551fcc8 chore: sync changelogs and versions from release/core-2 (#7964)
  • 25d37b0 fix(clerk-js): Revert removal of transfer strategy passing (#7962)
  • 2931a66 docs(repo): Fix types for Core 3 (#7959)
  • cbc5618 fix(shared): Make arguments for sendCode optional (#7953)
  • c694433 chore(repo): Backport Core 2 changelogs and remove consumed changesets (#7952)
  • 5ef4a77 refactor(shared): Rename dev browser APIs to remove JWT terminology (#7930)
  • 466d642 chore(js,ui): Don't display impersonation for agents (#7933)
  • dc886a9 chore(clerk-js): Remove CHIPS build variant, use environment flag for partiti...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@clerk/shared](https://github.com/clerk/javascript/tree/HEAD/packages/shared) from 3.47.0 to 4.0.0.
- [Release notes](https://github.com/clerk/javascript/releases)
- [Changelog](https://github.com/clerk/javascript/blob/main/packages/shared/CHANGELOG.md)
- [Commits](https://github.com/clerk/javascript/commits/@clerk/shared@4.0.0/packages/shared)

---
updated-dependencies:
- dependency-name: "@clerk/shared"
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants