Releases: Shopify/hydrogen
skeleton@2025.1.7
Patch Changes
-
Fix an issue with our starter template where duplicate content can exist on URLs that use internationalized handles. For example, if you have a product handle in english of
the-havoc
and translate it todas-chaos
in German, duplicate content exists at both: (#2821) by @blittleWe've changed the starter template to make the second redirect to the first.
-
Added the Cursor rule for the subscriptions recipe. (#2874) by @ruggishop
-
Fix faulty truthiness check for cart quantity (#2855) by @frontsideair
-
Refactor ProductItem into a separate component (#2872) by @juanpprieto
-
Updated dependencies [
f80f3bc7
,61ddf924
,642bde4f
]:- @Shopify/hydrogen@2025.1.4
skeleton@2025.1.6
Patch Changes
-
Moved the
Layout
component back intoroot.tsx
to avoid issues with styled errors. (#2829) by @ruggishop-
If you have a separate
app/layout.tsx
file, delete it and move its default exported component into yourroot.tsx
. For example:// /app/root.tsx export function Layout({children}: {children?: React.ReactNode}) { const nonce = useNonce(); const data = useRouteLoaderData<RootLoader>('root'); return ( <html lang="en"> ... ); }
-
@shopify/mini-oxygen@3.2.0
Minor Changes
-
Add support for HTTP proxies with the environment variables
SHOPIFY_HTTP_PROXY
andSHOPIFY_HTTPS_PROXY
. Define one of these variables before starting the Hydrogen dev server to make all requests go through a proxy server. (#2831) by @blittleIf your proxy uses authentication, provide the auth in the following format:
SHOPIFY_HTTP_PROXY=http://user:pass@yourproxy.com:PORT
@shopify/cli-hydrogen@10.0.0
Patch Changes
-
Add support for HTTP proxies with the environment variables
SHOPIFY_HTTP_PROXY
andSHOPIFY_HTTPS_PROXY
. Define one of these variables before starting the Hydrogen dev server to make all requests go through a proxy server. (#2831) by @blittleIf your proxy uses authentication, provide the auth in the following format:
SHOPIFY_HTTP_PROXY=http://user:pass@yourproxy.com:PORT
-
Moved the
Layout
component back intoroot.tsx
to avoid issues with styled errors. (#2829) by @ruggishop-
If you have a separate
app/layout.tsx
file, delete it and move its default exported component into yourroot.tsx
. For example:// /app/root.tsx export function Layout({children}: {children?: React.ReactNode}) { const nonce = useNonce(); const data = useRouteLoaderData<RootLoader>('root'); return ( <html lang="en"> ... ); }
-
-
Updated dependencies [
92b3d0c4
]:- @shopify/mini-oxygen@3.2.0
skeleton@2025.1.5
Patch Changes
- Fixed an issue with the creation of JavaScript projects. (#2818) by @seanparsons
skeleton@2025.1.4
Patch Changes
- Updates the
@shopify/cli
,@shopify/cli-kit
and@shopify/plugin-cloudflare
dependencies to 3.77.1. (#2816) by @seanparsons
@shopify/create-hydrogen@5.0.20
Patch Changes
- Fixed an issue with the creation of JavaScript projects. (#2818) by @seanparsons
@shopify/create-hydrogen@5.0.19
Patch Changes
- Updates the
@shopify/cli
,@shopify/cli-kit
and@shopify/plugin-cloudflare
dependencies to 3.77.1. (#2816) by @seanparsons
@shopify/cli-hydrogen@9.0.11
Patch Changes
- Fixed an issue with the creation of JavaScript projects. (#2818) by @seanparsons
@shopify/cli-hydrogen@9.0.10
Patch Changes
- Updates the
@shopify/cli
,@shopify/cli-kit
and@shopify/plugin-cloudflare
dependencies to 3.77.1. (#2816) by @seanparsons