@shopify/cli-hydrogen 11.1.6 → 11.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import {getSchema} from '@shopify/hydrogen-codegen';
6
6
  * @see https://the-guild.dev/graphql/config/docs/user/usage
7
7
  * @type {IGraphQLConfig}
8
8
  */
9
- export default {
9
+ const graphqlConfig: IGraphQLConfig = {
10
10
  projects: {
11
11
  default: {
12
12
  schema: getSchema('storefront'),
@@ -24,4 +24,6 @@ export default {
24
24
 
25
25
  // Add your own GraphQL projects here for CMS, Shopify Admin API, etc.
26
26
  },
27
- } as IGraphQLConfig;
27
+ };
28
+
29
+ export default graphqlConfig;
@@ -1,5 +1,41 @@
1
1
  # skeleton
2
2
 
3
+ ## 2025.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Support OAuth parameters via URL query strings in skeleton login route ([#3391](https://github.com/Shopify/hydrogen/pull/3391)) by [@kdaviduik](https://github.com/kdaviduik)
8
+
9
+ 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.
10
+
11
+ ### Supported Query Parameters
12
+
13
+ | Query Parameter | Description |
14
+ | ----------------- | ---------------------------------------------------------------------------------- |
15
+ | `acr_values` | Direct users to a specific login method (e.g., `provider:google` for social login) |
16
+ | `login_hint` | Pre-fill the email address field |
17
+ | `login_hint_mode` | When set to `submit` with `login_hint`, auto-submits the login form |
18
+ | `locale` | Display the login page in a specific language (e.g., `fr`, `zh-CN`) |
19
+
20
+ ### Usage Examples
21
+
22
+ ```
23
+ /account/login?login_hint=user@example.com
24
+ /account/login?login_hint=user@example.com&login_hint_mode=submit
25
+ /account/login?acr_values=provider:google
26
+ /account/login?locale=fr
27
+ ```
28
+
29
+ - Updated dependencies [[`7c077f5f21a595c0355873ac8073b716dfeaf4d0`](https://github.com/Shopify/hydrogen/commit/7c077f5f21a595c0355873ac8073b716dfeaf4d0), [`7c077f5f21a595c0355873ac8073b716dfeaf4d0`](https://github.com/Shopify/hydrogen/commit/7c077f5f21a595c0355873ac8073b716dfeaf4d0), [`7c077f5f21a595c0355873ac8073b716dfeaf4d0`](https://github.com/Shopify/hydrogen/commit/7c077f5f21a595c0355873ac8073b716dfeaf4d0)]:
30
+ - @shopify/hydrogen@2025.8.0
31
+
32
+ ## 2025.7.2
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [[`6d22e45d29e89a7a8dddfe3c06459d89e4590483`](https://github.com/Shopify/hydrogen/commit/6d22e45d29e89a7a8dddfe3c06459d89e4590483), [`702f966c8e60eba7434363c9012f12bed92a8e4d`](https://github.com/Shopify/hydrogen/commit/702f966c8e60eba7434363c9012f12bed92a8e4d)]:
37
+ - @shopify/hydrogen@2025.7.2
38
+
3
39
  ## 2025.7.1
4
40
 
5
41
  ### Patch Changes
@@ -1,7 +1,17 @@
1
1
  import type {Route} from './+types/account_.login';
2
2
 
3
3
  export async function loader({request, context}: Route.LoaderArgs) {
4
+ const url = new URL(request.url);
5
+ const acrValues = url.searchParams.get('acr_values') || undefined;
6
+ const loginHint = url.searchParams.get('login_hint') || undefined;
7
+ const loginHintMode = url.searchParams.get('login_hint_mode') || undefined;
8
+ const locale = url.searchParams.get('locale') || undefined;
9
+
4
10
  return context.customerAccount.login({
5
11
  countryCode: context.storefront.i18n.country,
12
+ acrValues,
13
+ loginHint,
14
+ loginHintMode,
15
+ locale,
6
16
  });
7
17
  }
@@ -2,7 +2,7 @@
2
2
  "name": "skeleton",
3
3
  "private": true,
4
4
  "sideEffects": false,
5
- "version": "2025.7.1",
5
+ "version": "2025.7.3",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "shopify hydrogen build --codegen",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "prettier": "@shopify/prettier-config",
16
16
  "dependencies": {
17
- "@shopify/hydrogen": "2025.7.1",
17
+ "@shopify/hydrogen": "2025.7.3",
18
18
  "graphql": "^16.10.0",
19
19
  "graphql-tag": "^2.12.6",
20
20
  "isbot": "^5.1.22",
@@ -51,6 +51,7 @@
51
51
  "eslint-plugin-react": "^7.37.4",
52
52
  "eslint-plugin-react-hooks": "^5.1.0",
53
53
  "globals": "^15.14.0",
54
+ "graphql-config": "^5.0.3",
54
55
  "prettier": "^3.4.2",
55
56
  "typescript": "^5.9.2",
56
57
  "vite": "^6.2.4",
@@ -1683,5 +1683,5 @@
1683
1683
  ]
1684
1684
  }
1685
1685
  },
1686
- "version": "11.1.6"
1686
+ "version": "11.1.7"
1687
1687
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
- "version": "11.1.6",
7
+ "version": "11.1.7",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "repository": {