Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @clerk/nextjs to ^4.31.6 #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@clerk/nextjs (source) ^4.27.1 -> ^4.31.6 age adoption passing confidence

Release Notes

clerk/javascript (@​clerk/nextjs)

v4.31.6

Compare Source

Patch Changes

v4.31.5

Compare Source

Patch Changes

v4.31.4

Compare Source

Patch Changes

v4.31.3

Compare Source

Patch Changes

v4.31.2

Compare Source

Patch Changes

v4.31.1

Compare Source

Patch Changes

v4.31.0

Compare Source

Minor Changes
React component
-   `<GoogleOneTap/>`

Customize the UX of the prompt

```tsx
<GoogleOneTap
  cancelOnTapOutside={false}
  itpSupport={false}
  fedCmSupport={false}
/>
```
Patch Changes

v4.30.1

Compare Source

Patch Changes

v4.30.0

Compare Source

Minor Changes
  • Introduce experimental support for Google One Tap (#​3196) by @​panteliselef

    • React Component <__experimental_GoogleOneTap/>
    • JS clerk.__experimental_mountGoogleOneTap(node,props)
Patch Changes

v4.29.12

Compare Source

Patch Changes

v4.29.11

Compare Source

Patch Changes

v4.29.10

Compare Source

Patch Changes

v4.29.9

Compare Source

Patch Changes

v4.29.8

Compare Source

Patch Changes

v4.29.7

Compare Source

Patch Changes

v4.29.6

Compare Source

Patch Changes

v4.29.5

Compare Source

Patch Changes
  • 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

v4.29.4

Compare Source

Patch Changes

v4.29.3

Compare Source

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: @&#8203;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

v4.29.1

Compare Source

Patch Changes

v4.29.0

Compare Source

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

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:

    • 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

v4.27.7

Compare Source

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/@&#8203;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');
      
      /** @&#8203;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.

v4.27.6

Compare Source

Patch Changes

v4.27.5

Compare Source

Patch Changes

v4.27.4

Compare Source

Patch Changes

v4.27.3

Compare Source

Patch Changes

v4.27.2

Compare Source

Patch Changes

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jul 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chatr ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 5:56pm

@renovate renovate bot force-pushed the renovate/clerk-nextjs-4.x branch from 2c358b8 to a37d666 Compare August 12, 2024 13:08
@renovate renovate bot changed the title Update dependency @clerk/nextjs to ^4.31.3 Update dependency @clerk/nextjs to ^4.31.4 Aug 12, 2024
@renovate renovate bot force-pushed the renovate/clerk-nextjs-4.x branch from a37d666 to 7356515 Compare September 12, 2024 14:08
@renovate renovate bot changed the title Update dependency @clerk/nextjs to ^4.31.4 Update dependency @clerk/nextjs to ^4.31.5 Sep 12, 2024
@renovate renovate bot force-pushed the renovate/clerk-nextjs-4.x branch from 7356515 to 3af707c Compare October 15, 2024 17:53
@renovate renovate bot changed the title Update dependency @clerk/nextjs to ^4.31.5 Update dependency @clerk/nextjs to ^4.31.6 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants