') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Version Packages by clerk-cookie · Pull Request #1867 · clerk/javascript · GitHub
Skip to content

Version Packages - #1867

Merged
nikosdouvlis merged 1 commit into
mainfrom
changeset-release/main
Oct 17, 2023
Merged

Version Packages#1867
nikosdouvlis merged 1 commit into
mainfrom
changeset-release/main

Conversation

@clerk-cookie

@clerk-cookieclerk-cookie commented Oct 12, 2023

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@clerk/clerk-js@4.62.0

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.
  • Add new /sign-up/continue/verify-phone-number and /sign-up/continue/verify-email-address routes in order to allow navigating back to the /sign-up/continue step when editing the extra identifier that is provided in the /sign-up/continue step. (#1870) by @desiprisg

Patch Changes

  • Improve accessibility of <UserButton /> and <OrganizationSwitcher /> by using aria-* attributes (where appropriate) and roles like menu and menuitem. (#1826) by @panteliselef

  • 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

  • Enforce LTR direction in code inputs (#1873) by @desiprisg

  • Replace role based check with permission based checks inside the OrganizationSwitcher component. (#1851) by @panteliselef

  • Update @emotion/react from 11.10.5 to 11.11.1 to allow internal usage of TypeScript v5 (Emotion commit) (#1877) by @LekoArts

  • Replace role based check with permission based checks inside the OrganizationSettings component. (#1850) by @panteliselef

  • Fix methods in clerk-js that consumede paginated endpoints in order to retrieve single resources. (#1871) by @panteliselef

  • Fix incorrect deprecation message for __unstable__membershipUpdate. (#1889) by @panteliselef

  • Replace role based check with permission based checks inside the OrganizationMembers component. (#1849) 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

  • Updated dependencies [35be8709d, e38488c92, a11f962bc, 9b644d799, a9894b445, 834dadb36, 70f251007, a46d6fe99]:

    • @clerk/types@3.56.0
    • @clerk/shared@0.24.5
    • @clerk/localizations@1.26.5

@clerk/types@3.56.0

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

@clerk/backend@0.31.1

Patch Changes

  • Added new function signJwt(payload, key, options) for JWT token signing. (#1786) by @Nikpolik

    Also updated the existing hasValidSignature and verifyJwt method to handle PEM-formatted keys directly (previously they had to be converted to jwks).
    For key compatibility, support is specifically confined to RSA types and formats jwk, pkcs8, spki.

  • Updated dependencies [35be8709d, e38488c92, a11f962bc, 9b644d799, a9894b445, 834dadb36, 70f251007, a46d6fe99]:

    • @clerk/types@3.56.0
    • @clerk/shared@0.24.5

@clerk/chrome-extension@0.4.8

Patch Changes

@clerk/clerk-expo@0.19.10

Patch Changes

@clerk/fastify@0.6.15

Patch Changes

gatsby-plugin-clerk@4.4.16

Patch Changes

@clerk/localizations@1.26.5

Patch Changes

@clerk/nextjs@4.25.5

Patch Changes

@clerk/clerk-react@4.26.5

Patch Changes

@clerk/remix@3.0.7

Patch Changes

@clerk/clerk-sdk-node@4.12.14

Patch Changes

@clerk/shared@0.24.5

Patch Changes

  • Add Clerk - prefix to deprecation warnings (#1890) by @dimkl

  • Deprecate the organization.__unstable__invitationUpdate and organization.__unstable__membershipUpdate methods. (#1879) by @panteliselef

  • Internal updates and improvements, with the only public change that npm should no longer complain about missing react peerDependency. (#1868) by @LekoArts

    Updates:

    • Remove @clerk/shared/testUtils export (which was only used for internal usage)
    • Add peerDependenciesMeta to make react peerDep optional
  • 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

@clerk/themes@1.7.8

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

@clerk-cookie
clerk-cookie requested a review from a teamOctober 12, 2023 09:19
@clerk-cookie
clerk-cookie requested a review from a team as a code ownerOctober 12, 2023 09:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 34b32cb to deb9aa7CompareOctober 12, 2023 12:15
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch 4 times, most recently from fcec2c6 to de269a6CompareOctober 12, 2023 14:54
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from f425004 to 404da8cCompareOctober 17, 2023 10:17
@nikosdouvlis
nikosdouvlis merged commit f085918 into mainOct 17, 2023
@nikosdouvlis
nikosdouvlis deleted the changeset-release/main branch October 17, 2023 10:25
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clerk-cookie@nikosdouvlis@dimkl