Skip to content

Conversation

@wobsoriano
Copy link
Member

@wobsoriano wobsoriano commented Dec 5, 2025

Description

This PR re-exports the experimental useAPIKeys() hooks from shared package to the React SDK

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • Exposed the experimental useAPIKeys hook for application integration.

✏️ Tip: You can customize this high-level summary in your review settings.

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2025

🦋 Changeset detected

Latest commit: 6120a75

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@clerk/clerk-react Patch
@clerk/chrome-extension Patch
@clerk/elements Patch
@clerk/clerk-expo Patch
@clerk/nextjs Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch

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

@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Dec 5, 2025 11:48pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 5, 2025

Walkthrough

This PR adds a changeset documenting a patch release for @clerk/clerk-react and re-exports the experimental __experimental_useAPIKeys hook as useAPIKeys in the public API surface of the experimental module.

Changes

Cohort / File(s) Summary
Changeset documentation
.changeset/beige-cheetahs-bake.md
New changeset file marking a patch release for @clerk/clerk-react documenting the re-export of the experimental useAPIKeys hook
API export additions
packages/react/src/experimental.ts
Added re-export of __experimental_useAPIKeys as useAPIKeys from @clerk/shared/react to expose the experimental API as a public export

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes


Poem

🐰 A hook hops forth into the light,
Re-exported with care, exposed just right,
No longer hidden in shadows dark,
The API keys leave their mark! 🔑✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: re-exporting an experimental useAPIKeys hook in the React package, which aligns with the modifications to experimental.ts.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch rob/export-use-api-keys

Comment @coderabbitai help to get the list of available commands and usage tips.

@wobsoriano wobsoriano changed the title chore(react): Re-export experimental useAPIKeys hook chore(clerk-react): Re-export experimental useAPIKeys hook Dec 5, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 5, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7387

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7387

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7387

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7387

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7387

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7387

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@7387

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@7387

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7387

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7387

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7387

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7387

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7387

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7387

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@7387

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7387

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@7387

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7387

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7387

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7387

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@7387

@clerk/types

npm i https://pkg.pr.new/@clerk/types@7387

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7387

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7387

commit: 6120a75

@wobsoriano wobsoriano merged commit 2a508d3 into main Dec 6, 2025
86 of 87 checks passed
@wobsoriano wobsoriano deleted the rob/export-use-api-keys branch December 6, 2025 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants