- Updated dependencies [
cd2bf9dce
,b47264367
,089eee519
]:- @clerk/types@3.63.0
- @clerk/shared@1.4.0
- @clerk/backend@0.38.4
- @clerk/clerk-react@4.30.8
- @clerk/clerk-sdk-node@4.13.12
- Updated dependencies [
f44ce8b76
]:- @clerk/shared@1.3.3
- @clerk/backend@0.38.3
- @clerk/clerk-react@4.30.7
- @clerk/clerk-sdk-node@4.13.11
- Updated dependencies [
228096446
]:- @clerk/shared@1.3.2
- @clerk/types@3.62.1
- @clerk/backend@0.38.2
- @clerk/clerk-react@4.30.6
- @clerk/clerk-sdk-node@4.13.10
- Updated dependencies [
4a05f2e90
,cd00175cb
,229996036
]:- @clerk/clerk-react@4.30.5
- @clerk/types@3.62.0
- @clerk/backend@0.38.1
- @clerk/clerk-sdk-node@4.13.9
-
Remove usage of useSearchParams() to avoid CSR de-opt. (#2698) by @clerk-cookie
-
Updated dependencies [
38f0f862b
]:- @clerk/backend@0.38.0
- @clerk/types@3.61.0
- @clerk/clerk-sdk-node@4.13.8
- @clerk/clerk-react@4.30.4
- Adjust how we are importing
next/navigation
to ensure it can function in versions of next that don't have this export. (#2652) by @BRKalow
- Updated dependencies [
fee77c8a8
]:- @clerk/backend@0.37.3
- @clerk/clerk-sdk-node@4.13.7
-
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
]:- @clerk/clerk-sdk-node@4.13.6
- @clerk/backend@0.37.2
- Updated dependencies [
71b4b9ca2
,65332d744
]:- @clerk/backend@0.37.1
- @clerk/shared@1.3.1
- @clerk/clerk-sdk-node@4.13.5
- @clerk/clerk-react@4.30.3
- Updated dependencies [
3ece3f80f
,6c64c9bbc
,0bf0bdd56
]:- @clerk/backend@0.37.0
- @clerk/clerk-react@4.30.2
- @clerk/shared@1.3.0
- @clerk/clerk-sdk-node@4.13.4
- Support reading from
__clerk_db_jwt
and__dev_session
the dev browser jwt in development (#2428) by @dimkl
- Updated dependencies [
df40705d3
,a8feab74a
]:- @clerk/shared@1.2.0
- @clerk/backend@0.36.1
- @clerk/clerk-react@4.30.1
- @clerk/clerk-sdk-node@4.13.3
-
Introduce Protect for authorization. (#2309) by @panteliselef
Changes in public APIs:
- Rename Gate to Protect
- Support for permission checks. (Previously only roles could be used)
- Remove the
experimental
tags and prefixes - Drop
some
from thehas
utility and Protect. Protect now accepts acondition
prop where a function is expected with thehas
being exposed as the param. - Protect can now be used without required props. In this case behaves as
<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.- inside a page or layout file it will render the nearest
not-found
component set by the developer - inside a route handler it will return empty response body with a 404 status code
- inside a page or layout file it will render the nearest
-
Accept
redirectUrl
as an option forauth().protect()
. (#2333) by @panteliselefFor example:
// Authorization auth().protect({ role: 'org:admin' }, { redirectUrl: '/any-page' }); auth().protect({ permission: 'org:settings:manage' }, { redirectUrl: '/any-page' }); // Authentication auth().protect({ redirectUrl: '/any-page' });
-
Updated dependencies [
b4868ab8f
,2dc93d4d8
]:- @clerk/types@3.60.0
- @clerk/backend@0.36.0
- @clerk/clerk-react@4.30.0
- @clerk/clerk-sdk-node@4.13.2
-
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:
error - ./node_modules/@clerk/nextjs/dist/esm/app-router/client/ClerkProvider.js:10:22 Module not found: Can't resolve 'next/navigation'
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 version -
Update your
next.config.js
to ignore these imports:const webpack = require('webpack'); /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, webpack(config) { config.plugins.push( new webpack.IgnorePlugin({ resourceRegExp: /^next\/(navigation|headers|compat\/router)$/ }), ); return config; }, }; module.exports = nextConfig;
It is safe to ignore these modules as your Next.js 12 app won't hit these code paths.
-
- Updated dependencies [
a62479810
]:- @clerk/clerk-react@4.29.0
- @clerk/types@3.59.0
- @clerk/backend@0.35.1
- @clerk/clerk-sdk-node@4.13.1
- Updated dependencies [
31ee1438a
,7ef3414ba
,c7763fa60
,12b362923
]:- @clerk/types@3.58.1
- @clerk/backend@0.35.0
- @clerk/clerk-sdk-node@4.13.0
- @clerk/clerk-react@4.28.3
-
Drop the introduction of
OrganizationRole
andOrganizationPermission
resources fro BAPI. (#2257) by @panteliselef -
Ensure that cookies set inside Next.js Middleware are correctly passed through while using
authMiddleware
. (#2260) by @clerk-cookie -
Updated dependencies [
11fdbcb39
]:- @clerk/clerk-sdk-node@4.12.23
- @clerk/backend@0.34.3
- Updated dependencies [
7130db0fb
]:- @clerk/clerk-react@4.28.2
-
Add OrganizationPermissionAPI for CRUD operations regarding instance level organization permissions. (#2185) by @panteliselef
-
Updated dependencies [
aaaf24a55
,e41374abf
,e41374abf
,e61df051c
,9d8a29b8e
]:- @clerk/backend@0.34.2
- @clerk/shared@1.1.1
- @clerk/clerk-sdk-node@4.12.22
- @clerk/clerk-react@4.28.1
- Updated dependencies [
1df2ffe77
]:- @clerk/backend@0.34.1
- @clerk/clerk-sdk-node@4.12.21
- Experimental support for
<Gate/>
with role checks. (#2051) by @panteliselef
-
Fix type inferance for auth helper. (#2049) by @panteliselef
-
Updated dependencies [
7fa8fbcf2
,068a9025c
,4c3429010
,d7fe11ede
,20eab8365
,f9d1bc758
,f652a5618
,4f9214aca
]:- @clerk/shared@1.1.0
- @clerk/types@3.58.0
- @clerk/backend@0.34.0
- @clerk/clerk-react@4.28.0
- @clerk/clerk-sdk-node@4.12.20
-
Deprecate
user
,session
, andorganization
resources from the returned value ofauth()
. (#1960) by @panteliselef -
Imports
deprecatedObjectProperty
from@clerk/shared
as subpath. (#1989) by @clerk-cookie -
Updated dependencies [
f6f67f9ab
,a8d7a687e
,7b91aca54
,0f8aedd62
,bc19fe025
,60ea712fa
]:- @clerk/types@3.57.1
- @clerk/shared@1.0.2
- @clerk/backend@0.33.0
- @clerk/clerk-react@4.27.2
- @clerk/clerk-sdk-node@4.12.19
- Updated dependencies [
29a5f5641
]:- @clerk/shared@1.0.1
- @clerk/backend@0.32.1
- @clerk/clerk-react@4.27.1
- @clerk/clerk-sdk-node@4.12.18
- Add support for NextJS 14 (#1948) by @desiprisg
-
Fix an issue where only static routes would be allowed by
publicRoutes
prop fromauthMiddleware
. (#1928) by @desiprisg -
Publish packages with npm provenance enabled (#1891) by @LekoArts
-
Update
<ClerkProvider />
to work in client components within the app router. This allows rendering of the provider in client components, previously the pages router provider was being imported and throwing an error. (#1840) by @BRKalow -
Update imports of
@clerk/shared
to granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime. (#1924) by @BRKalow -
Updated dependencies [
3bf64107e
,52f8553d2
,92727eec3
,b09b66eec
,51861addf
,37d8856ba
,aa4cd7615
]:- @clerk/clerk-sdk-node@4.12.16
- @clerk/backend@0.31.3
- @clerk/shared@1.0.0
- @clerk/clerk-react@4.27.0
- @clerk/types@3.57.0
-
Update the error thrown by auth() or getAuth() to indicate that if the /src directory exists, then the middleware.ts file needs to be placed inside it, otherwise the middleware will not run. (#1908) by @nikosdouvlis
-
Updated dependencies [
9ca215702
]:- @clerk/types@3.56.1
- @clerk/backend@0.31.2
- @clerk/clerk-react@4.26.6
- @clerk/clerk-sdk-node@4.12.15
-
Improves the debug log output, and changes the internal behavior to use multiple
console.log()
calls. This will help to avoid any platform logging limitations per call. (#1866) by @BRKalow -
Updated dependencies [
35be8709d
,13e9dfbaa
,e38488c92
,a11f962bc
,9b644d799
,a9894b445
,834dadb36
,70f251007
,a46d6fe99
]:- @clerk/types@3.56.0
- @clerk/backend@0.31.1
- @clerk/shared@0.24.5
- @clerk/clerk-react@4.26.5
- @clerk/clerk-sdk-node@4.12.14
-
Warn about environment variables deprecations: (#1859) by @dimkl
CLERK_API_KEY
CLERK_FRONTEND_API
NEXT_PUBLIC_CLERK_FRONTEND_API
-
Introduce a new property on the core Clerk singleton,
sdkMetadata
. This will be populated by each host SDK. This metadata will be used to make logging and debugging easier. (#1857) by @BRKalow -
Introduce new
*EmailLink*
helpers that will replace the*MagicLink*
helpers. (#1833) by @dimklAlso marked all the
*MagicLink*
as deprecated using JSDocs. -
Updated dependencies [
977336f79
,997b8e256
,d89c09bb0
,91e9a55f4
,c9b17f5a7
,91014880d
,451fc332a
,3848f8dbe
,7f4d4b942
]:- @clerk/shared@0.24.4
- @clerk/clerk-react@4.26.4
- @clerk/types@3.55.0
- @clerk/clerk-sdk-node@4.12.13
- @clerk/backend@0.31.0
-
Add deprecation warning for
@clerk/nextjs/app-beta
export. Use the@clerk/nextjs
instead. by @nikosdouvlis -
Retry the implemented changes from #1767 which were reverted in #1806 due to RSC related errors (not all uses components had the
use client
directive). Restore the original PR and add additionaluse client
directives to ensure it works correctly. by @nikosdouvlis -
Updated dependencies [
1136c7c15
,1e212c19d
,1136c7c15
,1136c7c15
,1136c7c15
]:- @clerk/clerk-react@4.26.3
- @clerk/shared@0.24.3
- @clerk/backend@0.30.3
- @clerk/clerk-sdk-node@4.12.12
-
Pins the internal dependency versions. This ensures that users installing our main framework SDKs will get consistent versions across all @clerk/ packages. (#1798) by @BRKalow
-
Updated dependencies [
b59b6b75d
,fed24f1bf
,164f3aac7
,68259a2bb
,33e927c59
,0636ff779
,9514618d6
,bb2ec9373
,c7c6912f3
,71bb1c7b5
,e592565e0
]:- @clerk/types@3.54.0
- @clerk/backend@0.30.2
- @clerk/clerk-react@4.26.2
- @clerk/clerk-sdk-node@4.12.11
-
Temporarily revert internal change to resolve RSC-related errors (#1806) by @nikosdouvlis
-
Updated dependencies [
cecf74d79
,a0b25671c
]:- @clerk/backend@0.30.1
- @clerk/clerk-react@4.26.1
- @clerk/clerk-sdk-node@4.12.10
-
Add the
use client
directive in@clerk/shared
to make the package compatible with an RSC environment. (#1767) by @dimklRemove several helpers from
@clerk/nextjs
and import them from@clerk/shared
instead.
-
Apply deprecation warnings for
@clerk/nextjs
: (#1767) by @dimklCLERK_JS_VERSION
environment variableCLERK_API_KEY
environment variableNEXT_PUBLIC_CLERK_FRONTEND_API
environment variablewithClerkMiddleware
withServerSideAuth
-
Updated dependencies [
5c8754239
,14895e2dd
,2f6a6ac99
,94c36c755
,7406afe7f
]:- @clerk/clerk-react@4.26.0
- @clerk/types@3.53.0
- @clerk/backend@0.30.0
- @clerk/clerk-sdk-node@4.12.9
- Updated dependencies [
53ccb27cf
,c61ddf5bf
,0366e0b20
]:- @clerk/clerk-react@4.25.2
- @clerk/types@3.52.1
- @clerk/backend@0.29.3
- @clerk/clerk-sdk-node@4.12.8
- Updated dependencies [
40ea407ad
,378a903ac
,27b611e47
,4d0d90238
]:- @clerk/backend@0.29.2
- @clerk/clerk-sdk-node@4.12.7
- @clerk/clerk-react@4.25.1
-
Introduce the new brand-new component OrganizationList (#1692) by @panteliselef
- Lists all the memberships, invitations or suggestions an active user may have
- Powered by our
useOrganizationList
react hook
-
SignInWithMetamaskButton
is now exported from the@clerk/nextjs
package (#1731) by @octoper -
Change
README
to include updated links to issue templates and update Discord link. (#1750) by @LekoArts -
Updates the default middleware config matcher to be more restrictive in how it detects static files. Paths with
.
in them are now allowed, as long as the.
is not in the final path segment. (#1695) by @BRKalow -
Updated dependencies [
e99df0a0d
,4327b91f9
,75be1d6b3
,01b024c57
]:- @clerk/clerk-react@4.25.0
- @clerk/types@3.52.0
- @clerk/clerk-sdk-node@4.12.6
- @clerk/backend@0.29.1
- Updated dependencies [
463ff84f5
,e6a388946
,1426e5eb3
]:- @clerk/types@3.51.0
- @clerk/backend@0.29.0
- @clerk/clerk-react@4.24.2
- @clerk/clerk-sdk-node@4.12.5
-
Improve error messaging when clock skew is detected. (#1661) by @BRKalow
-
Updated dependencies [
975412ed5
,a102c21d4
]:- @clerk/backend@0.28.1
- @clerk/clerk-react@4.24.1
- @clerk/clerk-sdk-node@4.12.4
-
Pass dev_browser to AP via query param, fix AP origin detection util (#1567) by @yourtallness
-
Logs that exceed maximum allowed length on Vercel deployments will now be truncated to max length exactly (#1598) by @jescalan
-
Updated dependencies [
96cc1921c
,8d1e7d76d
,435d2cff5
,8873841fc
,0a5f632f8
,34da40a50
,3158752c7
,8538cd0c1
,a412a5014
,4ea30e883
,86de584dd
,e02a1aff2
,09bfb793e
,b2296d630
,52ce79108
,4764e40c7
,1e117beec
,30fcdd51a
,89bc5de04
]:- @clerk/types@3.50.0
- @clerk/clerk-react@4.24.0
- @clerk/backend@0.28.0
- @clerk/clerk-sdk-node@4.12.3
- Updated dependencies [
ea95525a4
,24a46ae7e
,d433b83b9
,5e1a09df4
,876777cb1
,0a59e122d
]:- @clerk/backend@0.27.0
- @clerk/types@3.49.0
- @clerk/clerk-sdk-node@4.12.2
- @clerk/clerk-react@4.23.2
- Updated dependencies [
7c1359474
]:- @clerk/clerk-sdk-node@4.12.1
- Support hosting NextJs apps on non-Vercel platforms by constructing req.url using host-related headers instead of using on req.url directly. CLERK_TRUST_HOST is now enabled by default. (#1492) by @dimkl
- Updated dependencies [
6fa4768dc
,4ff4b716f
]:- @clerk/types@3.48.1
- @clerk/clerk-sdk-node@4.12.0
- @clerk/backend@0.26.0
- @clerk/clerk-react@4.23.1
- Updated dependencies [
2a9d83280
]:- @clerk/clerk-react@4.23.0
- @clerk/types@3.48.0
- @clerk/backend@0.25.1
- @clerk/clerk-sdk-node@4.11.1
-
Introduce
createIsomorphicRequest
in@clerk/backend
(#1393) by @anagstefThis utility simplifies the
authenticateRequest
signature, and it makes it easier to integrate with more frameworks. -
Improve dev-mode logs for authMiddleware (protectedRoutes and ignoredRoutes) by @nikosdouvlis
- Updated dependencies [
16c3283ec
,73c9c1d0e
,ae9fc247a
,1a151e701
,e3036848d
,fd692af79
,090bab66e
,bb0d69b45
,592911196
,dd10ebeae
]:- @clerk/backend@0.25.0
- @clerk/types@3.47.0
- @clerk/clerk-sdk-node@4.11.0
- @clerk/clerk-react@4.22.1
- Updated dependencies [
2ad7cf390
,4eeabbaa3
,f6b77a1a3
,f0b044c47
]:- @clerk/backend@0.24.0
- @clerk/clerk-sdk-node@4.10.15
- @clerk/clerk-react@4.22.0
- Updated dependencies [
3fee736c9
,968d9c265
,ac4e47274
,5957a3da6
]:- @clerk/backend@0.23.7
- @clerk/clerk-react@4.21.1
- @clerk/clerk-sdk-node@4.10.14
- Updated dependencies [
1e71b60a2
]:- @clerk/clerk-react@4.21.0
-
Resolve issue of appending :80 in urls when using CLERK_TRUST_HOST (#1419) by @dimkl
-
Updated dependencies [
30f8ad18a
]:- @clerk/types@3.46.1
- @clerk/backend@0.23.6
- @clerk/clerk-react@4.20.6
- @clerk/clerk-sdk-node@4.10.13
- Support hosting NextJs apps on non-Vercel platforms by constructing req.url using host-related headers instead of using on
req.url
directly. In order to enable this feature, set theCLERK_TRUST_HOST
env variable totrue
(#1394) by @dimkl
- Updated dependencies [
bfb3af28
]:- @clerk/types@3.46.0
- @clerk/backend@0.23.5
- @clerk/clerk-react@4.20.5
- @clerk/clerk-sdk-node@4.10.12
- Updated dependencies [
11954816
,de2347f9
,32148490
]:- @clerk/types@3.45.0
- @clerk/clerk-sdk-node@4.10.11
- @clerk/backend@0.23.4
- @clerk/clerk-react@4.20.4
- Updated dependencies [
17cc14ec
]:- @clerk/types@3.44.0
- @clerk/backend@0.23.3
- @clerk/clerk-react@4.20.3
- @clerk/clerk-sdk-node@4.10.10
- Updated dependencies [
e41f848c
]:- @clerk/clerk-sdk-node@4.10.9
- Updated dependencies [
9651658c
,4e1bb2bd
]:- @clerk/types@3.43.0
- @clerk/backend@0.23.2
- @clerk/clerk-react@4.20.2
- @clerk/clerk-sdk-node@4.10.8
- Updated dependencies []:
- @clerk/clerk-react@4.20.1
-
Detect infinite redirect loops when using
authMiddleware
and inform the user about possible resolution steps. (#1324) by @anagstef -
Allow
clerkJSVersion
to be passed when loading interstitial. Support for (#1354) by @panteliselef- Nextjs
- Remix
- Node
-
Updated dependencies [
f8a334b1
,b945c921
]:- @clerk/clerk-sdk-node@4.10.7
- @clerk/backend@0.23.1
-
Resolve build issues affecting apps using App Router (#1346) by @nikosdouvlis
-
Updated dependencies [
eff4e45e
]:- @clerk/clerk-sdk-node@4.10.6
- Export error helpers from the shared package to the framework specific packages (#1308) by @desiprisg
-
Support
audience
parameter in authentication request (#1004) by @dimklThe audience parameter is used to verify the the aud claim in the request matches the value of the parameter or is included (when the user provides a list).
Resolves:
-
Updated dependencies [
7af91bc3
,c42b4ac0
,6f3d4305
,010484f4
]:- @clerk/clerk-react@4.20.0
- @clerk/types@3.42.0
- @clerk/backend@0.23.0
- @clerk/clerk-sdk-node@4.10.5
-
Add support for NextJS applications hosted on AWS Amplify by @nikosdouvlis
-
Tweaked the default
authMiddleware
behavior for protected API routes. An unauthenticated request for a protected API route will no longer return a307 Redirect
- a401 Unauthorized
response will be returned instead. by @nikosdouvlisWith this change, an API route is considered a request for which the following rules apply:
- The request url matches the following patterns;
['/api/(.*)', '/trpc/(.*)']
- Or, the request has
Content-Type: application/json
- Or, the request method is not one of:
GET
,OPTIONS
,HEAD
A new
apiRoutes
param has been introduced onauthMiddleware
. It can accept an array of path patterns,RegexExp
or strings. IfapiRoutes
is passed in explicitly, then it overrides the behavior described above and only the requests matchingapiRoutes
will be considered as API routes requests. For more technical details, refer to the PR's description. - The request url matches the following patterns;
-
Add support for NextJS applications hosted on Railway by @nikosdouvlis
-
Improve debug logs in NextJS by adding AuthStatusObject.debug data by @nikosdouvlis
-
The devBrowser JWT is now added to all cross-origin redirects triggered by calling
redirectToSignIn
orredirectToSignUp
. by @nikosdouvlis -
Improve debug logging by including
AuthObject.debug()
data whendebug
istrue
inauthMiddleware
by @nikosdouvlis -
ESM/CJS support for
@clerk/clerk-react
by @nikosdouvlisChanges that should affect users and OS contributors:
- Better source map support for
@clerk/clerk-react
,@clerk/shared
. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - Easier node_modules debugging as
@clerk/clerk-react
,@clerk/shared
and@clerk/nextjs
are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb
- A new
clerkJSVersion
prop has been added on ClerkProvider allowing to fetch a specific clerk-js version.
- Better source map support for
-
authMiddleware
handles multi-domain relared properties passed as functions properly by @nikosdouvlis -
Updated dependencies [
b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
]:- @clerk/backend@0.22.0
- @clerk/types@3.41.1
- @clerk/clerk-react@4.19.0
- @clerk/clerk-sdk-node@4.10.4
4.19.0 (2023-05-26)
Note: Version bump only for package @clerk/nextjs
4.18.5 (2023-05-26)
Note: Version bump only for package @clerk/nextjs
4.18.4 (2023-05-23)
Note: Version bump only for package @clerk/nextjs
4.18.3 (2023-05-23)
Note: Version bump only for package @clerk/nextjs
4.18.2 (2023-05-18)
Note: Version bump only for package @clerk/nextjs
4.18.1 (2023-05-17)
Note: Version bump only for package @clerk/nextjs
4.18.0 (2023-05-15)
Note: Version bump only for package @clerk/nextjs
4.17.1 (2023-05-04)
4.17.0 (2023-05-04)
Note: Version bump only for package @clerk/nextjs
4.17.0-staging.5 (2023-05-04)
Note: Version bump only for package @clerk/nextjs
4.17.0-staging.1 (2023-05-02)
Note: Version bump only for package @clerk/nextjs
4.16.4 (2023-04-19)
Note: Version bump only for package @clerk/nextjs
4.16.3 (2023-04-19)
Note: Version bump only for package @clerk/nextjs
4.16.2 (2023-04-12)
Note: Version bump only for package @clerk/nextjs
4.16.1 (2023-04-12)
- Revert "chore(nextjs): Use tsup to bundle and minify package" (5453456)
- Revert "fix(nextjs): Omit test files from production build" (392fd28)
- Revert "fix(nextjs): Add edge-middleware and drop client/ & middleware/ from tsup.config entry" (ba85989)
- Revert "chore(nextjs): Update serializable props GH issue link" (f16e623)
- Revert "fix(nextjs): Fix serializable issue when build with tsup & tsup config cleanup" (347f6df)
4.16.0 (2023-04-11)
Note: Version bump only for package @clerk/nextjs
4.15.0 (2023-04-06)
Note: Version bump only for package @clerk/nextjs
4.14.1 (2023-04-03)
Note: Version bump only for package @clerk/nextjs
4.14.0 (2023-03-31)
Note: Version bump only for package @clerk/nextjs
4.14.0-staging.3 (2023-03-31)
Note: Version bump only for package @clerk/nextjs
4.14.0-staging.0 (2023-03-31)
- nextjs: Add signInUrl to BAPI call for interstitial (f2003fc)
- nextjs: Support new env var NEXT_PUBLIC_CLERK_SIGN_IN_URL (0d5bd88)
4.13.0 (2023-03-29)
Note: Version bump only for package @clerk/nextjs
4.11.7 (2023-03-10)
Note: Version bump only for package @clerk/nextjs
4.11.6 (2023-03-09)
Note: Version bump only for package @clerk/nextjs
4.11.5 (2023-03-07)
- nextjs: Stop exporting the /api helpers based on the runtime (224426a)
4.11.4 (2023-03-07)
Note: Version bump only for package @clerk/nextjs
4.11.3 (2023-03-03)
Note: Version bump only for package @clerk/nextjs
4.11.2 (2023-03-01)
Note: Version bump only for package @clerk/nextjs
4.11.1 (2023-02-25)
Note: Version bump only for package @clerk/nextjs
4.11.0 (2023-02-24)
Note: Version bump only for package @clerk/nextjs
4.10.3-staging.5 (2023-02-22)
- nextjs: Reintroduce next as a peer dependency (b1fd299)
4.10.2 (2023-02-17)
Note: Version bump only for package @clerk/nextjs
4.10.1 (2023-02-15)
Note: Version bump only for package @clerk/nextjs
4.10.0 (2023-02-10)
Note: Version bump only for package @clerk/nextjs
4.9.1 (2023-02-07)
Note: Version bump only for package @clerk/nextjs
4.9.1-staging.0 (2023-02-07)
Note: Version bump only for package @clerk/nextjs
4.9.0 (2023-02-07)
Note: Version bump only for package @clerk/nextjs
4.8.1 (2023-02-01)
Note: Version bump only for package @clerk/nextjs
4.8.0 (2023-01-27)
Note: Version bump only for package @clerk/nextjs
4.7.7 (2023-01-24)
Note: Version bump only for package @clerk/nextjs
4.7.5 (2023-01-20)
- nextjs,types: Make frontendApi or publishableKey mutually exclusive but optional (953c276)
4.7.4 (2023-01-19)
Note: Version bump only for package @clerk/nextjs
4.7.3 (2023-01-18)
Note: Version bump only for package @clerk/nextjs
4.7.2 (2023-01-18)
Note: Version bump only for package @clerk/nextjs
4.7.1 (2023-01-17)
Note: Version bump only for package @clerk/nextjs
4.7.0 (2023-01-17)
Note: Version bump only for package @clerk/nextjs
4.6.15 (2022-12-23)
Note: Version bump only for package @clerk/nextjs
4.6.14 (2022-12-19)
Note: Version bump only for package @clerk/nextjs
4.6.13 (2022-12-13)
Note: Version bump only for package @clerk/nextjs
4.6.12 (2022-12-12)
Note: Version bump only for package @clerk/nextjs
4.6.11 (2022-12-12)
Note: Version bump only for package @clerk/nextjs
4.6.10 (2022-12-09)
Note: Version bump only for package @clerk/nextjs
4.6.9 (2022-12-08)
Note: Version bump only for package @clerk/nextjs
4.6.8 (2022-12-08)
Note: Version bump only for package @clerk/nextjs
4.6.7 (2022-12-02)
Note: Version bump only for package @clerk/nextjs
4.6.6 (2022-11-30)
Note: Version bump only for package @clerk/nextjs
4.6.6-staging.5 (2022-11-29)
Note: Version bump only for package @clerk/nextjs
4.6.5 (2022-11-25)
Note: Version bump only for package @clerk/nextjs
4.6.4 (2022-11-25)
Note: Version bump only for package @clerk/nextjs
4.6.3 (2022-11-23)
Note: Version bump only for package @clerk/nextjs
4.6.2 (2022-11-22)
Note: Version bump only for package @clerk/nextjs
4.6.2-staging.3 (2022-11-21)
Note: Version bump only for package @clerk/nextjs
4.6.2-staging.2 (2022-11-21)
- nextjs: Remove optional auth violation error from withClerkMiddleware (1760b90)
4.6.1 (2022-11-18)
Note: Version bump only for package @clerk/nextjs
4.6.0 (2022-11-15)
Note: Version bump only for package @clerk/nextjs
4.5.8 (2022-11-10)
Note: Version bump only for package @clerk/nextjs
4.5.7 (2022-11-05)
Note: Version bump only for package @clerk/nextjs
4.5.6 (2022-11-03)
Note: Version bump only for package @clerk/nextjs
4.5.6-staging.4 (2022-11-02)
Note: Version bump only for package @clerk/nextjs
4.5.6-staging.3 (2022-11-02)
Note: Version bump only for package @clerk/nextjs
4.5.6-staging.2 (2022-11-02)
Note: Version bump only for package @clerk/nextjs
4.5.6-staging.1 (2022-11-02)
Note: Version bump only for package @clerk/nextjs
4.5.5 (2022-10-24)
Note: Version bump only for package @clerk/nextjs
4.5.4 (2022-10-14)
Note: Version bump only for package @clerk/nextjs
4.5.3 (2022-10-14)
Note: Version bump only for package @clerk/nextjs
4.5.3-staging.1 (2022-10-13)
Note: Version bump only for package @clerk/nextjs
4.5.2 (2022-10-07)
Note: Version bump only for package @clerk/nextjs
4.5.1 (2022-10-05)
Note: Version bump only for package @clerk/nextjs
4.5.0 (2022-10-03)
Note: Version bump only for package @clerk/nextjs
4.4.0 (2022-09-29)
Note: Version bump only for package @clerk/nextjs
4.3.2 (2022-09-25)
Note: Version bump only for package @clerk/nextjs
4.3.1 (2022-09-24)
Note: Version bump only for package @clerk/nextjs
4.3.1-staging.1 (2022-09-24)
Note: Version bump only for package @clerk/nextjs
4.3.0 (2022-09-22)
Note: Version bump only for package @clerk/nextjs
4.2.1 (2022-09-19)
Note: Version bump only for package @clerk/nextjs
4.2.0 (2022-09-16)
Note: Version bump only for package @clerk/nextjs
4.1.7 (2022-09-08)
Note: Version bump only for package @clerk/nextjs
4.1.6 (2022-09-07)
Note: Version bump only for package @clerk/nextjs
4.1.5 (2022-09-07)
Note: Version bump only for package @clerk/nextjs
4.1.4 (2022-09-05)
Note: Version bump only for package @clerk/nextjs
4.1.3 (2022-08-29)
Note: Version bump only for package @clerk/nextjs
4.1.2 (2022-08-29)
Note: Version bump only for package @clerk/nextjs
4.1.1 (2022-08-24)
Note: Version bump only for package @clerk/nextjs
4.1.0 (2022-08-18)
Note: Version bump only for package @clerk/nextjs
4.0.5 (2022-08-18)
Note: Version bump only for package @clerk/nextjs
4.0.4 (2022-08-18)
Note: Version bump only for package @clerk/nextjs
4.0.3 (2022-08-16)
Note: Version bump only for package @clerk/nextjs
4.0.2 (2022-08-09)
Note: Version bump only for package @clerk/nextjs
4.0.1 (2022-08-07)
Note: Version bump only for package @clerk/nextjs
4.0.0 (2022-08-05)
Note: Version bump only for package @clerk/nextjs
3.8.3 (2022-08-05)
Note: Version bump only for package @clerk/nextjs
3.8.2 (2022-08-04)
Note: Version bump only for package @clerk/nextjs
3.8.1 (2022-07-26)
Note: Version bump only for package @clerk/nextjs
3.8.0 (2022-07-13)
- nextjs: Add req.organization access on gssp (d064448)
- types,clerk-react,nextjs: Add loadOrg option for Next.js withServerSideAuth middleware (0889bde)
3.7.1 (2022-07-11)
Note: Version bump only for package @clerk/nextjs
3.7.0 (2022-07-08)
- backend-core,edge: Add requireEdgeMiddlewareAuth (9ce6a4e)
- edge,nextjs: Compatibility with API middleware experimental edge-runtime (107d70e)
3.6.13 (2022-07-07)
Note: Version bump only for package @clerk/nextjs
3.6.12 (2022-07-06)
Note: Version bump only for package @clerk/nextjs
3.6.11 (2022-07-04)
Note: Version bump only for package @clerk/nextjs
3.6.10 (2022-07-01)
Note: Version bump only for package @clerk/nextjs
3.6.9 (2022-07-01)
Note: Version bump only for package @clerk/nextjs
3.6.8 (2022-06-24)
- edge,nextjs,remix,clerk-sdk-node,types: Correct SSR claims typing (09c147c)
3.6.7 (2022-06-16)
Note: Version bump only for package @clerk/nextjs
3.6.6 (2022-06-06)
Note: Version bump only for package @clerk/nextjs
3.6.6-staging.4 (2022-06-03)
Note: Version bump only for package @clerk/nextjs
3.6.6-staging.3 (2022-06-03)
Note: Version bump only for package @clerk/nextjs
3.6.6-staging.2 (2022-06-02)
Note: Version bump only for package @clerk/nextjs
3.6.6-staging.1 (2022-06-01)
Note: Version bump only for package @clerk/nextjs
3.6.5 (2022-05-20)
Note: Version bump only for package @clerk/nextjs
3.6.5-staging.4 (2022-05-20)
Note: Version bump only for package @clerk/nextjs
3.6.5-staging.3 (2022-05-19)
Note: Version bump only for package @clerk/nextjs
3.6.5-staging.2 (2022-05-18)
Note: Version bump only for package @clerk/nextjs
3.6.5-staging.1 (2022-05-17)
Note: Version bump only for package @clerk/nextjs
3.6.5-staging.0 (2022-05-16)
Note: Version bump only for package @clerk/nextjs
3.6.4 (2022-05-13)
Note: Version bump only for package @clerk/nextjs
3.6.3 (2022-05-12)
Note: Version bump only for package @clerk/nextjs
3.6.2 (2022-05-12)
Note: Version bump only for package @clerk/nextjs
3.6.1 (2022-05-11)
Note: Version bump only for package @clerk/nextjs
3.6.0 (2022-05-06)
- nextjs,clerk-sdk-node,remix: Add claims attribute to req.auth (c695529)
3.5.2-staging.0 (2022-05-05)
Note: Version bump only for package @clerk/nextjs
3.5.1 (2022-05-05)
Note: Version bump only for package @clerk/nextjs
3.5.0 (2022-04-28)
Note: Version bump only for package @clerk/nextjs
3.4.1 (2022-04-27)
Note: Version bump only for package @clerk/nextjs
3.4.0 (2022-04-27)
- nextjs: Fix opts parsing in withServerSideAuth (1eecb81)
3.3.7 (2022-04-22)
- nextjs,backend-core: Fix handleError parsing (4eb9732)
3.3.6 (2022-04-19)
Note: Version bump only for package @clerk/nextjs
3.3.6-staging.1 (2022-04-19)
Note: Version bump only for package @clerk/nextjs
3.3.5 (2022-04-18)
Note: Version bump only for package @clerk/nextjs
3.3.5-alpha.0 (2022-04-15)
Note: Version bump only for package @clerk/nextjs
3.3.4 (2022-04-15)
Note: Version bump only for package @clerk/nextjs
3.3.3 (2022-04-15)
Note: Version bump only for package @clerk/nextjs
3.3.2 (2022-04-13)
Note: Version bump only for package @clerk/nextjs
3.3.1 (2022-04-07)
Note: Version bump only for package @clerk/nextjs
3.3.0 (2022-04-04)
Note: Version bump only for package @clerk/nextjs
3.2.4 (2022-03-29)
Note: Version bump only for package @clerk/nextjs
3.2.3 (2022-03-28)
Note: Version bump only for package @clerk/nextjs
3.2.2 (2022-03-24)
Note: Version bump only for package @clerk/nextjs
3.2.2-staging.1 (2022-03-24)
Note: Version bump only for package @clerk/nextjs
3.2.1-alpha.0 (2022-03-23)
Note: Version bump only for package @clerk/nextjs
3.2.0-alpha.2 (2022-03-23)
Note: Version bump only for package @clerk/nextjs
3.2.0-alpha.1 (2022-03-23)
- backend-core,clerk-sdk-node,nextjs,remix: Add injected jwtKey option (53e56e7)
3.2.0-alpha.0 (2022-03-22)
Note: Version bump only for package @clerk/nextjs
3.1.0-alpha.1 (2022-03-22)
Note: Version bump only for package @clerk/nextjs
3.1.0-alpha.0 (2022-03-22)
- nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
3.0.1-alpha.2 (2022-03-20)
Note: Version bump only for package @clerk/nextjs
3.0.1-alpha.1 (2022-03-20)
- nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
3.0.1-alpha.0 (2022-03-19)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
3.0.0-alpha.9 (2022-03-11)
- clerk-remix: Remove load options from
getAuth
(246fe76) - nextjs: Enforce withServerSideAuth callback return type (3766a49)
- nextjs: Fetch user and session in parallel (#49) (fb89732)
- nextjs: Move shared NextJS SSR types to types package (78d8c7c)
- nextjs: Strictly type all possible withServerSideAuth return value combinations (beba831)
3.0.0-alpha.8 (2022-02-28)
- clerk-remix: Remove load options from
getAuth
(246fe76) - nextjs: Enforce withServerSideAuth callback return type (3766a49)
- nextjs: Fetch user and session in parallel (#49) (fb89732)
- nextjs: Move shared NextJS SSR types to types package (78d8c7c)
- nextjs: Strictly type all possible withServerSideAuth return value combinations (beba831)
3.0.0-alpha.7 (2022-02-25)
- clerk-remix: Remove load options from
getAuth
(5c1e23d) - nextjs: Enforce withServerSideAuth callback return type (260d7cf)
- nextjs: Fetch user and session in parallel (#49) (e5c2620)
- nextjs: Move shared NextJS SSR types to types package (8b898a1)
- nextjs: Strictly type all possible withServerSideAuth return value combinations (e99c57a)
3.0.0-alpha.6 (2022-02-18)
- clerk-remix: Remove load options from
getAuth
(5f4cedc) - nextjs: Enforce withServerSideAuth callback return type (a45f28a)
- nextjs: Fetch user and session in parallel (#49) (ef58027)
- nextjs: Move shared NextJS SSR types to types package (757dc2e)
2.11.17 (2022-03-17)
Note: Version bump only for package @clerk/nextjs
2.11.17-staging.1 (2022-03-17)
Note: Version bump only for package @clerk/nextjs
2.11.15 (2022-03-14)
Note: Version bump only for package @clerk/nextjs
2.11.14 (2022-03-11)
Note: Version bump only for package @clerk/nextjs
2.11.13 (2022-03-09)
Note: Version bump only for package @clerk/nextjs
2.11.12 (2022-03-09)
Note: Version bump only for package @clerk/nextjs
2.11.10 (2022-03-04)
Note: Version bump only for package @clerk/nextjs
2.11.9 (2022-03-04)
Note: Version bump only for package @clerk/nextjs
2.11.8 (2022-03-04)
Note: Version bump only for package @clerk/nextjs
2.11.7 (2022-03-03)
Note: Version bump only for package @clerk/nextjs
2.11.6 (2022-03-02)
Note: Version bump only for package @clerk/nextjs
2.11.5 (2022-03-01)
Note: Version bump only for package @clerk/nextjs
2.11.4 (2022-02-24)
Note: Version bump only for package @clerk/nextjs
2.11.4-staging.0 (2022-02-24)
Note: Version bump only for package @clerk/nextjs
2.11.3-staging.0 (2022-02-17)
Note: Version bump only for package @clerk/nextjs
2.11.2-staging.2 (2022-02-16)
Note: Version bump only for package @clerk/nextjs
2.11.2-staging.1 (2022-02-16)
Note: Version bump only for package @clerk/nextjs
2.11.2-staging.0 (2022-02-15)
Note: Version bump only for package @clerk/nextjs
2.11.1 (2022-02-14)
Note: Version bump only for package @clerk/nextjs
Note: Version bump only for package @clerk/nextjs