Releases: Shopify/hydrogen
@shopify/hydrogen-react@2023.4.4
Patch Changes
-
A default
https://
protocol is now added automatically tostoreDomain
if missing. (#985) by @frandiox -
Add support for
mock.shop
as astoreDomain
. (#986) by @frandiox -
Fix
flattenConnection()
's TypeScript types when working withedges.node
(#945) by @frehner -
Make
storefrontApiVersion
parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. (#984) by @frandiox -
Fix the
<CartProvider>
to by default pull localization from<ShopifyProvider>
. You can still override the countryCode by passing a prop directly to<CartProvider>
. Resovles #622 (#980) by @blittle -
Fix
<ModelViewer>
to properly set className (#966) by @blittle
@shopify/hydrogen-codegen@0.0.2
Patch Changes
-
Merge equal fragment interfaces in one to avoid adding
| {}
to the Metaobject types. (#978) by @frandiox -
The preset now accepts options to modify the default behavior. (#970) by @frandiox
type HydrogenPresetConfig = { namespacedImportName?: string; importTypesFrom?: string; importTypes?: boolean; skipTypenameInOperations?: boolean; interfaceExtension?: (options) => string; };
@shopify/create-hydrogen@4.1.3
@shopify/cli-hydrogen@5.0.0
Patch Changes
-
Remove
--codegen-unstable
flag from scripts when transpiling projects from TypeScript to JavaScript. (#937) by @frandiox -
Allow disabling sourcemaps with
shopify hydrogen build --no-sourcemap
(#975) by @blittle -
Allow the CLI route generate to work in non-oxygen deploys (#976) by @blittle
-
Hidden flag removed from new CLI commands (#995) by @graygilmore
You can now link your local Hydrogen storefront to a storefront you have created in the Shopify admin. This allows you to pull your environment variables into your local environment or have them be automatically injected into your runtime when you run
dev
. -
Updated dependencies [
7b4afea2
,32515232
,7d6a1a7c
,442f602a
,be912b2f
,b9ab8eb7
,d3817b9c
,93a7c3c6
,6b8537ba
]:- @shopify/hydrogen-react@2023.4.4
- @shopify/remix-oxygen@1.1.0
- @shopify/hydrogen-codegen@0.0.2
demo-store@1.0.2
Patch Changes
-
Updated dependencies [
7aaa4e86
]:- @shopify/cli-hydrogen@4.2.1
- @Shopify/hydrogen@2023.4.3
- @shopify/remix-oxygen@1.0.7