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

chore(deps): update dependency @clerk/clerk-react to v4.30.3 #9922

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@clerk/clerk-react (source) 4.28.3 -> 4.30.3 age adoption passing confidence

Release Notes

clerk/javascript (@​clerk/clerk-react)

v4.30.3

Compare Source

Patch Changes

v4.30.2

Compare Source

Patch Changes

v4.30.1

Compare Source

Patch Changes

v4.30.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.29.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) January 29, 2024 00:43
@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Jan 29, 2024
@jtoar jtoar added this to the v7.0.0 milestone Jan 29, 2024
@jtoar jtoar force-pushed the renovate/clerk-clerk-react-4.x branch from 67b90c6 to 4aa3a5b Compare January 29, 2024 01:23
@jtoar jtoar disabled auto-merge January 29, 2024 01:23
@jtoar jtoar merged commit 5227b71 into main Jan 29, 2024
9 of 10 checks passed
@jtoar jtoar deleted the renovate/clerk-clerk-react-4.x branch January 29, 2024 01:23
jtoar pushed a commit that referenced this pull request Jan 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@clerk/clerk-react](https://clerk.com/)
([source](https://togithub.com/clerk/javascript/tree/HEAD/packages/react))
| [`4.28.3` ->
`4.30.3`](https://renovatebot.com/diffs/npm/@clerk%2fclerk-react/4.28.3/4.30.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@clerk%2fclerk-react/4.30.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@clerk%2fclerk-react/4.30.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@clerk%2fclerk-react/4.28.3/4.30.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@clerk%2fclerk-react/4.28.3/4.30.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>clerk/javascript (@&#8203;clerk/clerk-react)</summary>

###
[`v4.30.3`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/clerk-react%404.30.3)

[Compare
Source](https://togithub.com/clerk/javascript/compare/@clerk/clerk-react@4.30.2...@clerk/clerk-react@4.30.3)

##### Patch Changes

- Updated dependencies
\[[`65332d744`](https://togithub.com/clerk/javascript/commit/65332d7440419e275e76ffde104b7d0fe98ceeda)]:
-
[@&#8203;clerk/shared](https://togithub.com/clerk/shared)[@&#8203;1](https://togithub.com/1).3.1

###
[`v4.30.2`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/clerk-react%404.30.2)

[Compare
Source](https://togithub.com/clerk/javascript/compare/@clerk/clerk-react@4.30.1...@clerk/clerk-react@4.30.2)

##### Patch Changes

- Fix support of Clerk@v3 instance from `<ClerkProvider />`
([#&#8203;2441](https://togithub.com/clerk/javascript/pull/2441)) by
[@&#8203;dimkl](https://togithub.com/dimkl)

- Updated dependencies
\[[`0bf0bdd56`](https://togithub.com/clerk/javascript/commit/0bf0bdd56268f53aa8b27f5d136c288afb10944b)]:
-
[@&#8203;clerk/shared](https://togithub.com/clerk/shared)[@&#8203;1](https://togithub.com/1).3.0

###
[`v4.30.1`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/clerk-react%404.30.1)

[Compare
Source](https://togithub.com/clerk/javascript/compare/@clerk/clerk-react@4.30.0...@clerk/clerk-react@4.30.1)

##### Patch Changes

- Updated dependencies
\[[`df40705d3`](https://togithub.com/clerk/javascript/commit/df40705d3fbb22b8b4d6fd8ee0a52b100146d88a)]:
-
[@&#8203;clerk/shared](https://togithub.com/clerk/shared)[@&#8203;1](https://togithub.com/1).2.0

###
[`v4.30.0`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/clerk-react%404.30.0)

[Compare
Source](https://togithub.com/clerk/javascript/compare/@clerk/clerk-react@4.29.0...@clerk/clerk-react@4.30.0)

##### Minor Changes

- Introduce Protect for authorization.
([#&#8203;2309](https://togithub.com/clerk/javascript/pull/2309)) by
[@&#8203;panteliselef](https://togithub.com/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

- Updated dependencies
\[[`b4868ab8f`](https://togithub.com/clerk/javascript/commit/b4868ab8fdb84144d2016b49e67e7fdd2c348316),
[`2dc93d4d8`](https://togithub.com/clerk/javascript/commit/2dc93d4d8dcdc5f83c21576400ae6d6f43705847)]:
-
[@&#8203;clerk/types](https://togithub.com/clerk/types)[@&#8203;3](https://togithub.com/3).60.0

###
[`v4.29.0`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/clerk-react%404.29.0)

[Compare
Source](https://togithub.com/clerk/javascript/compare/@clerk/clerk-react@4.28.3...@clerk/clerk-react@4.29.0)

##### Minor Changes

- Deprecate `Clerk.isReady()` in favor of `Clerk.loaded`
([#&#8203;2293](https://togithub.com/clerk/javascript/pull/2293)) by
[@&#8203;dimkl](https://togithub.com/dimkl)

##### Patch Changes

- Updated dependencies
\[[`a62479810`](https://togithub.com/clerk/javascript/commit/a624798102236f77a667d8da13363b77486640f8)]:
-
[@&#8203;clerk/types](https://togithub.com/clerk/types)[@&#8203;3](https://togithub.com/3).59.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant