| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:346d4450-9474-6569-d012-1c5bafba8588 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AFC8:15FC93:32FC83:47582A:6AFB55AA |
| html-safe-nonce | 815213b6471b8965fc4c0f0ba3781a61e574c2e50cb875d43dde38c1725cf33e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkM4OjE1RkM5MzozMkZDODM6NDc1ODJBOjZBRkI1NUFBIiwidmlzaXRvcl9pZCI6Ijg0MzcyMDAyMTM4MDk3ODAxMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eb844fbe14f78e1838e01122997f5983d45a5a9e91261b047daea207111722ec |
| hovercard-subject-tag | pull_request:2435094897 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/5517/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5b852e5e74b58f86075439d7bafe586e592837c9df31236cc52f9ec375356d04/clerk/javascript/pull/5517 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b852e5e74b58f86075439d7bafe586e592837c9df31236cc52f9ec375356d04/clerk/javascript/pull/5517 |
| og:image:alt | Description
Add __experimental_feature param to has function:
const { has } = await auth()
const hasFeature = has({ __experimental_feature: 'testfeature' })
Resolves COM-203.
TODO:
testin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iagodahlem |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/5517#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5517 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5517 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript |
| Reload | https://github.com/clerk/javascript/pull/5517 |
| Reload | https://github.com/clerk/javascript/pull/5517 |
| Reload | https://github.com/clerk/javascript/pull/5517 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues45 (45) | https://github.com/clerk/javascript/issues |
| Pull requests115 (115) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| iagodahlem | https://github.com/iagodahlem |
| main | https://github.com/clerk/javascript/tree/main |
| iago/com-203-sdk-support-features-in-has | https://github.com/clerk/javascript/tree/iago/com-203-sdk-support-features-in-has |
| Conversation | https://github.com/clerk/javascript/pull/5517 |
| Commits3 (3) | https://github.com/clerk/javascript/pull/5517/commits |
| Checks | https://github.com/clerk/javascript/pull/5517/checks |
| Files changed | https://github.com/clerk/javascript/pull/5517/files |
| feat(backend, clerk-js,clerk-react,shared,types): Add feature param to has | https://github.com/clerk/javascript/pull/5517#top |
| iagodahlem | https://github.com/iagodahlem |
| main | https://github.com/clerk/javascript/tree/main |
| iago/com-203-sdk-support-features-in-has | https://github.com/clerk/javascript/tree/iago/com-203-sdk-support-features-in-has |
|
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#issue-2967386362 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| COM-203 | https://linear.app/clerk/issue/COM-203/sdk-support-features-in-has |
| JSDoc comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#issuecomment-2773562698 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| Vercel for Git ↗︎ | https://vercel.link/github-learn-more |
| Inspect | https://vercel.com/clerk-production/clerk-js-sandbox/2taTyavH5KQH6SbVdfN8KyrgPjpu |
| Visit Preview | https://clerk-js-sandbox-git-iago-com-203-sdk-support-features-in-has.clerkstage.dev |
| Add feedback | https://vercel.live/open-feedback/clerk-js-sandbox-git-iago-com-203-sdk-support-features-in-has.clerkstage.dev?via=pr-comment-feedback-link |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
types
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes |
|
clerk-js
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js |
|
react
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact |
|
backend
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#event-17100073916 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#event-17100073950 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#event-17100075720 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| force-pushed | https://github.com/clerk/javascript/compare/7c2d103031557c26daac2eaa7c63a4f3a5c5aabb..f17a1d8c428fd6e03abfbd2116b55e07191c41cc |
| 7c2d103 | https://github.com/clerk/javascript/commit/7c2d103031557c26daac2eaa7c63a4f3a5c5aabb |
| f17a1d8 | https://github.com/clerk/javascript/commit/f17a1d8c428fd6e03abfbd2116b55e07191c41cc |
|
Compare
| https://github.com/clerk/javascript/compare/7c2d103031557c26daac2eaa7c63a4f3a5c5aabb..f17a1d8c428fd6e03abfbd2116b55e07191c41cc |
| April 2, 2025 19:47 | https://github.com/clerk/javascript/pull/5517#event-17100102706 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#issuecomment-2773568819 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| 3bd7ce0 | https://github.com/clerk/javascript/commit/3bd7ce09555d1a4544f83f20616e71bb05579334 |
| Click here to learn what changesets are | https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/clerk/javascript/new/iago/com-203-sdk-support-features-in-has?filename=.changeset/rare-apples-change.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fclerk-react%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A%22%40clerk%2Ftypes%22%3A%20patch%0A---%0A%0Afeat(backend%2C%20clerk-js%2Cclerk-react%2Cshared%2Ctypes)%3A%20Add%20feature%20param%20to%20has%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-voa98m30d.clerkstage.dev |
| Preview | https://clerk-js-sandbox-voa98m30d.clerkstage.dev |
| April 2, 2025 19:48 | https://github.com/clerk/javascript/pull/5517#event-17100115066 |
| View deployment | https://clerk-js-sandbox-voa98m30d.clerkstage.dev |
| https://github.com/panteliselef |
| panteliselef | https://github.com/panteliselef |
|
Apr 2, 2025
| https://github.com/clerk/javascript/pull/5517#pullrequestreview-2737428565 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/5517/files |
| packages/types/src/jwtv2.ts | https://github.com/clerk/javascript/pull/5517/files#diff-41a2bc3666920d67aa7249fc0d659a46b0ee2ae411c94bc718ebb0d7c00ff964 |
| panteliselef | https://github.com/panteliselef |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#discussion_r2025501362 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| iagodahlem | https://github.com/iagodahlem |
| Apr 2, 2025 | https://github.com/clerk/javascript/pull/5517#discussion_r2025504720 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://www.notion.so/clerkdev/Commerce-Features-Permissions-JWT-implications-1a52b9ab44fe80a896ccf9feedd788ed?pvs=4 | https://www.notion.so/clerkdev/Commerce-Features-Permissions-JWT-implications-1a52b9ab44fe80a896ccf9feedd788ed?pvs=4 |
| @izaaklauer | https://github.com/izaaklauer |
| @mzhong9723 | https://github.com/mzhong9723 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| https://github.com/octoper |
| octoper | https://github.com/octoper |
|
Apr 3, 2025
| https://github.com/clerk/javascript/pull/5517#pullrequestreview-2739577919 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/5517/files |
| packages/types/src/jwtv2.ts | https://github.com/clerk/javascript/pull/5517/files#diff-41a2bc3666920d67aa7249fc0d659a46b0ee2ae411c94bc718ebb0d7c00ff964 |
| octoper | https://github.com/octoper |
| Apr 3, 2025 | https://github.com/clerk/javascript/pull/5517#discussion_r2026839254 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| reference | https://github.com/clerk/javascript/pull/5521 |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| iagodahlem | https://github.com/iagodahlem |
| Apr 3, 2025 | https://github.com/clerk/javascript/pull/5517#discussion_r2026855581 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| April 3, 2025 12:03 | https://github.com/clerk/javascript/pull/5517#event-17112369786 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-hes65kmdt.clerkstage.dev |
| Preview | https://clerk-js-sandbox-hes65kmdt.clerkstage.dev |
| April 4, 2025 13:56 | https://github.com/clerk/javascript/pull/5517#event-17130752527 |
| View deployment | https://clerk-js-sandbox-hes65kmdt.clerkstage.dev |
| iagodahlem | https://github.com/iagodahlem |
| April 4, 2025 11:00 | https://github.com/clerk/javascript/pull/5517#commits-pushed-433b28b |
|
| https://github.com/iagodahlem |
| feat: add feature param to has | https://github.com/clerk/javascript/pull/5517/commits/433b28bbca7ec589ede2659fc6c1c02feb053c28 |
| 433b28b | https://github.com/clerk/javascript/pull/5517/commits/433b28bbca7ec589ede2659fc6c1c02feb053c28 |
|
| https://github.com/iagodahlem |
| feat: add feature param to Protect component and auth.protect | https://github.com/clerk/javascript/pull/5517/commits/326c5f3a33af83c92039df582cbc0dd8fc9f0dc5 |
| 326c5f3 | https://github.com/clerk/javascript/pull/5517/commits/326c5f3a33af83c92039df582cbc0dd8fc9f0dc5 |
|
| https://github.com/iagodahlem |
| chore: add features to authObject | https://github.com/clerk/javascript/pull/5517/commits/3bd7ce09555d1a4544f83f20616e71bb05579334 |
| 3bd7ce0 | https://github.com/clerk/javascript/pull/5517/commits/3bd7ce09555d1a4544f83f20616e71bb05579334 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| force-pushed | https://github.com/clerk/javascript/compare/75c460e121de80401ef5a67d24e01e3626df17a3..3bd7ce09555d1a4544f83f20616e71bb05579334 |
| 75c460e | https://github.com/clerk/javascript/commit/75c460e121de80401ef5a67d24e01e3626df17a3 |
| 3bd7ce0 | https://github.com/clerk/javascript/commit/3bd7ce09555d1a4544f83f20616e71bb05579334 |
|
Compare
| https://github.com/clerk/javascript/compare/75c460e121de80401ef5a67d24e01e3626df17a3..3bd7ce09555d1a4544f83f20616e71bb05579334 |
| April 4, 2025 17:56 | https://github.com/clerk/javascript/pull/5517#event-17134025864 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-eof9ljew3.clerkstage.dev |
| Preview | https://clerk-js-sandbox-eof9ljew3.clerkstage.dev |
| April 4, 2025 17:56 | https://github.com/clerk/javascript/pull/5517#event-17134033105 |
| View deployment | https://clerk-js-sandbox-eof9ljew3.clerkstage.dev |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| Apr 11, 2025 | https://github.com/clerk/javascript/pull/5517#event-17215949580 |
| https://github.com/iagodahlem |
| iagodahlem | https://github.com/iagodahlem |
| September 26, 2025 18:38 | https://github.com/clerk/javascript/pull/5517#event-19950321779 |
| Deployed | https://clerk-js-sandbox-eof9ljew3.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-eof9ljew3.clerkstage.dev |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5517 |
|
| https://github.com/octoper |
|
octoper
| https://github.com/octoper |
|
| https://github.com/clerk/javascript/pull/5517/files/f17a1d8c428fd6e03abfbd2116b55e07191c41cc |
|
| https://github.com/panteliselef |
|
panteliselef
| https://github.com/panteliselef |
|
| https://github.com/clerk/javascript/pull/5517/files/f17a1d8c428fd6e03abfbd2116b55e07191c41cc |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
|
backend
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend |
|
clerk-js
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js |
|
react
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact |
|
types
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes |
| Please reload this page | https://github.com/clerk/javascript/pull/5517 |
|
| https://github.com/iagodahlem |
|
| https://github.com/octoper |
|
| https://github.com/panteliselef |
|
| https://github.com/clerk-cookie |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |