Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [c59a2d4a2
, 2a615bf98
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [c59a2d4a2
, 2a615bf98
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [c59a2d4a2
, 2a615bf98
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [c59a2d4a2
, 2a615bf98
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Updated dependencies [c59a2d4a2
, 2a615bf98
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-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 @nikosdouvlis
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Add deprecation warning for EmailAPI.createEmail
. (#2555) by @Nikpolik
This endpoint is no longer available and the function will be removed in the next major version.
Published by clerk-cookie 10 months ago
SignIn
component with a redirectUrl
prop passed in will always respect the latest value of redirectUrl
. (#2515) by @nikosdouvlis
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
799abc281
, 8cc45d2af
, b4e79c1b9
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
799abc281
, 8cc45d2af
, b4e79c1b9
, db2d82901
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
Export MultisessionAppSupport from @clerk/nextjs/internal (#2553) by @nikosdouvlis
Updated dependencies [799abc281
, 8cc45d2af
, b4e79c1b9
, db2d82901
]:
Published by clerk-cookie 10 months ago
Apply the following changes to components with routing props: (#2543) by @dimkl
routing="path"
and path
prop is required to be set via env or contextrouting="hash"
or routing="virtual"
is set the implicit (via env or context) path
option is ignoredrouting="hash"
or routing="virtual"
then path
prop is not allowed to be setExamples of components with routing props:
<CreateOrganization />
<OrganizationProfile />
<SignIn />
<SignUp />
<UserProfile />
Allow dynamic values components props, even if these values change after the components are rendered. For example, a SignIn
component with a redirectUrl
prop passed in will always respect the latest value of redirectUrl
. (#2515) by @nikosdouvlis
Updated dependencies [8cc45d2af
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
799abc281
, 8cc45d2af
, b4e79c1b9
, db2d82901
]:
Published by clerk-cookie 10 months ago
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
799abc281
, 8cc45d2af
, b4e79c1b9
]:
Published by clerk-cookie 10 months ago
8cc45d2af
, db2d82901
]:
Published by clerk-cookie 10 months ago
Allow dynamic values components props, even if these values change after the components are rendered. For example, a SignIn
component with a redirectUrl
prop passed in will always respect the latest value of redirectUrl
. (#2515) by @nikosdouvlis
Updated dependencies [8cc45d2af
]:
Published by clerk-cookie 10 months ago
8cc45d2af
, db2d82901
]:
Published by clerk-cookie 10 months ago
Change SessionApi.getToken()
to return consistent { data, errors }
return value (#2539) by @dimkl
and fix the getToken()
from requestState to have the same return behavior as v4
(return Promise or throw error).
This change fixes issues with getToken()
in @clerk/nextjs
/ @clerk/remix
/ @clerk/fastify
/ @clerk/sdk-node
/ gatsby-plugin-clerk
:
Example:
import { getAuth } from '@clerk/nextjs/server';
const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
The change in SessionApi.getToken()
return value is a breaking change, to keep the existing behavior use the following:
import { ClerkAPIResponseError } from '@clerk/shared/error';
const response = await clerkClient.sessions.getToken(...);
if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;
throw error;
}
// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
Replace the Clerk-Backend-SDK
header with User-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl
executing the request. Eg request from @clerk/nextjs
to BAPI with append User-Agent: @clerk/[email protected]
using the latest version.
Miscellaneous changes: The backend test build changed to use tsup.
8cc45d2af
]:
Published by clerk-cookie 10 months ago
Include new headers in requests; (#2544) by @thiskevinwang
Added expo-application >=5
& expo-constants >=14
peer deps
Published by clerk-cookie 10 months ago
Published by clerk-cookie 10 months ago
4c482ebe6
]: