Skip to content

Conversation

@shopify-github-actions-access
Copy link
Contributor

@shopify-github-actions-access shopify-github-actions-access bot commented Jan 20, 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.7.3

Minor Changes

  • Add React 19 support while maintaining React 18 compatibility (#3391) 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 (#3391) by @kdaviduik

    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 (#3391) by @kdaviduik

    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 [7c077f5f21a595c0355873ac8073b716dfeaf4d0]:

    • @shopify/hydrogen-react@2025.8.0

@shopify/hydrogen-react@2025.7.2

Minor Changes

  • Add React 19 support while maintaining React 18 compatibility (#3391) 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 (#3391) by @kdaviduik

    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 (#3391) by @kdaviduik

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

Patch Changes

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

    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 [7c077f5f21a595c0355873ac8073b716dfeaf4d0, 7c077f5f21a595c0355873ac8073b716dfeaf4d0, 7c077f5f21a595c0355873ac8073b716dfeaf4d0]:

    • @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 20, 2026 05:03
@shopify
Copy link
Contributor

shopify bot commented Jan 20, 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 20, 2026 5:03 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment January 20, 2026 5:05 AM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment January 20, 2026 5:03 AM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment January 20, 2026 5:05 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment January 20, 2026 5:05 AM
sitemap ✅ Successful (Logs) Preview deployment Inspect deployment January 20, 2026 5:05 AM

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch from a79cb2a to 1cfe41a Compare January 20, 2026 05:29
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1cfe41a to 4bef3f5 Compare January 21, 2026 00:57
@kdaviduik kdaviduik merged commit d633a47 into main Jan 21, 2026
1 check passed
@kdaviduik kdaviduik deleted the changeset-release/main branch January 21, 2026 01:02
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.

2 participants