Skip to content

build(deps): bump @clerk/shared from 3.45.1 to 3.47.8 in /clerk-nextjs - #1384

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/clerk-nextjs/clerk/shared-3.47.8
Open

build(deps): bump @clerk/shared from 3.45.1 to 3.47.8 in /clerk-nextjs#1384
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/clerk-nextjs/clerk/shared-3.47.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2026

Copy link
Copy Markdown
Contributor

Bumps @clerk/shared from 3.45.1 to 3.47.8.

Changelog

Sourced from @​clerk/shared's changelog.

3.47.8

Patch Changes

  • Fail fast when the Clerk Frontend API (FAPI) is slow or unreachable during load. The client request and the load-recovery token mint are now bounded by a timeout, and the timed-out client request is aborted instead of being left in flight. A cold Clerk.load() renders identity from a freshly minted session token (falling back to the session cookie if the mint fails) in seconds instead of hanging while retries run. After a degraded load, the client is re-fetched in the background without a time limit, so a slow-but-healthy origin recovers full client data (user profile, other sessions) without a reload. Also fixes hooks like useUser() keeping the cookie-derived stub user after full user data arrives. Adds a timeLimit utility to @clerk/shared/utils that optionally aborts an AbortController on timeout. (#9123) by @​nikosdouvlis

3.47.7

Patch Changes

  • Add oiat (original_issued_at) field to JwtHeader type for Session Minter monotonic token freshness checks. (#8643) by @​nikosdouvlis

  • Send previous session token on /tokens requests to support Session Minter edge token minting. (#8643) by @​nikosdouvlis

3.47.6

Patch Changes

3.47.5

Patch Changes

  • Fix an authorization bypass in has(), auth.protect(), and related predicates when a single call combined conditions from more than one dimension (for example, { permission, reverification } or { feature, permission }). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed. (#8373) by @​nikosdouvlis

    Behavior is now:

    • When a requested dimension cannot be satisfied because the underlying session data is missing, malformed, or invalid, the call denies. Previously these cases were treated as indeterminate and ignored, which could let another passing dimension carry the call.
    • Fixed a minor bug where session.checkAuthorization() was building authorization options from the membership row id instead of the organization id.

    Single-condition role, permission, feature, and plan checks (has({ permission }), etc.) are unchanged. Single-condition reverification checks are unchanged on well-formed session data; calls with a missing or malformed factorVerificationAge payload now deny where they previously returned indeterminate. Callback-form auth.protect(has => ...) is unaffected unless the callback itself invokes the affected shapes.

    Separately, auth.protect() in @clerk/nextjs previously discarded authorization params (role, permission, feature, plan, reverification) whenever the same argument object also contained unauthenticatedUrl, unauthorizedUrl, or token. TypeScript's excess-property check caught this for inline object literals but did not apply once the argument was assigned to a variable, spread, or used from JavaScript. Mixed-shape calls like auth.protect({ role: 'org:admin', unauthorizedUrl: '/denied' }) or auth.protect({ permission: 'org:X', token: 'session_token' }) now correctly enforce the authorization check instead of silently letting every authenticated caller through.

3.47.4

Patch Changes

  • Normalize URL paths in createPathMatcher to prevent route protection bypass (#8310) by @​nikosdouvlis

3.47.3

Patch Changes

  • Add optional intent parameter to session.touch() to indicate why the touch was triggered (focus, session switch, or org switch). This enables the backend to skip expensive client piggybacking for focus-only touches. (#8135) by @​nikosdouvlis

3.47.2

Patch Changes

... (truncated)

Commits
  • 6ff1835 ci(repo): Version packages (Core 2) (#9115)
  • 4093b03 fix(clerk-js): backport fail-fast slow-origin load for Core 2 (#9123)
  • f478d90 feat(clerk-js): Backport exclusive-membership auto-activate for Core 2 (#8943)
  • 29388cd ci(repo): Version packages (Core 2) (#8662)
  • 9d421ef feat(clerk-js,shared): Backport Session Minter SDK changes to core-2 (#8643)
  • 071b2de ci(repo): Version packages (Core 2) (#8633)
  • fbba78c chore(shared): Bump js-cookie to 3.0.7 (#8631)
  • 4914e49 ci(repo): Version packages (Core 2) (#8376)
  • e085a17 fix(shared,clerk-js,nextjs): authorization bypass in combined-condition has()...
  • 27e4f4b ci(repo): Version packages (Core 2) (#8316)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​clerk/shared since your current version.


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

---
updated-dependencies:
- dependency-name: "@clerk/shared"
  dependency-version: 3.47.8
  dependency-type: indirect
...

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 Jul 25, 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