Update dependency @clerk/nextjs to ^4.31.6 #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.27.1
->^4.31.6
Release Notes
clerk/javascript (@clerk/nextjs)
v4.31.6
Compare Source
Patch Changes
c5df11382
,c5df11382
]:v4.31.5
Compare Source
Patch Changes
v4.31.4
Compare Source
Patch Changes
f18ca132d
]:v4.31.3
Compare Source
Patch Changes
9cd588d77
]:v4.31.2
Compare Source
Patch Changes
76a1087c3
]:v4.31.1
Compare Source
Patch Changes
a8c0128be
]:v4.31.0
Compare Source
Minor Changes
React component
Patch Changes
fcc349cb5
,fcc349cb5
]:v4.30.1
Compare Source
Patch Changes
7cd9dd668
]:v4.30.0
Compare Source
Minor Changes
Introduce experimental support for Google One Tap (#3196) by @panteliselef
<__experimental_GoogleOneTap/>
clerk.__experimental_mountGoogleOneTap(node,props)
Patch Changes
220b813d5
,4cf2a2198
,c8ba96b86
,07e73f21d
]:v4.29.12
Compare Source
Patch Changes
222acd810
]:v4.29.11
Compare Source
Patch Changes
Enable support for older browsers starting with Safari 12 by switching the compilation target to es2019 for all client-side SDKs (#3113) by @nikosdouvlis
Updated dependencies [
d9612801c
]:v4.29.10
Compare Source
Patch Changes
cd2bf9dce
,b47264367
,089eee519
]:v4.29.9
Compare Source
Patch Changes
f44ce8b76
]:v4.29.8
Compare Source
Patch Changes
228096446
]:v4.29.7
Compare Source
Patch Changes
4a05f2e90
,cd00175cb
,229996036
]:v4.29.6
Compare Source
Patch Changes
Remove usage of useSearchParams() to avoid CSR de-opt. (#2698) by @clerk-cookie
Updated dependencies [
38f0f862b
]:v4.29.5
Compare Source
Patch Changes
next/navigation
to ensure it can function in versions of next that don't have this export. (#2652) by @BRKalowv4.29.4
Compare Source
Patch Changes
fee77c8a8
]:v4.29.3
Compare Source
Patch Changes
Replace the
Clerk-Backend-SDK
header withUser-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlisexecuting the request. Eg request from
@clerk/nextjs
to BAPI with appendUser-Agent: @​clerk/nextjs@5.0.0-alpha-v5.16
using the latest version.Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [
c59a2d4a2
,2a615bf98
]:v4.29.2
Compare Source
Patch Changes
71b4b9ca2
,65332d744
]:v4.29.1
Compare Source
Patch Changes
3ece3f80f
,6c64c9bbc
,0bf0bdd56
]:v4.29.0
Compare Source
Minor Changes
__clerk_db_jwt
and__dev_session
the dev browser jwt in development (#2428) by @dimklPatch Changes
df40705d3
,a8feab74a
]:v4.28.1
Compare Source
Patch Changes
v4.28.0
Compare Source
Minor Changes
Introduce Protect for authorization. (#2309) by @panteliselef
Changes in public APIs:
experimental
tags and prefixessome
from thehas
utility and Protect. Protect now accepts acondition
prop where a function is expected with thehas
being exposed as the param.<SignedIn>
, if no authorization props are passed.has
will throw an error if neitherpermission
orrole
is passed.auth().protect()
for Nextjs App Router. Allow per page protection in app router. This utility will automatically throw a 404 error if user is not authorized or authenticated.not-found
component set by the developerPatch Changes
Accept
redirectUrl
as an option forauth().protect()
. (#2333) by @panteliselefFor example:
Updated dependencies [
b4868ab8f
,2dc93d4d8
]:v4.27.7
Compare Source
Patch Changes
Use dynamic imports in
<ClerkProvider />
which you import from@clerk/nextjs
. (#2292) by @LekoArtsUsers on Next.js 12 and older can run into errors like these:
The aforementioned
<ClerkProvider />
component contains code for both Next.js 12 (+ older) and Next.js 13 (+ newer). On older versions it can't find the imports only available in newer versions.If you're seeing these errors, you have to do two things:
Update
@clerk/nextjs
to this versionUpdate your
next.config.js
to ignore these imports:It is safe to ignore these modules as your Next.js 12 app won't hit these code paths.
v4.27.6
Compare Source
Patch Changes
a62479810
]:v4.27.5
Compare Source
Patch Changes
31ee1438a
,7ef3414ba
,c7763fa60
,12b362923
]:v4.27.4
Compare Source
Patch Changes
Drop the introduction of
OrganizationRole
andOrganizationPermission
resources fro BAPI. (#2257) by @panteliselefEnsure that cookies set inside Next.js Middleware are correctly passed through while using
authMiddleware
. (#2260) by @clerk-cookieUpdated dependencies [
11fdbcb39
]:v4.27.3
Compare Source
Patch Changes
7130db0fb
]:v4.27.2
Compare Source
Patch Changes
Add OrganizationPermissionAPI for CRUD operations regarding instance level organization permissions. (#2185) by @panteliselef
Updated dependencies [
aaaf24a55
,e41374abf
,e41374abf
,e61df051c
,9d8a29b8e
]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.