Skip to content

ci(repo): Version packages #6077

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

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 Jun 6, 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

  • Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. (#6067) by @wobsoriano

    You can specify which token types are allowed by using the acceptsToken option in the getAuth() function. This option can be set to a specific type, an array of types, or 'any' to accept all supported tokens.

    Example usage:

    import express from 'express';
    import { getAuth } from '@clerk/express';
    
    const app = express();
    
    app.get('/path', (req, res) => {
      const authObject = getAuth(req, { acceptsToken: 'any' });
    
      if (authObject.tokenType === 'session_token') {
        console.log('this is session token from a user');
      } else {
        console.log('this is some other type of machine token');
        console.log('more specifically, a ' + authObject.tokenType);
      }
    });

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. (#6067) by @wobsoriano

    You can specify which token types are allowed by using the acceptsToken option in the getAuth() function. This option can be set to a specific type, an array of types, or 'any' to accept all supported tokens.

    Example usage:

    import Fastify from 'fastify';
    import { getAuth } from '@clerk/fastify';
    
    const fastify = Fastify();
    
    fastify.get('/path', (request, reply) => {
      const authObject = getAuth(req, { acceptsToken: 'any' });
    
      if (authObject.tokenType === 'session_token') {
        console.log('this is session token from a user');
      } else {
        console.log('this is some other type of machine token');
        console.log('more specifically, a ' + authObject.tokenType);
      }
    });

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. (#6067) by @wobsoriano

    You can specify which token types are allowed by using the acceptsToken option in the getAuth() function. This option can be set to a specific type, an array of types, or 'any' to accept all supported tokens.

    Example usage:

    import { getAuth } from '@clerk/react-router/ssr.server';
    import type { Route } from './+types/profile';
    
    export async function loader(args: Route.LoaderArgs) {
      const authObject = await getAuth(args, { acceptsToken: 'any' });
    
      if (authObject.tokenType === 'session_token') {
        console.log('this is session token from a user');
      } else {
        console.log('this is some other type of machine token');
        console.log('more specifically, a ' + authObject.tokenType);
      }
    
      return {};
    }

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. (#6067) by @wobsoriano

    You can specify which token types are allowed by using the acceptsToken option in the getAuth() function. This option can be set to a specific type, an array of types, or 'any' to accept all supported tokens.

    Example usage:

    import { createServerFn } from '@tanstack/react-start';
    import { getAuth } from '@clerk/tanstack-react-start/server';
    import { getWebRequest } from '@tanstack/react-start/server';
    
    const authStateFn = createServerFn({ method: 'GET' }).handler(async () => {
      const request = getWebRequest();
      const auth = await getAuth(request, { acceptsToken: 'any' });
    
      if (authObject.tokenType === 'session_token') {
        console.log('this is session token from a user');
      } else {
        console.log('this is some other type of machine token');
        console.log('more specifically, a ' + authObject.tokenType);
      }
    
      return {};
    });

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

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

  • Add payment history tab to UserProfile and OrgProfile (#6075) by @aeliox

@clerk/[email protected]

Patch Changes

Copy link

vercel bot commented Jun 6, 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 Jun 9, 2025 1:28am

Copy link

pkg-pr-new bot commented Jun 6, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6077

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6077

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6077

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6077

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6077

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6077

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6077

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6077

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6077

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6077

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6077

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6077

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6077

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6077

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6077

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6077

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6077

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6077

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6077

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6077

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6077

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6077

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6077

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6077

commit: 52cf628

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