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/types to v3.60.0 #9644

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@clerk/types (source) 3.58.0 -> 3.60.0 age adoption passing confidence

Release Notes

clerk/javascript (@​clerk/types)

v3.60.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
  • Adjust ZxcvbnResult interface to use current feedback.warning type as used in the upstream @zxcvbn-ts/core library. (#​2332) by @​clerk-cookie

v3.59.0

Compare Source

Minor Changes

v3.58.1

Compare Source

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 this update 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) December 7, 2023 17:59
@jtoar jtoar added this to the next-release milestone Dec 7, 2023
@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Dec 7, 2023
@renovate renovate bot force-pushed the renovate/clerk-types-3.x branch 2 times, most recently from fd2c115 to a623c44 Compare December 11, 2023 09:11
@renovate renovate bot changed the title chore(deps): update dependency @clerk/types to v3.58.1 chore(deps): update dependency @clerk/types to v3.59.0 Dec 11, 2023
@renovate renovate bot force-pushed the renovate/clerk-types-3.x branch from a623c44 to 7cabcd4 Compare December 13, 2023 17:10
@renovate renovate bot changed the title chore(deps): update dependency @clerk/types to v3.59.0 chore(deps): update dependency @clerk/types to v3.60.0 Dec 13, 2023
Copy link
Contributor Author

renovate bot commented Dec 14, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@renovate renovate bot merged commit b45d82c into main Dec 14, 2023
32 checks passed
@renovate renovate bot deleted the renovate/clerk-types-3.x branch December 14, 2023 06:09
Tobbe pushed a commit that referenced this pull request Dec 21, 2023
[![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/types](https://clerk.com/)
([source](https://github.com/clerk/javascript/tree/HEAD/packages/types))
| [`3.58.0` ->
`3.60.0`](https://renovatebot.com/diffs/npm/@clerk%2ftypes/3.58.0/3.60.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@clerk%2ftypes/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@clerk%2ftypes/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@clerk%2ftypes/3.58.0/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@clerk%2ftypes/3.58.0/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

[`v3.60.0`](https://github.com/clerk/javascript/releases/tag/%40clerk/types%403.60.0)

[Compare
Source](https://github.com/clerk/javascript/compare/@clerk/types@3.59.0...@clerk/types@3.60.0)

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

- Adjust `ZxcvbnResult` interface to use current `feedback.warning` type
as used in the upstream `@zxcvbn-ts/core` library.
([#&#8203;2332](https://github.com/clerk/javascript/pull/2332)) by
[@&#8203;clerk-cookie](https://github.com/clerk-cookie)

[`v3.59.0`](https://github.com/clerk/javascript/releases/tag/%40clerk/types%403.59.0)

[Compare
Source](https://github.com/clerk/javascript/compare/@clerk/types@3.58.1...@clerk/types@3.59.0)

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

[`v3.58.1`](https://github.com/clerk/javascript/releases/tag/%40clerk/types%403.58.1)

[Compare
Source](https://github.com/clerk/javascript/compare/@clerk/types@3.58.0...@clerk/types@3.58.1)

- Add `permissions` to `meta` field of fapi error.
([#&#8203;2285](https://github.com/clerk/javascript/pull/2285)) by
[@&#8203;clerk-cookie](https://github.com/clerk-cookie)

- Drop `org:sys_domains:delete` and `org:sys_memberships:delete` as
those have now been merged with the respective `manage` ones.
([#&#8203;2270](https://github.com/clerk/javascript/pull/2270)) by
[@&#8203;panteliselef](https://github.com/panteliselef)

</details>

---

📅 **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 this update
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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
@Tobbe Tobbe modified the milestones: next-release, v6.6.0 Dec 22, 2023
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.

2 participants