fix(deps): update dependency @clerk/clerk-sdk-node to v5 #98
+119
−356
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.13.21
->5.0.40
Release Notes
clerk/javascript (@clerk/clerk-sdk-node)
v5.0.40
Compare Source
Patch Changes
e578b1599
]:v5.0.39
Compare Source
Patch Changes
ba19be354
,8cecbe875
,248142a6d
,1189f71f8
,a5e95295b
]:v5.0.38
Compare Source
Patch Changes
be3b119f8
]:v5.0.37
Compare Source
Patch Changes
b97b2c1ca
,8c6909d46
]:v5.0.36
Compare Source
Patch Changes
Correctly forward errors to
next()
if the request URL is invalid (#4087) by @LekoArtsUpdated dependencies [
c63a5adf0
,8823c21a2
,95ac67a14
,a0cb062fa
,746b4ed5e
]:v5.0.35
Compare Source
Patch Changes
8a3b9f079
,e95c28196
,1fe744328
]:v5.0.34
Compare Source
Patch Changes
82593173a
,afad9af89
]:v5.0.33
Compare Source
Patch Changes
Tidy up and improve README (#4053) by @LekoArts
Updated dependencies [
c9ef59106
,fece72014
,58e6754ad
,13693018f
,3aa63dc5a
,9d0477781
,3304dcc0b
]:v5.0.32
Compare Source
Patch Changes
c1389492d
]:v5.0.31
Compare Source
Patch Changes
0158c774a
,8be1a7abc
]:v5.0.30
Compare Source
Patch Changes
247b3fd75
]:v5.0.29
Compare Source
Patch Changes
ed7baa048
]:v5.0.28
Compare Source
Patch Changes
dc0e1c33d
,dc94c0834
]:v5.0.27
Compare Source
Patch Changes
7e0ced3da
,b6f0613dc
]:v5.0.26
Compare Source
Patch Changes
59d5f19d3
,4e6c94e3f
]:v5.0.25
Compare Source
Patch Changes
Internal change: Use
AuthObject
type import from@clerk/backend
. (#3844) by @kdupreyUpdated dependencies [
d7bf0f87c
,9b2aeacb3
]:v5.0.24
Compare Source
Patch Changes
7e94fcf0f
]:v5.0.23
Compare Source
Patch Changes
568186cad
,407195270
]:v5.0.22
Compare Source
Patch Changes
992e5960c
]:v5.0.21
Compare Source
Patch Changes
fde5b5e7e
,aa06f3ba7
,80e647731
]:v5.0.20
Compare Source
Patch Changes
b48689705
]:v5.0.19
Compare Source
Patch Changes
d465d7069
]:v5.0.18
Compare Source
Patch Changes
045fb93cb
]:v5.0.17
Compare Source
Patch Changes
b87f7b9e1
,b2788f67b
,86c75e50c
]:v5.0.16
Compare Source
Patch Changes
df7d856d5
]:v5.0.15
Compare Source
Patch Changes
5642b2616
]:v5.0.14
Compare Source
Patch Changes
f1847b70b
]:v5.0.13
Compare Source
Patch Changes
d6b5006c4
]:v5.0.12
Compare Source
Patch Changes
1273b04ec
]:v5.0.11
Compare Source
Patch Changes
4ec3f63e2
]:v5.0.10
Compare Source
Patch Changes
Set
@clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisgUpdated dependencies [
86a27f693
,02bed2e00
,73e5d61e2
,b8e46328d
]:v5.0.9
Compare Source
Patch Changes
ff31f7255
,0e48fc210
]:v5.0.8
Compare Source
Patch Changes
456b06849
,6888594cc
]:v5.0.7
Compare Source
Patch Changes
4d3dc00fb
,ec84d51e7
]:v5.0.6
Compare Source
Patch Changes
b27ca8366
]:v5.0.5
Compare Source
Patch Changes
Inherit verifyToken options from clerkClient. (#3296) by @panteliselef
The below code now works as expected: (requires CLERK_SECRET_KEY env var to have been set)
Updated dependencies [
b92402258
]:v5.0.4
Compare Source
Patch Changes
4f4375e88
,1662aaae9
,f70c885f7
,4ae79af36
,f5804a225
]:v5.0.3
Compare Source
Patch Changes
ba19be354
,8cecbe875
,248142a6d
,1189f71f8
,a5e95295b
]:v5.0.2
Compare Source
Patch Changes
ed7baa048
]:v5.0.1
Compare Source
Patch Changes
d465d7069
]:v5.0.0
Compare Source
Major Changes
c2a0905
: Change the minimal Node.js version required by Clerk to18.17.0
.deac67c
: Drop default exports from all packages. Migration guide:import { Clerk } from '@​clerk/backend';
import { clerkInstance } from '@​clerk/clerk-sdk-node';
import { Clerk } from '@​clerk/clerk-sdk-node';
import { Clerk } from '@​clerk/clerk-js';
import { Clerk } from '@​clerk/clerk-js/headless';
import { IsomorphicClerk } from '@​clerk/clerk-react'
02976d4
: (Note: This is only relevant if, in the unlikely case, you are usingClerk
from@clerk/clerk-sdk-node
directly. If not, you can safely ignore this change.)Remove the named
Clerk
import from@clerk/clerk-sdk-node
and importcreateClerkClient
instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future.You need to rename the import from
Clerk
tocreateClerkClient
and change its usage:9b02c1a
: Drop all pre-instantiated Backend API resources (allowlistIdentifiers
,clients
,emailAddresses
,emails
,invitations
,organizations
,phoneNumbers
,redirectUrls
,sessions
,signInTokens
,users
,domains
). Use theclerkClient
import instead.71663c5
: Internal update default apiUrl domain from clerk.dev to clerk.comdd57030
: Change the response payload of Backend API requests to return{ data, errors }
instead of return the data and throwing on error response.Code example to keep the same behavior:
f0126a7
: Changes therequest.auth
type fromLegacyAuthObject
toAuthObject
.ee432df
: Drop deprecations. Migration steps:CLERK_SECRET_KEY
instead ofCLERK_API_KEY
env variablesecretKey
instead ofapiKey
CLERK_PUBLISHABLE_KEY
instead ofCLERK_FRONTEND_API
env variablepublishableKey
instead offrontendApi
createClerkClient
with options to create a new clerkClient instead of usingthe following setters:
setClerkApiVersion
setClerkHttpOptions
setClerkServerApiUrl
setClerkApiKey
@clerk/clerk-sdk-node
instead of@clerk/clerk-sdk-node/{cjs|esm}/instance
Extra:
97407d8
: Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is18.18.0
now.0ec3a14
: Changes in exports of@clerk/backend
:@clerk/backend/internal
:gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages.1ad910e
: Changes in exports of@clerk/backend
:gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages.f58a994
: Changes in exports of@clerk/backend
:@clerk/backend/jwt
:gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages.e1f7eae
: Limit TokenVerificationError exports to TokenVerificationError and TokenVerificationErrorReason9b02c1a
: Changes in@clerk/backend
exports:deserialize
helper/errors
subpath export, eg:Minor Changes
2964f8a
: Expose debug headers in response for handshake / signed-out states from SDKs using headers returned fromauthenticateRequest()
7af0949
: Add missingcreatedAt
param inUser#createUser()
of@clerk/backend
.Fix
clerkClient.verifyToken()
signature to support a singletoken: string
parameter.4bb5705
: Breaking Changes:isLegacyFrontendApiKey
from@clerk/shared
@clerk/clerk-js
Portal
isProductionFromSecretKey
instead ofisProductionFromApiKey
isDevelopmentFromSecretKey
instead ofisDevelopmentFromApiKey
Changes:
HeadlessBrowserClerkConstrutor
/HeadlessBrowserClerkConstructor
(typo)isomorphicAtob
/isomorhpicBtoa
to replacebase-64
in@clerk/expo
@clerk/backend
clerk clientnode-fetch
dependency from@clerk/backend
@clerk/backend
18c0d01
: Pass environment intosdkMetadata
in order to detect if production clerk-js is used by other sdks in dev mode. When it is log dev warning from clerk-js.b4e79c1
: Replace theClerk-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 packageexecuting 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.
a86a5fc
: Fix error thrown for undefinedClerk
in case of using default clerkClient from@clerk/clerk-sdk-node
without secretKey caused by replaced import.Patch Changes
93d05c8
: Drop the introduction ofOrganizationRole
andOrganizationPermission
resources fro BAPI.4aaf510
: Remove createSms functions from @clerk/backend and @clerk/sdk-node.The equivalent /sms_messages Backend API endpoint will also dropped in the future, since this feature will no longer be available for new instances.
For a brief period it will still be accessible for instances that have used it in the past 7
days (13-11-2023 to 20-11-2023).
New instances will get a 403 forbidden response if they try to access it.
2de442b
: Rename beta-v5 to betaef2325d
: IntroduceisTruthy
helper to better cast environment variables to a boolean. Previously only the string"true"
was checked, nowtrue
,"true"
,"1"
, and1
will work.6a76977
: Update README for v5b8266a0
: Integrate handshake handling intoClerkExpressWithAuth()
andClerkExpressRequireWith()
. If theauthenticateRequest()
returns a redirect or is in a handshake state, the middlewares will properly handle this and respond accordingly.8e5c881
: The following paginated APIs now return{ data, totalCount }
instead of simple arrays, in order to make building paginated UIs easier:clerkClient.users.getOrganizationMembershipList(...)
clerkClient.organization.getOrganizationList(...)
clerkClient.organization.getOrganizationInvitationList(...)
Revert changing the
{ data, errors }
return value of the following helpers to throw theerrors
or return thedata
(keep v4 format):import { verifyToken } from '@​clerk/backend'
import { signJwt, hasValidSignature, decodeJwt, verifyJwt } from '@​clerk/backend/jwt'
clerkClient
methods eg (clerkClient.users.getUserList(...)
)2e77cd7
: Set correct information on required Node.js and React versions in README0ce0edc
: Add OrganizationPermissionAPI for CRUD operations regarding instance level organization permissions.a605335
: Fix types of ClerkExpressWithAuth/ClerkExpressRequireAuth args40ac4b6
: Introduces telemetry collection from Clerk's SDKs. Collected telemetry will be used to gain insights into product usage and help drive roadmap priority. For more information, see https://clerk.com/docs/telemetry.Updated dependencies [
3a2f136
]Updated dependencies [
8c23651
]Updated dependencies [
f4f99f1
]Updated dependencies [
743c4d2
]Updated dependencies [
4b8bedc
]Updated dependencies [
9272006
]Updated dependencies [
c2a0905
]Updated dependencies [
966b312
]Updated dependencies [
1834a3e
]Updated dependencies [
a8901be
]Updated dependencies [
896cb61
]Updated dependencies [
64d3763
]Updated dependencies [
8350109
]Updated dependencies [
7b200af
]Updated dependencies [
988a299
]Updated dependencies [
ecb60da
]Updated dependencies [
deac67c
]Updated dependencies [
b3a3dcd
]Updated dependencies [
1dc28ab
]Updated dependencies [
83e9d08
]Updated dependencies [
244de5e
]Updated dependencies [
791c498
]Updated dependencies [
935b088
]Updated dependencies [
93d05c8
]Updated dependencies [
ea49336
]Updated dependencies [
a9fe242
]Updated dependencies [
448e02e
]Updated dependencies [
2671e7a
]Updated dependencies [
799abc2
]Updated dependencies [
4aaf510
]Updated dependencies [
a68eb30
]Updated dependencies [
2de442b
]Updated dependencies [
15af02a
]Updated dependencies [
db18787
]Updated dependencies [
7f833da
]Updated dependencies [
de6519d
]Updated dependencies [
e6ecbaa
]Updated dependencies [
ef2325d
]Updated dependencies [
6a76977
]Updated dependencies [
fc3ffd8
]Updated dependencies [
8b6b094
]Updated dependencies [
bab2e7e
]Updated dependencies [
71663c5
]Updated dependencies [
a6b893d
]Updated dependencies [
02976d4
]Updated dependencies [
492b8a7
]Updated dependencies [
8e5c881
]Updated dependencies [
9e99eb7
]Updated dependencies [
034c47c
]Updated dependencies [
e5c989a
]Updated dependencies [
7ecd6f6
]Updated dependencies [
12f3c5c
]Updated dependencies [
c776f86
]Updated dependencies [
90aa2ea
]Updated dependencies [
1e98187
]Updated dependencies [
a605335
]Updated dependencies [
2e77cd7
]Updated dependencies [
2964f8a
]Updated dependencies [
7af0949
]Updated dependencies [
97407d8
]Updated dependencies [
63dfe8d
]Updated dependencies [
e921af2
]Updated dependencies [
d08ec6d
]Updated dependencies [
dd57030
]Updated dependencies [
5f58a22
]Updated dependencies [
0307957
]Updated dependencies [
c22cd52
]Updated dependencies [
52ff8fe
]Updated dependencies [
86d52fb
]Updated dependencies [
c7e6d00
]Updated dependencies [
8cc45d2
]Updated dependencies [
a9fe242
]Updated dependencies [
97407d8
]Updated dependencies [
12962bc
]Updated dependencies [
7cb1241
]Updated dependencies [
9615e6c
]Updated dependencies [
0ec3a14
]Updated dependencies [
4bb5705
]Updated dependencies [
bad4de1
]Updated dependencies [
d4ff346
]Updated dependencies [
7644b74
]Updated dependencies [
2ec9f6b
]Updated dependencies [
66b2836
]Updated dependencies [
46040a2
]Updated dependencies [
cace853
]Updated dependencies [
1ad910e
]Updated dependencies [
8daf845
]Updated dependencies [
f58a994
]Updated dependencies [
4aaf510
]Updated dependencies [
75ea300
]Updated dependencies [
d22e616
]Updated dependencies [
e1f7eae
]Updated dependencies [
7f751c4
]Updated dependencies [
4fced88
]Updated dependencies [
f5d55bb
]Updated dependencies [[
0d1052a
](https://redirect.githuConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - "after 9am and before 5pm Monday" (UTC).
🚦 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.