javascript

Official Javascript repository for Clerk authentication

MIT License

Downloads
6.1M
Stars
1.1K
Committers
167
javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Updated dependencies [c59a2d4a2, 2a615bf98]:

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Updated dependencies [c59a2d4a2, 2a615bf98]:

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Updated dependencies [c59a2d4a2, 2a615bf98]:

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Updated dependencies [c59a2d4a2, 2a615bf98]:

javascript - [email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Updated dependencies [c59a2d4a2, 2a615bf98]:

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2579) by @nikosdouvlis

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

  • Add deprecation warning for EmailAPI.createEmail. (#2555) by @Nikpolik

    This endpoint is no longer available and the function will be removed in the next major version.

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Allow dynamic values components props, even if these values change after the components are rendered. For example, a SignIn component with a redirectUrl prop passed in will always respect the latest value of redirectUrl. (#2515) by @nikosdouvlis
javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Apply the following changes to components with routing props: (#2543) by @dimkl

    • default is routing="path" and path prop is required to be set via env or context
    • when routing="hash" or routing="virtual" is set the implicit (via env or context) path option is ignored
    • when routing="hash" or routing="virtual" then path prop is not allowed to be set

    Examples of components with routing props:

    • <CreateOrganization />
    • <OrganizationProfile />
    • <SignIn />
    • <SignUp />
    • <UserProfile />

Patch Changes

  • Allow dynamic values components props, even if these values change after the components are rendered. For example, a SignIn component with a redirectUrl prop passed in will always respect the latest value of redirectUrl. (#2515) by @nikosdouvlis

  • Updated dependencies [8cc45d2af]:

javascript - [email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Allow dynamic values components props, even if these values change after the components are rendered. For example, a SignIn component with a redirectUrl prop passed in will always respect the latest value of redirectUrl. (#2515) by @nikosdouvlis

  • Updated dependencies [8cc45d2af]:

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Major Changes

  • Change SessionApi.getToken() to return consistent { data, errors } return value (#2539) by @dimkl

    and fix the getToken() from requestState to have the same return behavior as v4
    (return Promise or throw error).
    This change fixes issues with getToken() in @clerk/nextjs / @clerk/remix / @clerk/fastify / @clerk/sdk-node / gatsby-plugin-clerk:

    Example:

    import { getAuth } from '@clerk/nextjs/server';
    
    const { getToken } = await getAuth(...);
    const jwtString = await getToken(...);
    

    The change in SessionApi.getToken() return value is a breaking change, to keep the existing behavior use the following:

    import { ClerkAPIResponseError } from '@clerk/shared/error';
    
    const response = await clerkClient.sessions.getToken(...);
    
    if (response.errors) {
        const { status, statusText, clerkTraceId } = response;
        const error = new ClerkAPIResponseError(statusText || '', {
            data: [],
            status: Number(status || ''),
            clerkTraceId,
        });
        error.errors = response.errors;
    
        throw error;
    }
    
    // the value of the v4 `clerkClient.sessions.getToken(...)`
    const jwtString = response.data.jwt;
    

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-Agent in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/[email protected] using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Minor Changes

  • Include new headers in requests; (#2544) by @thiskevinwang

    Added expo-application >=5 & expo-constants >=14 peer deps

javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes

  • Telemetry: Append __clerk_framework_hint for Environment requests only by @nikosdouvlis
javascript - @clerk/[email protected]

Published by clerk-cookie 10 months ago

Patch Changes