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.65.4 #12

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2024

This PR contains the following updates:

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

Release Notes

clerk/javascript (@​clerk/types)

v3.65.4

Compare Source

Patch Changes

v3.65.3

Compare Source

Patch Changes
  • Allow users to display the email address field after selecting to input a phone number. Previously that was not possible when passkeys were enabled. (v4) (#​3920) by @​EmmanouelaPothitou

v3.65.2

Compare Source

Patch Changes

v3.65.1

Compare Source

Patch Changes

v3.65.0

Compare Source

Minor Changes
  • Added the following types (#​3409) by @​panteliselef

    interface Clerk {
      ...
      openGoogleOneTap: (props?: GoogleOneTapProps) => void;
      closeGoogleOneTap: () => void;
      authenticateWithGoogleOneTap: (params: AuthenticateWithGoogleOneTapParams) => Promise<SignInResource | SignUpResource>;
      handleGoogleOneTapCallback: (
        signInOrUp: SignInResource | SignUpResource,
        params: HandleOAuthCallbackParams,
        customNavigate?: (to: string) => Promise<unknown>,
      ) => Promise<unknown>;
      ...
    }
    
    type GoogleOneTapStrategy = 'google_one_tap'

v3.64.1

Compare Source

Patch Changes
  • Use default value for signIn.userData, to correctly align it with the types. (#​3284) by @​desiprisg

v3.64.0

Compare Source

Minor Changes
  • Add support for different Bot Protection widget types (#​3216) by @​anagstef

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

    • React Component <__experimental_GoogleOneTap/>
    • JS clerk.__experimental_mountGoogleOneTap(node,props)
Patch Changes
  • Adds translation keys to be able to customize error messages when an identifier already exists: (#​3208) by @​octoper

    • form_identifier_exists__email_address
    • form_identifier_exists__username
    • form_identifier_exists__phone_number

v3.63.1

Compare Source

Patch Changes
  • Add maintenance mode banner to the SignIn and SignUp components. The text can be customized by updating the maintenanceMode localization key. by @​nikosdouvlis

v3.63.0

Compare Source

Minor Changes
  • Support for prompting a user to reset their password if it is found to be compromised during sign-in. (#​3075) by @​yourtallness
Patch Changes
  • Update token refresh mechanism to handle network failures without raising an error (#​3068) by @​dimkl

v3.62.1

Compare Source

Patch Changes
  • Append the devBrowser JWT to searchParams always in order to make v4 support both older v4 versions as well as v5 versions when a redirect flow is goes through AccountPortal (#​2857) by @​nikosdouvlis

v3.62.0

Compare Source

Minor Changes
  • Accept skipInvitationScreen as a prop from OrganizationSwitcher. (#​2740) by @​panteliselef

    skipInvitationScreen hides the screen for sending invitations after an organization is created.
    By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1

v3.61.0

Compare Source

Minor Changes

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

v3.58.0

Compare Source

Minor Changes
  • Add support for custom roles in <OrganizationProfile/>. (#​2039) by @​panteliselef

    The previous roles (admin and basic_member), are still kept as a fallback.

  • Experimental support for <Gate/> with role checks. (#​2051) by @​panteliselef

v3.57.1

Compare Source

Patch Changes
  • Shows list of domains if member has the org:sys_domain:read permission. (#​1896) by @​panteliselef

  • Introduces new element appearance descriptors: (#​2010) by @​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) by @​clerk-cookie

v3.57.0

Compare Source

Minor Changes
  • Introduce customization in UserProfile and OrganizationProfile (#​1822) by @​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:

    <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:

    <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.

Patch Changes

v3.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 @​mzhong9723

  • Mark 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 and organization.__unstable__membershipUpdate methods. (#​1879) by @​panteliselef

  • Fix 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 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) by @​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) by @​BRKalow

  • Introduce new *EmailLink* helpers that will replace the *MagicLink* helpers. (#​1833) by @​dimkl

    Also marked all the *MagicLink* as deprecated using JSDocs.

v3.54.0

Compare Source

Minor Changes
  • 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) by @​chanioxaris
Patch Changes
    • Introduce organizationProfileProps as prop in <OrganizationSwitcher/>. (#​1801) by @​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) by @​panteliselef

  • Enables you to translate the tooltip hint while creating an organization through the formFieldHintText__slug key (#​1811) by @​LekoArts

  • Drop password property from UserJSON since it's not being returned by the Frontend API (#​1805) by @​dimkl

  • Remove experimenta jsdoc tags from multi-domain types. (#​1819) by @​panteliselef

  • Warn about publicUserData.profileImageUrl nested property deprecation in OrganizationMembership & OrganizationMembershipRequest resources. (#​1812) by @​dimkl

v3.53.0

Compare Source

Minor Changes
  • <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) by @​desiprisg

v3.52.1

Compare Source

Patch Changes
  • Introduces a new method for fetching organization invitations called Organization.getInvitations. (#​1766) by @​panteliselef

    Deprecate Organization.getPendingInvitations

  • Adds the ability to force users to reset their password. (#​1757) by @​kostaspt

v3.52.0

Compare Source

Minor Changes
  • Introduce the new brand-new component OrganizationList (#​1692) by @​panteliselef

    • Lists all the memberships, invitations or suggestions an active user may have
    • Powered by our useOrganizationList react hook
Patch Changes
  • Change README to include updated links to issue templates and update Discord link. (#​1750) by @​LekoArts

  • This PR replaces The verification link expired. Please resend it. message with the localization key formFieldError__verificationLinkExpired. The english message was also adjust to The verification link expired. Please request a new link. to make the second sentence clearer. (#​1738) by @​LekoArts

v3.51.0

Compare Source

Minor Changes
  • Introduced a new firstFactorUrl property in sign-in callback to handle unverified emails. (#​1629) by @​kostaspt
Patch Changes
  • Organization Switcher now diplays organization invitations and suggestions in a more compact form. (#​1675) by @​panteliselef

v3.50.0

Compare Source

Minor Changes
  • Introducing validatePassword for SignIn and SignUp resources (#​1445) by @​panteliselef

    • Validate a password based on the instance's configuration set in Password Policies in Dashboard
  • Introduce a new resource called OrganizationSuggestion along with retrieve() & accept() methods (#​1574) by @​chanioxaris

    Also make available the user's suggestions from the useOrganizationList hook

  • Introduces userInvitations from useOrganizationList (#​1520) by @​panteliselef

    userInvitations is a paginated list of data. It can be used to create Paginated tables or Infinite lists.

  • Introduce hasImage in User / Organization / Session resources (#​1544) by @​dimkl

  • Improve redirects on OAuth callback. Now, if you try to sign up with a provider that allows unverified accounts, it will (#​1563) by @​kostaspt

    navigate to the appropriate change when needed, fixing the broken flow.

  • Introduce logoLinkUrl prop in appearance.layout (#​1449) by @​nikospapcom

    A new logoLinkUrl prop has been added to appearance.layout and used in ApplicationLogo to change the href of the link.
    By default, the logo link url will be the Home URL you've set in the Clerk Dashboard.

Patch Changes
  • Introduces a new resource called OrganizationMembership (#​1572) by @​panteliselef

    • useOrganization has been updated in order to return a list of domain with the above type
  • Introduces Membership Requests in (#​1576) by @​panteliselef

    • This is a list of users that have requested to join the active organization
  • Updates signature of OrganizationMembership.retrieve to support backwards compatibility while allowing using the new paginated responses. (#​1606) by @​panteliselef

    • userMemberships is now also part of the returned values of useOrganizationList
  • Introduces the accept method in UserOrganizationInvitation class (#​1550) by @​panteliselef

  • Display a notification counter for organization invitations in OrganizationSwitcher (#​1627) by @​panteliselef

  • Introduces a new resource called OrganizationDomain (#​1569) by @​panteliselef

    • useOrganization has been updated in order to return a list of domain with the above type
  • Introduces domains and invitations in (#​1560) by @​panteliselef

    • The "Members" page now accommodates Domain and Individual invitations
    • The "Settings" page allows for the addition, edit and removal of a domain
  • A OrganizationMembershipRequest can now be rejected (#​1612) by @​panteliselef

    • New OrganizationMembershipRequest.reject method alongside accept
    • As an organization admin, navigate to Organization Profile > Members > Requests. You can now reject a request from the table.
  • Introduces an invitation list within (#​1554) by @​panteliselef

    • Users can accept the invitation that is sent to them
  • When updating enrollment mode of a domain uses can now delete any pending invitations or suggestions. (#​1632) by @​panteliselef

  • Construct urls based on context in (#​1503) by @​panteliselef

    • Deprecate afterSwitchOrganizationUrl
    • Introduce afterSelectOrganizationUrl & afterSelectPersonalUrl

    afterSelectOrganizationUrl accepts

    • Full URL -> 'https://clerk.com/'
    • relative path -> '/organizations'
    • relative path -> with param '/organizations/:id'
    • function that returns a string -> (org) => /org/${org.slug}
      afterSelectPersonalUrl accepts
    • Full URL -> 'https://clerk.com/'
    • relative path -> '/users'
    • relative path -> with param '/users/:username'
    • function that returns a string -> (user) => /users/${user.id}
  • Introduces list of suggestions within (#​1577) by @​panteliselef

    • Users can request to join a suggested organization

v3.49.0

Compare Source

Minor Changes
  • Handle the construction of zxcvbn errors with information from FAPI (#​1526) by @​raptisj
Patch Changes
  • Deprecate usage of old image fields in favor of imageUrl (#​1543) by @​dimkl

  • New localization keys for max length exceeded validation: (#​1521) by @​nikospapcom

    • Organization name (form_param_max_length_exceeded__name)
    • First name (form_param_max_length_exceeded__first_name)
    • Last name (form_param_max_length_exceeded__last_name)
  • Introduces a new internal class UserOrganizationInvitation that represents and invitation to join an organization with the organization data populated (#​1527) by @​panteliselef

    Additions to support the above

    • UserOrganizationInvitationResource
    • UserOrganizationInvitationJSON
    • ClerkPaginatedResponse

    ClerkPaginatedResponse represents a paginated FAPI response

  • Introduce Clerk.client.clearCache() method (#​1545) by @​SokratisVidros

v3.48.1

Compare Source

Patch Changes

v3.48.0

Compare Source

Minor Changes

v3.47.0

Compare Source

Minor Changes
  • Add a confirmation input as an additional check when doing destructive actions such as: (#​1454) by @​raptisj

    • delete an organization
    • delete a user account
    • leave an organization

    Νew localization keys were introduced to support the above

Patch Changes

v3.46.1

Compare Source

Patch Changes
  • Add missing create method to PhoneNumberResource, EmailAddressResource, Web3WalletResource interfaces (#​1411) by @​crutchcorn

v3.46.0

Compare Source

Minor Changes
  • Add ability for organization admins to delete an organization if they have permission to do so (#​1368) by @​jescalan

v3.45.0

Compare Source

Minor Changes
  • If user does not have permission to create an org, create org button will not display in the OrganizationSwitcher UI (#​1373) by @​jescalan
Patch Changes
  • Fix to pull from the correct permissions set when displaying user delete self UI (#​1372) by @​jescalan

v3.44.0

Compare Source

Minor Changes
  • Add localization keys for when the phone number exists and the last identification is deleted (#​1383) by @​raptisj

v3.43.0

Compare Source

Minor Changes
  • Adds the ability for users to delete their own accounts, as long as they have permission to do so (#​1307) by @​jescalan
Patch Changes
  • Password, first name & last name fields will be disabled if there are active SAML accounts. (#​1326) by @​yourtallness

v3.42.0

Compare Source

Minor Changes

v3.41.1

Compare Source

Patch Changes
  • fix(types,localizations): Improve invalid form email_address param error message by @​nikosdouvlis

  • Make first name, last name & password readonly for users with active SAML accounts by @​nikosdouvlis

  • Add support for dataURLs in User.setProfileImage by @​nikosdouvlis

v3.41.0

Compare Source

Note: Version bump only for package @​clerk/types

v3.40.0

Compare Source

Note: Version bump only for package @​clerk/types

v3.39.0

Compare Source

Note: Version bump only for package @​clerk/types

3.38.1 (2023-05-18)

Note: Version bump only for package @​clerk/types

v3.38.1

Compare Source

Note: Version bump only for package @​clerk/types

v3.38.0

Compare Source

Note: Version bump only for package @​clerk/types

v3.37.1

Compare Source

v3.37.0

Compare Source

Note: Version bump only for package @​clerk/types

v3.36.1

Compare Source


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 is behind base branch, 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.

@renovate renovate bot changed the title chore(deps): update dependency @clerk/types to v3.65.3 chore(deps): update dependency @clerk/types to v3.65.4 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants