Skip to content

Conversation

@shopify-github-actions-access
Copy link
Contributor

@shopify-github-actions-access shopify-github-actions-access bot commented Jan 14, 2026

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

@shopify/hydrogen@2025.10.0

Minor Changes

  • Add React 19 support while maintaining React 18 compatibility (#3348) by @kdaviduik

    • Updated Hydrogen peerDependencies to accept React ^18.3.1 or non-CVE-containing React 19 versions

    Users can now upgrade their Hydrogen projects to React 19 without npm peer dependency conflicts. Existing React 18 projects continue to work without changes.

Patch Changes

  • Add locale parameter to Customer Account login (#3377) by @lihaokx

    Adds a new optional locale parameter to the customerAccount.login() method. This parameter sets the locale query parameter on the OAuth authorization URL to control the language of the login page.

    Supported locale values: en, fr, cs, da, de, el, es, fi, hi, hr, hu, id, it, ja, ko, lt, ms, nb, nl, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, th, tr, vi, zh-CN, zh-TW.

    The locale is determined by the following priority order:

    1. locale option (highest priority)
    2. uiLocales option
    3. language configuration in createCustomerAccountClient

    All locale sources now produce the locale query parameter instead of ui_locales.

    Usage

    // Using locale option directly
    await context.customerAccount.login({
      locale: 'fr',
    });
    
    // Using locale with regional variant
    await context.customerAccount.login({
      locale: 'zh-CN',
    });
    
    // locale takes precedence over uiLocales
    await context.customerAccount.login({
      locale: 'de',
      uiLocales: 'FR', // This will be ignored
    });

    The locale value is normalized automatically:

    • Lowercase languages: 'FR''fr'
    • Regional variants: 'ZH_CN' or 'zh-cn''zh-CN'

    Migration

    This is a non-breaking change. Existing implementations using uiLocales will continue to work, but the login URL will now use the locale parameter instead of ui_locales.

  • Add loginHintMode parameter to Customer Account login (#3364) by @lihaokx

    Adds a new optional loginHintMode parameter to the customerAccount.login() method. When provided along with loginHint, it's passed as the login_hint_mode query parameter to the OAuth authorization URL. The only supported value is 'submit'. This parameter is ignored if loginHint is not provided.

    When set to 'submit' along with loginHint, the login form will automatically submit with the provided email, skipping the email input step.

    Usage

    // Auto-submit with a known email
    await context.customerAccount.login({
      loginHint: 'customer@example.com',
      loginHintMode: 'submit',
    });

    Migration

    This is a non-breaking change. The parameter is optional and existing implementations will continue to work without modification.

  • Updated dependencies [19215e6b7a0fc49872a5fa018cbb071813007cd9]:

    • @shopify/hydrogen-react@2025.8.0

@shopify/hydrogen-react@2025.10.0

Minor Changes

  • Add React 19 support while maintaining React 18 compatibility (#3348) by @kdaviduik

    • Updated Hydrogen peerDependencies to accept React ^18.3.1 or non-CVE-containing React 19 versions

    Users can now upgrade their Hydrogen projects to React 19 without npm peer dependency conflicts. Existing React 18 projects continue to work without changes.

@shopify/cli-hydrogen@11.1.7

Patch Changes

  • Support OAuth parameters via URL query strings in skeleton login route (#3388) by @lihaokx

    The skeleton template's login route (account_.login.tsx) now reads OAuth parameters from the URL and forwards them to customerAccount.login(). This enables deep linking to the login page with pre-configured authentication options.

    Supported Query Parameters

    Query Parameter Description
    acr_values Direct users to a specific login method (e.g., provider:google for social login)
    login_hint Pre-fill the email address field
    login_hint_mode When set to submit with login_hint, auto-submits the login form
    locale Display the login page in a specific language (e.g., fr, zh-CN)

    Usage Examples

    /account/login?login_hint=user@example.com
    /account/login?login_hint=user@example.com&login_hint_mode=submit
    /account/login?acr_values=provider:google
    /account/login?locale=fr
    

@shopify/create-hydrogen@5.0.27

Patch Changes

  • Support OAuth parameters via URL query strings in skeleton login route (#3388) by @lihaokx

    The skeleton template's login route (account_.login.tsx) now reads OAuth parameters from the URL and forwards them to customerAccount.login(). This enables deep linking to the login page with pre-configured authentication options.

    Supported Query Parameters

    Query Parameter Description
    acr_values Direct users to a specific login method (e.g., provider:google for social login)
    login_hint Pre-fill the email address field
    login_hint_mode When set to submit with login_hint, auto-submits the login form
    locale Display the login page in a specific language (e.g., fr, zh-CN)

    Usage Examples

    /account/login?login_hint=user@example.com
    /account/login?login_hint=user@example.com&login_hint_mode=submit
    /account/login?acr_values=provider:google
    /account/login?locale=fr
    

skeleton@2025.10.0

Patch Changes

  • Support OAuth parameters via URL query strings in skeleton login route (#3388) by @lihaokx

    The skeleton template's login route (account_.login.tsx) now reads OAuth parameters from the URL and forwards them to customerAccount.login(). This enables deep linking to the login page with pre-configured authentication options.

    Supported Query Parameters

    Query Parameter Description
    acr_values Direct users to a specific login method (e.g., provider:google for social login)
    login_hint Pre-fill the email address field
    login_hint_mode When set to submit with login_hint, auto-submits the login form
    locale Display the login page in a specific language (e.g., fr, zh-CN)

    Usage Examples

    /account/login?login_hint=user@example.com
    /account/login?login_hint=user@example.com&login_hint_mode=submit
    /account/login?acr_values=provider:google
    /account/login?locale=fr
    
  • Updated dependencies [6b656fc04189e9a0e538800d71bff4dcb2f280ae, dbbc1cda8e0618997201803fdef2993481cb930a, 19215e6b7a0fc49872a5fa018cbb071813007cd9]:

    • @shopify/hydrogen@2025.8.0

@shopify-github-actions-access shopify-github-actions-access bot requested a review from a team as a code owner January 14, 2026 04:59
@shopify
Copy link
Contributor

shopify bot commented Jan 14, 2026

Oxygen deployed a preview of your changeset-release/main branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:00 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:03 AM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:00 AM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:02 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:02 AM
sitemap ✅ Successful (Logs) Preview deployment Inspect deployment January 14, 2026 5:02 AM

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch 9 times, most recently from 1ea9ac0 to fefb192 Compare January 17, 2026 01:27
@github-actions github-actions bot force-pushed the changeset-release/main branch from fefb192 to 4bb9c3a Compare January 19, 2026 20:38
@kdaviduik kdaviduik merged commit 7db6f8d into main Jan 19, 2026
1 check passed
@kdaviduik kdaviduik deleted the changeset-release/main branch January 19, 2026 20:39
kdaviduik added a commit that referenced this pull request Jan 20, 2026
kdaviduik added a commit that referenced this pull request Jan 20, 2026
Reverts #3373.

After merging this ^ I cancelled the workflow run before it released. There is some sort of (seemingly new) bug in our changesets logic - this PR should have been for Hydrogen/Hydrogen React versions 2025.7.3, like the title of the PR (which gets auto-generated based on the changesets). Instead, inside the body of the PR it was going to release Hydrogen/Hydrogen React 2025.10.0. 

[Info on Hydrogen's versioning](https://github.com/Shopify/hydrogen/blob/main/CLAUDE.md#version-strategy).

I suspect this bug was probably introduced as part of [these changes](#3111) (which also had several follow up fix PRs) to try to automate as much of this as possible. Since this was added we have only had "patch" changesets in Hydrogen/Hydrogen React, but this bug surfaced the first time we did a "minor" changeset. 

As a follow up I will investigate this to fix the bug and get the 2025.7.3 release out.
fredericoo pushed a commit that referenced this pull request Jan 20, 2026
Reverts #3373.

After merging this ^ I cancelled the workflow run before it released. There is some sort of (seemingly new) bug in our changesets logic - this PR should have been for Hydrogen/Hydrogen React versions 2025.7.3, like the title of the PR (which gets auto-generated based on the changesets). Instead, inside the body of the PR it was going to release Hydrogen/Hydrogen React 2025.10.0. 

[Info on Hydrogen's versioning](https://github.com/Shopify/hydrogen/blob/main/CLAUDE.md#version-strategy).

I suspect this bug was probably introduced as part of [these changes](#3111) (which also had several follow up fix PRs) to try to automate as much of this as possible. Since this was added we have only had "patch" changesets in Hydrogen/Hydrogen React, but this bug surfaced the first time we did a "minor" changeset. 

As a follow up I will investigate this to fix the bug and get the 2025.7.3 release out.
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.

1 participant