Releases: clerk/javascript
@clerk/[email protected]
Patch Changes
-
The
exports
map insidepackage.json
has been slightly adjusted to allow forrequire(esm)
to work correctly. The"import"
conditions have been changed to"default"
. (#5188) by @LekoArtsYou shouldn't see any change in behavior/functionality on your end.
-
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,b707e942bfd434ff8a3b9a9fadf9d1b694d702c8
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
Introduce
updateClerkOptions()
utility function to update Clerk options on the fly. (#5235) by @wobsorianoUsage:
<script setup> import { updateClerkOptions } from '@clerk/vue'; import { dark } from '@clerk/themes'; import { frFR } from '@clerk/localizations'; function enableDarkTheme() { updateClerkOptions({ appearance: { baseTheme: dark, }, }); } function changeToFrench() { updateClerkOptions({ localization: frFR, }); } </script> <template> <button @click="enableDarkTheme">Enable Dark Theme</button> <button @click="changeToFrench">Change to French</button> </template>
Patch Changes
-
Fixes an issue where duplicated imports caused warnings in the console. (#5227) by @wobsoriano
-
The
exports
map insidepackage.json
has been slightly adjusted to allow forrequire(esm)
to work correctly. The"import"
conditions have been changed to"default"
. (#5188) by @LekoArtsYou shouldn't see any change in behavior/functionality on your end.
-
Updated dependencies [
54a3b5b7fbdbbf3655ccabf10370313728d4d7be
,28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,de89c4fb319c0a86a6785b344969f542723229f9
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
-
Track usage of pages and app router. (#5236) by @panteliselef
-
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,b707e942bfd434ff8a3b9a9fadf9d1b694d702c8
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
@clerk/[email protected]
Minor Changes
- Surface new
pending
session as a signed-in state (#5136) by @LauraBeatris
Patch Changes
- Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,b707e942bfd434ff8a3b9a9fadf9d1b694d702c8
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
- Surface new
pending
session as a signed-in state (#5136) by @LauraBeatris
Patch Changes
-
Refactors
IsomorphicClerk
types to reduce unnecessary duplication between it andClerk
. Also relies more on the source types fromClerk
to ensureIsomorphicClerk
types match. (#5197) by @brkalow -
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
Introduce the
appearance.captcha
property for the CAPTCHA widget (#5184) by @anagstef -
Track usage of modal UI Components as part of telemetry. (#5185) by @panteliselef
-
-
Initialize new
pending
session status as an signed-in state (#5136) by @LauraBeatris -
Deprecate
Clerk.client.activeSessions
in favor ofClerk.client.signedInSessions
-
Introduce
Clerk.isSignedIn
property as an explicit signed-in state check, instead of!!Clerk.session
or!!Clerk.user
:
- if (Clerk.user) { + if (Clerk.isSignedIn) { // Mount user button component document.getElementById('signed-in').innerHTML = ` <div id="user-button"></div> ` const userbuttonDiv = document.getElementById('user-button') clerk.mountUserButton(userbuttonDiv) }
-
Patch Changes
-
Set input primitive placeholder color. (#5157) by @alexcarpenter
-
Fix issue where scroll lock was not restored correctly when multiple modals were opening (#5233) by @octoper
-
Refactor social button row distribution calculation to prevent overlapping on page load. (#5213) by @alexcarpenter
-
Remove full width from OrgProfile members search input. (#5126) by @alexcarpenter
-
Improve compatibility with Safari 12 by removing modern JavaScript syntax. (#5228) by @dstaley
-
Bug fix: Broadcast a sign out event to all opened tabs when
Clerk.signOut()
orUser.delete()
is called. (#5133) by @panteliselef -
Initialize
tasks
onSession
resource (#5170) by @LauraBeatris -
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae
,7ae77b74326e378bf161e29886ee82e1556d9840
,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a
,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a
,382c30240f563e58bc4d4832557c6825da40ce7f
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]