-
Notifications
You must be signed in to change notification settings - Fork 1k
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.58.0 #9431
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jtoar
pushed a commit
that referenced
this pull request
Nov 16, 2023
[![Mend Renovate logo banner](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://togithub.com/clerk/javascript)) | [`3.52.0` -> `3.58.0`](https://renovatebot.com/diffs/npm/@clerk%2ftypes/3.52.0/3.58.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@clerk%2ftypes/3.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@clerk%2ftypes/3.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@clerk%2ftypes/3.52.0/3.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@clerk%2ftypes/3.52.0/3.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- <details> <summary>clerk/javascript (@​clerk/types)</summary> [`v3.58.0`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/types%403.58.0) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Add support for custom roles in `<OrganizationProfile/>`. ([#​2039](https://togithub.com/clerk/javascript/pull/2039)) by [@​panteliselef](https://togithub.com/panteliselef) The previous roles (`admin` and `basic_member`), are still kept as a fallback. - Experimental support for `<Gate/>` with role checks. ([#​2051](https://togithub.com/clerk/javascript/pull/2051)) by [@​panteliselef](https://togithub.com/panteliselef) [`v3.57.1`](https://togithub.com/clerk/javascript/releases/tag/%40clerk/types%403.57.1) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Shows list of domains if member has the `org:sys_domain:read` permission. ([#​1896](https://togithub.com/clerkinc/javascript/pull/1896)) by [@​panteliselef](https://togithub.com/panteliselef) - Introduces new element appearance descriptors: ([#​2010](https://togithub.com/clerkinc/javascript/pull/2010)) by [@​clerk-cookie](https://togithub.com/clerk-cookie) - `activeDeviceListItem` allows you to customize the appearance of the active device list (accordion) item - `activeDeviceListItem__current` allows you to customize the appearance of the *current* active device list (accordion) item - `activeDevice` allows you to customize the appearance of the active device item - `activeDevice__current` allows you to customize the appearance of the *current* active device item - Simplify the WithOptions generic type ([#​2008](https://togithub.com/clerkinc/javascript/pull/2008)) by [@​clerk-cookie](https://togithub.com/clerk-cookie) [`v3.57.0`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3570) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Introduce customization in `UserProfile` and `OrganizationProfile` ([#​1822](https://togithub.com/clerk/javascript/pull/1822)) by [@​anagstef](https://togithub.com/anagstef) The `<UserProfile />` component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the `<UserProfile.Page>` component, and external links can be added using the `<UserProfile.Link>` component. The default routes, such as `Account` and `Security`, can be reordered. Example React API usage: ```tsx <UserProfile> <UserProfile.Page label='Custom Page' url='custom' labelIcon={<CustomIcon />} > <MyCustomPageContent /> </UserProfile.Page> <UserProfile.Link label='External' url='/home' labelIcon={<Icon />} /> <UserProfile.Page label='account' /> <UserProfile.Page label='security' /> </UserProfile> ``` Custom pages and links should be provided as children using the `<UserButton.UserProfilePage>` and `<UserButton.UserProfileLink>` components when using the `UserButton` component. The `<OrganizationProfile />` component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the `<OrganizationProfile.Page>` component, and external links can be added using the `<OrganizationProfile.Link>` component. The default routes, such as `Members` and `Settings`, can be reordered. Example React API usage: ```tsx <OrganizationProfile> <OrganizationProfile.Page label='Custom Page' url='custom' labelIcon={<CustomIcon />} > <MyCustomPageContent /> </OrganizationProfile.Page> <OrganizationProfile.Link label='External' url='/home' labelIcon={<Icon />} /> <OrganizationProfile.Page label='members' /> <OrganizationProfile.Page label='settings' /> </OrganizationProfile> ``` Custom pages and links should be provided as children using the `<OrganizationSwitcher.OrganizationProfilePage>` and `<OrganizationSwitcher.OrganizationProfileLink>` components when using the `OrganizationSwitcher` component. - Publish packages with [npm provenance](https://docs.npmjs.com/generating-provenance-statements) enabled ([#​1891](https://togithub.com/clerk/javascript/pull/1891)) by [@​LekoArts](https://togithub.com/LekoArts) - Drop `experimental_force_oauth_first` & `experimental__forceOauthFirst` from `DisplayConfig` ([#​1918](https://togithub.com/clerk/javascript/pull/1918)) by [@​dimkl](https://togithub.com/dimkl) [`v3.56.1`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3561) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Deprecate experimental captcha from Clerk singleton. ([#​1905](https://togithub.com/clerk/javascript/pull/1905)) by [@​panteliselef](https://togithub.com/panteliselef) [`v3.56.0`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3560) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Introduces three new element appearence descriptors: ([#​1803](https://togithub.com/clerk/javascript/pull/1803)) by [@​octoper](https://togithub.com/octoper) - `tableHead` let's you customize the tables head styles. - `paginationButton` let's you customize the pagination buttons. - `paginationRowText` let's you customize the pagination text. - Update default organization permissions with a `sys_` prefix as part of the entitlement. This changes makes it easy to distinguish between clerk reserved permissions and custom permissions created by developers. ([#​1865](https://togithub.com/clerk/javascript/pull/1865)) by [@​mzhong9723](https://togithub.com/mzhong9723) - Mark the following SAML related types as stable: ([#​1876](https://togithub.com/clerk/javascript/pull/1876)) by [@​dimkl](https://togithub.com/dimkl) - `User.samlAccounts` - `SamlAccount` - `UserSettingsResource.saml` - `UserSettingsJSON.saml` - `SamlSettings` - `UserResource.samlAccounts` - `SamlAccountResource` - `SamlStrategy` - `UserJSON.saml_accounts` - `SamlAccountJSON` - `SamlConfig` - `SamlFactor` - `HandleSamlCallbackParams` - Deprecate the `organization.__unstable__invitationUpdate` and `organization.__unstable__membershipUpdate` methods. ([#​1879](https://togithub.com/clerk/javascript/pull/1879)) by [@​panteliselef](https://togithub.com/panteliselef) - Fix methods in clerk-js that consumede paginated endpoints in order to retrieve single resources. ([#​1871](https://togithub.com/clerk/javascript/pull/1871)) by [@​panteliselef](https://togithub.com/panteliselef) - In invite members screen of the <OrganizationProfile /> component, consume any invalid email addresses as they are returned in the API error and remove them from the input automatically. ([#​1869](https://togithub.com/clerk/javascript/pull/1869)) by [@​chanioxaris](https://togithub.com/chanioxaris) [`v3.55.0`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3550) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Add support for LinkedIn OIDC ([#​1772](https://togithub.com/clerk/javascript/pull/1772)) by [@​fragoulis](https://togithub.com/fragoulis) - Introduces a new `isAuthorized()` method in the `Session` class. Returns a promise and checks whether the active user is allowed to perform an action based on the passed (required) permission and the ones attached to the membership. ([#​1834](https://togithub.com/clerk/javascript/pull/1834)) by [@​panteliselef](https://togithub.com/panteliselef) - 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](https://togithub.com/clerk/javascript/pull/1857)) by [@​BRKalow](https://togithub.com/BRKalow) - Introduce new `*EmailLink*` helpers that will replace the `*MagicLink*` helpers. ([#​1833](https://togithub.com/clerk/javascript/pull/1833)) by [@​dimkl](https://togithub.com/dimkl) Also marked all the `*MagicLink*` as deprecated using JSDocs. [`v3.54.0`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3540) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Introduce a new user resource method to leave an organization. You can now call 'user.leaveOrganization(\<org_id>)' when a user chooses to leave an organization instead of 'organization.removeMember(\<user_id>)' which is mostly meant for organization based actions. ([#​1809](https://togithub.com/clerk/javascript/pull/1809)) by [@​chanioxaris](https://togithub.com/chanioxaris) - - Introduce organizationProfileProps as prop in `<OrganizationSwitcher/>`. ([#​1801](https://togithub.com/clerk/javascript/pull/1801)) by [@​panteliselef](https://togithub.com/panteliselef) - Introduce appearance in userProfileProps in `<UserButton/>`. - Deprecate the usage of `appearance.userProfile` in `<UserButton/>`. - Introduce ClerkRuntimeError class for localizing error messages in ClerkJS components ([#​1813](https://togithub.com/clerk/javascript/pull/1813)) by [@​panteliselef](https://togithub.com/panteliselef) - Enables you to translate the tooltip hint while creating an organization through the `formFieldHintText__slug` key ([#​1811](https://togithub.com/clerk/javascript/pull/1811)) by [@​LekoArts](https://togithub.com/LekoArts) - Drop `password` property from `UserJSON` since it's not being returned by the Frontend API ([#​1805](https://togithub.com/clerk/javascript/pull/1805)) by [@​dimkl](https://togithub.com/dimkl) - Remove experimenta jsdoc tags from multi-domain types. ([#​1819](https://togithub.com/clerk/javascript/pull/1819)) by [@​panteliselef](https://togithub.com/panteliselef) - Warn about `publicUserData.profileImageUrl` nested property deprecation in `OrganizationMembership` & `OrganizationMembershipRequest` resources. ([#​1812](https://togithub.com/clerk/javascript/pull/1812)) by [@​dimkl](https://togithub.com/dimkl) [`v3.53.0`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3530) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - `<SignIn/>`, `<SignUp/>`, `<RedirectToSignin/>`, `<RedirectToSignUp/>`, `clerk.redirectToSignIn()` and `clerk.redirectToSignUp()` now accept the `initialValues` option, which will prefill the appropriate form fields with the values provided. ([#​1701](https://togithub.com/clerk/javascript/pull/1701)) by [@​desiprisg](https://togithub.com/desiprisg) [`v3.52.1`](https://togithub.com/clerk/javascript/blob/HEAD/packages/types/CHANGELOG.md#3521) [Compare Source](https://togithub.com/clerk/javascript/compare/@clerk/[email protected]...@clerk/[email protected]) - Introduces a new method for fetching organization invitations called `Organization.getInvitations`. ([#​1766](https://togithub.com/clerk/javascript/pull/1766)) by [@​panteliselef](https://togithub.com/panteliselef) Deprecate `Organization.getPendingInvitations` - Adds the ability to force users to reset their password. ([#​1757](https://togithub.com/clerk/javascript/pull/1757)) by [@​kostaspt](https://togithub.com/kostaspt) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.52.0
->3.58.0
Release Notes
clerk/javascript (@clerk/types)
v3.58.0
Compare Source
Minor Changes
Add support for custom roles in
<OrganizationProfile/>
. (#2039) by @panteliselefThe previous roles (
admin
andbasic_member
), are still kept as a fallback.Experimental support for
<Gate/>
with role checks. (#2051) by @panteliselefv3.57.1
Compare Source
Patch Changes
Shows list of domains if member has the
org:sys_domain:read
permission. (#1896) by @panteliselefIntroduces new element appearance descriptors: (#2010) by @clerk-cookie
activeDeviceListItem
allows you to customize the appearance of the active device list (accordion) itemactiveDeviceListItem__current
allows you to customize the appearance of the current active device list (accordion) itemactiveDevice
allows you to customize the appearance of the active device itemactiveDevice__current
allows you to customize the appearance of the current active device itemSimplify the WithOptions generic type (#2008) by @clerk-cookie
v3.57.0
Compare Source
Minor Changes
Introduce customization in
UserProfile
andOrganizationProfile
(#1822) by @anagstefThe
<UserProfile />
component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<UserProfile.Page>
component, and external links can be added using the<UserProfile.Link>
component. The default routes, such asAccount
andSecurity
, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<UserButton.UserProfilePage>
and<UserButton.UserProfileLink>
components when using theUserButton
component.The
<OrganizationProfile />
component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<OrganizationProfile.Page>
component, and external links can be added using the<OrganizationProfile.Link>
component. The default routes, such asMembers
andSettings
, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<OrganizationSwitcher.OrganizationProfilePage>
and<OrganizationSwitcher.OrganizationProfileLink>
components when using theOrganizationSwitcher
component.Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Drop
experimental_force_oauth_first
&experimental__forceOauthFirst
fromDisplayConfig
(#1918) by @dimklv3.56.1
Compare Source
Patch Changes
v3.56.0
Compare Source
Minor Changes
Introduces three new element appearence descriptors: (#1803) by @octoper
tableHead
let's you customize the tables head styles.paginationButton
let's you customize the pagination buttons.paginationRowText
let's you customize the pagination text.Patch Changes
Update default organization permissions with a
sys_
prefix as part of the entitlement. This changes makes it easy to distinguish between clerk reserved permissions and custom permissions created by developers. (#1865) by @mzhong9723Mark the following SAML related types as stable: (#1876) by @dimkl
User.samlAccounts
SamlAccount
UserSettingsResource.saml
UserSettingsJSON.saml
SamlSettings
UserResource.samlAccounts
SamlAccountResource
SamlStrategy
UserJSON.saml_accounts
SamlAccountJSON
SamlConfig
SamlFactor
HandleSamlCallbackParams
Deprecate the
organization.__unstable__invitationUpdate
andorganization.__unstable__membershipUpdate
methods. (#1879) by @panteliselefFix methods in clerk-js that consumede paginated endpoints in order to retrieve single resources. (#1871) by @panteliselef
In invite members screen of the component, consume any invalid email addresses as they are returned in the API error and remove them from the input automatically. (#1869) by @chanioxaris
v3.55.0
Compare Source
Minor Changes
Patch Changes
Introduces a new
isAuthorized()
method in theSession
class. Returns a promise and checks whether the active user is allowed to perform an action based on the passed (required) permission and the ones attached to the membership. (#1834) by @panteliselefIntroduce 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 @BRKalowIntroduce new
*EmailLink*
helpers that will replace the*MagicLink*
helpers. (#1833) by @dimklAlso marked all the
*MagicLink*
as deprecated using JSDocs.v3.54.0
Compare Source
Minor Changes
Patch Changes
Introduce organizationProfileProps as prop in
<OrganizationSwitcher/>
. (#1801) by @panteliselefIntroduce appearance in userProfileProps in
<UserButton/>
.Deprecate the usage of
appearance.userProfile
in<UserButton/>
.Introduce ClerkRuntimeError class for localizing error messages in ClerkJS components (#1813) by @panteliselef
Enables you to translate the tooltip hint while creating an organization through the
formFieldHintText__slug
key (#1811) by @LekoArtsDrop
password
property fromUserJSON
since it's not being returned by the Frontend API (#1805) by @dimklRemove experimenta jsdoc tags from multi-domain types. (#1819) by @panteliselef
Warn about
publicUserData.profileImageUrl
nested property deprecation inOrganizationMembership
&OrganizationMembershipRequest
resources. (#1812) by @dimklv3.53.0
Compare Source
Minor Changes
<SignIn/>
,<SignUp/>
,<RedirectToSignin/>
,<RedirectToSignUp/>
,clerk.redirectToSignIn()
andclerk.redirectToSignUp()
now accept theinitialValues
option, which will prefill the appropriate form fields with the values provided. (#1701) by @desiprisgv3.52.1
Compare Source
Patch Changes
Introduces a new method for fetching organization invitations called
Organization.getInvitations
. (#1766) by @panteliselefDeprecate
Organization.getPendingInvitations
Adds the ability to force users to reset their password. (#1757) by @kostaspt
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.
This PR has been generated by Mend Renovate. View repository job log here.