Skip to content

Latest commit

 

History

History
1503 lines (868 loc) · 78.9 KB

CHANGELOG.md

File metadata and controls

1503 lines (868 loc) · 78.9 KB

Change Log

4.29.3

Patch Changes

  • 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/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

4.29.2

Patch Changes

  • 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

4.29.1

Patch Changes

  • 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

4.29.0

Minor Changes

  • Support reading from __clerk_db_jwt and __dev_session the dev browser jwt in development (#2428) by @dimkl

Patch Changes

  • 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

4.28.1

Patch Changes

  • Update NextJS quickstart link in error message (#2354) by @dimkl

4.28.0

Minor Changes

  • 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 the has utility and Protect. Protect now accepts a condition prop where a function is expected with the has 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 neither permission or role 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

Patch Changes

  • Accept redirectUrl as an option for auth().protect(). (#2333) by @panteliselef

    For 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

4.27.7

Patch Changes

  • Use dynamic imports in <ClerkProvider /> which you import from @clerk/nextjs. (#2292) by @LekoArts

    Users 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:

    1. Update @clerk/nextjs to this version

    2. 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.

4.27.6

Patch Changes

  • 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

4.27.5

Patch Changes

4.27.4

Patch Changes

  • Drop the introduction of OrganizationRole and OrganizationPermission 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

4.27.3

Patch Changes

  • Updated dependencies [7130db0fb]:
    • @clerk/clerk-react@4.28.2

4.27.2

Patch Changes

4.27.1

Patch Changes

  • Updated dependencies [1df2ffe77]:
    • @clerk/backend@0.34.1
    • @clerk/clerk-sdk-node@4.12.21

4.27.0

Minor Changes

Patch Changes

4.26.2

Patch Changes

4.26.1

Patch Changes

  • 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

4.26.0

Minor Changes

Patch Changes

  • Updated dependencies [088724324, 5d379bcbf]:
    • @clerk/backend@0.32.0
    • @clerk/clerk-sdk-node@4.12.17

4.25.7

Patch Changes

  • Fix an issue where only static routes would be allowed by publicRoutes prop from authMiddleware. (#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

4.25.6

Patch Changes

  • 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

4.25.5

Patch Changes

4.25.4

Patch Changes

  • 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 @dimkl

    Also 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

4.25.3

Patch Changes

  • 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 additional use 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

4.25.2

Patch Changes

4.25.1

Patch Changes

  • 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

4.25.0

Minor Changes

  • Add the use client directive in @clerk/shared to make the package compatible with an RSC environment. (#1767) by @dimkl

    Remove several helpers from @clerk/nextjs and import them from @clerk/shared instead.

Patch Changes

  • Apply deprecation warnings for @clerk/nextjs: (#1767) by @dimkl

    • CLERK_JS_VERSION environment variable
    • CLERK_API_KEY environment variable
    • NEXT_PUBLIC_CLERK_FRONTEND_API environment variable
    • withClerkMiddleware
    • 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

4.24.2

Patch Changes

  • 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

4.24.1

Patch Changes

4.24.0

Minor Changes

  • 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

Patch Changes

  • 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

4.23.5

Patch Changes

  • 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

4.23.4

Patch Changes

  • 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

4.23.3

Patch Changes

4.23.2

Patch Changes

4.23.1

Patch Changes

  • Updated dependencies [7c1359474]:
    • @clerk/clerk-sdk-node@4.12.1

4.23.0

Minor Changes

  • 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

Patch Changes

  • 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

4.22.1

Patch Changes

  • 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

4.22.0

Minor Changes

  • Introduce createIsomorphicRequest in @clerk/backend (#1393) by @anagstef

    This 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

Patch Changes

4.21.14

Patch Changes

4.21.13

Patch Changes

4.21.12

Patch Changes

  • Updated dependencies [1e71b60a2]:
    • @clerk/clerk-react@4.21.0

4.21.11

Patch Changes

  • 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

4.21.10

Patch Changes

  • 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 the CLERK_TRUST_HOST env variable to true (#1394) by @dimkl

4.21.9

Patch Changes

  • Add isApiRoute to AfterAuthHandler['auth'] type (#1397) by @dimkl

4.21.8

Patch Changes

  • 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

4.21.7

Patch Changes

  • 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

4.21.6

Patch Changes

  • 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

4.21.5

Patch Changes

  • Updated dependencies [e41f848c]:
    • @clerk/clerk-sdk-node@4.10.9

4.21.4

Patch Changes

  • 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

4.21.3

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@4.20.1

4.21.2

Patch Changes

  • 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

4.21.1

Patch Changes

  • Resolve build issues affecting apps using App Router (#1346) by @nikosdouvlis

  • Updated dependencies [eff4e45e]:

    • @clerk/clerk-sdk-node@4.10.6

4.21.0

Minor Changes

  • Export error helpers from the shared package to the framework specific packages (#1308) by @desiprisg

Patch Changes

  • Support audience parameter in authentication request (#1004) by @dimkl

    The 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

4.20.0

Minor Changes

  • 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 a 307 Redirect - a 401 Unauthorized response will be returned instead. by @nikosdouvlis

    With 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 on authMiddleware. It can accept an array of path patterns, RegexExp or strings. If apiRoutes is passed in explicitly, then it overrides the behavior described above and only the requests matching apiRoutes will be considered as API routes requests. For more technical details, refer to the PR's description.

  • Add support for NextJS applications hosted on Railway by @nikosdouvlis

Patch Changes

  • 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 or redirectToSignUp. by @nikosdouvlis

  • Improve debug logging by including AuthObject.debug() data when debug is true in authMiddleware by @nikosdouvlis

  • ESM/CJS support for @clerk/clerk-react by @nikosdouvlis

    Changes 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.
  • 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)

Bug Fixes

  • nextjs: Use signInUrl and signUpUrl from the env (#1151) (0476d79)

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)

Reverts

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • nextjs: Fix opts parsing in withServerSideAuth (1eecb81)

3.3.7 (2022-04-22)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)

Bug Fixes

  • 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)

Features

  • nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)

Bug Fixes

  • nextjs,remix: Make server getToken throw if called with no session (f7736c1)

3.0.1-alpha.0 (2022-03-19)

Bug Fixes

  • nextjs,remix: Make server getToken throw if called with no session (f7736c1)

3.0.0-alpha.9 (2022-03-11)

Features

  • 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)

Features

  • 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)

Features

  • 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)

Features

  • 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

2.11.1-staging.0 (2022-02-11)

Note: Version bump only for package @clerk/nextjs