Skip to content

Releases: Shopify/hydrogen

@shopify/hydrogen-react@2023.4.4

12 Jun 19:31
2273c83
Compare
Choose a tag to compare

Patch Changes

  • A default https:// protocol is now added automatically to storeDomain if missing. (#985) by @frandiox

  • Add support for mock.shop as a storeDomain. (#986) by @frandiox

  • Fix flattenConnection()'s TypeScript types when working with edges.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

12 Jun 19:31
2273c83
Compare
Choose a tag to compare

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

12 Jun 19:31
2273c83
Compare
Choose a tag to compare

Patch Changes

@shopify/cli-hydrogen@5.0.0

12 Jun 19:31
2273c83
Compare
Choose a tag to compare

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

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes

@shopify/remix-oxygen@1.0.7

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes

@shopify/hydrogen@2023.4.3

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes

@shopify/hydrogen-react@2023.4.3

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes

@shopify/hydrogen-codegen@0.0.1

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes

@shopify/create-hydrogen@4.1.2

23 May 16:18
2443047
Compare
Choose a tag to compare

Patch Changes