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

Bump @clerk/nextjs from 4.25.6 to 4.29.0 #173

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2023

Bumps @clerk/nextjs from 4.25.6 to 4.29.0.

Release notes

Sourced from @​clerk/nextjs's releases.

@​clerk/nextjs@​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

@​clerk/nextjs@​4.28.1

Patch Changes

@​clerk/nextjs@​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' });

... (truncated)

Changelog

Sourced from @​clerk/nextjs's changelog.

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

4.28.1

Patch Changes

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

... (truncated)

Commits
  • b9e24c1 chore(repo): Version packages (#2402)
  • df40705 chore(clerk-js,shared,nextjs): Support __clerk_db_jwt and __dev_session q...
  • c27a2fa chore(repo): Version packages (#2358)
  • e47c115 chore(nextjs): Fix quickstarts link in error msg (#2354)
  • ff2fb69 chore(repo): Version packages (#2330)
  • 96b9bb5 feat(nextjs): Accept redirectUrl as option for auth().protect() #2329 (#2...
  • 2dc93d4 feat(nextjs,shared,backend,clerk-react): Introduce Protect for authorization ...
  • eb94116 chore(repo): Version packages (#2320)
  • ada4bd0 fix(nextjs): Use dynamic imports in ClerkProvider (#2292)
  • 7657cd3 chore(repo): Version packages (#2295)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@clerk/nextjs](https://github.com/clerk/javascript/tree/HEAD/packages/nextjs) from 4.25.6 to 4.29.0.
- [Release notes](https://github.com/clerk/javascript/releases)
- [Changelog](https://github.com/clerk/javascript/blob/@clerk/nextjs@4.29.0/packages/nextjs/CHANGELOG.md)
- [Commits](https://github.com/clerk/javascript/commits/@clerk/nextjs@4.29.0/packages/nextjs)

---
updated-dependencies:
- dependency-name: "@clerk/nextjs"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 22, 2023
Copy link

vercel bot commented Dec 22, 2023

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

Name Status Preview Comments Updated (UTC)
emoji-twitter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2023 10:07am

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 25, 2023

Superseded by #175.

@dependabot dependabot bot closed this Dec 25, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/clerk/nextjs-4.29.0 branch December 25, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants