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

ci(repo): Version packages #5193

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

Conversation

clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Feb 18, 2025

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/[email protected]

Minor Changes

  • Introduce protect-fallback slot to avoid naming conflicts with Astro's server islands fallback slot. (#5196) by @wobsoriano

    When using Clerk's <Protect> component with server:defer, you can now use both slots:

    • fallback: Default loading content
    • protect-fallback: Shows when a user doesn't have the role or permission to access the protected content

    Regular usage without server islands:

    <Protect role="admin">
      <p slot="fallback">Not an admin</p>
      <p>You're an admin</p>
    </Protect>

    Example with server islands:

    <Protect server:defer role="admin">
      <p slot="fallback">Loading...</p>
      <p slot="protect-fallback">Not an admin</p>
      <p>You're an admin</p>
    </Protect>
  • Surface new pending session as a signed-in state (#5136) by @LauraBeatris

Patch Changes

@clerk/[email protected]

Minor Changes

    • Initialize new pending session status as an signed-in state (#5136) by @LauraBeatris

    • Deprecate Clerk.client.activeSessions in favor of Clerk.client.signedInSessions

    • Introduce Clerk.isSignedIn property as an explicit signed-in state check, instead of !!Clerk.session or !!Clerk.user:

    - if (Clerk.user) {
    + if (Clerk.isSignedIn) {
      // Mount user button component
      document.getElementById('signed-in').innerHTML = `
        <div id="user-button"></div>
      `
    
      const userbuttonDiv = document.getElementById('user-button')
    
      clerk.mountUserButton(userbuttonDiv)
    }

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

Copy link

vercel bot commented Feb 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 8:57pm

Sign up for free to 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.

1 participant