Skip to content

Releases: Shopify/hydrogen

@shopify/hydrogen@2023.4.6

26 Jun 02:43
1d8f851
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [b8f41ad7]:
    • @shopify/hydrogen-react@2023.4.5

@shopify/hydrogen-react@2023.4.5

26 Jun 02:43
1d8f851
Compare
Choose a tag to compare

Patch Changes

@shopify/cli-hydrogen@5.0.2

26 Jun 02:43
1d8f851
Compare
Choose a tag to compare

Patch Changes

  • Add more context on MiniOxygen local dev server startup (#1005) by @gfscott

  • Fix --sourcemap flag for build command. (#1032) by @frandiox

  • Fix dev --codegen-unstable flag, which was removed by mistake in the previous release. (#1018) by @frandiox

  • Updated dependencies [b8f41ad7]:

    • @shopify/hydrogen-react@2023.4.5

demo-store@1.0.4

15 Jun 17:40
52ade9e
Compare
Choose a tag to compare

Patch Changes

  • Update Remix to the latest version (1.17.1). (#852) by @frandiox

    When updating your app, remember to also update your Remix dependencies to 1.17.1 in your package.json file:

    -"@remix-run/react": "1.15.0",
    +"@remix-run/react": "1.17.1",
    
    -"@remix-run/dev": "1.15.0",
    -"@remix-run/eslint-config": "1.15.0",
    +"@remix-run/dev": "1.17.1",
    +"@remix-run/eslint-config": "1.17.1",
  • Updated dependencies [f29e178a]:

@shopify/remix-oxygen@1.1.1

15 Jun 17:39
52ade9e
Compare
Choose a tag to compare

Patch Changes

  • Update Remix to the latest version (1.17.1). (#852) by @frandiox

    When updating your app, remember to also update your Remix dependencies to 1.17.1 in your package.json file:

    -"@remix-run/react": "1.15.0",
    +"@remix-run/react": "1.17.1",
    
    -"@remix-run/dev": "1.15.0",
    -"@remix-run/eslint-config": "1.15.0",
    +"@remix-run/dev": "1.17.1",
    +"@remix-run/eslint-config": "1.17.1",

@shopify/hydrogen@2023.4.5

15 Jun 17:39
52ade9e
Compare
Choose a tag to compare

Patch Changes

  • Update Remix to the latest version (1.17.1). (#852) by @frandiox

    When updating your app, remember to also update your Remix dependencies to 1.17.1 in your package.json file:

    -"@remix-run/react": "1.15.0",
    +"@remix-run/react": "1.17.1",
    
    -"@remix-run/dev": "1.15.0",
    -"@remix-run/eslint-config": "1.15.0",
    +"@remix-run/dev": "1.17.1",
    +"@remix-run/eslint-config": "1.17.1",

@shopify/cli-hydrogen@5.0.1

15 Jun 17:39
52ade9e
Compare
Choose a tag to compare

Patch Changes

  • Update Remix to the latest version (1.17.1). (#852) by @frandiox

    When updating your app, remember to also update your Remix dependencies to 1.17.1 in your package.json file:

    -"@remix-run/react": "1.15.0",
    +"@remix-run/react": "1.17.1",
    
    -"@remix-run/dev": "1.15.0",
    -"@remix-run/eslint-config": "1.15.0",
    +"@remix-run/dev": "1.17.1",
    +"@remix-run/eslint-config": "1.17.1",
  • Updated dependencies [f29e178a]:

    • @shopify/remix-oxygen@1.1.1

demo-store@1.0.3

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

Patch Changes

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

  • Start using GraphQL code generation. This allows us to have full-stack type-safety and better developer experience. (#937) by @frandiox

    As a result of the above, we've fixed issues where the frontend was accessing data that was not correctly fetched from the Storefront API. For example, missing product.vendor or accessing totalPrice instead of totalPriceV2.

    To enable the unstable codegen feature in your project, run your dev command as shopify hydrogen dev --codegen-unstable. See the changes associated here for examples.

  • Update the demostore to not cache the customer query. This is important to update in your app if you copied the logic from the demo store. (#950) by @blittle

  • Remove wrong cache control headers from route. Demo store is setting cache-control header when it is not suppose to. The demo store server renders cart information. Cart information is consider personalized content and should never be cached in any way. (#991) by @wizardlyhel

    Route ($locale).api.countries.tsx can have cache control header because it is an API endpoint that doesn't render the cart.

  • Make storefrontApiVersion parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. (#984) by @frandiox

  • Updated dependencies [b2195520, 4c5cdfd6, 7b4afea2, 42683d0a, 7d6a1a7c, 808ceb51, 442f602a, be912b2f, 8ccf6dbe, 428c78dc, 93a7c3c6, 5124d618]:

@shopify/remix-oxygen@1.1.0

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

Minor Changes

@shopify/hydrogen@2023.4.4

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

Patch Changes

  • Fix redirects to respond with a 301 (#946) by @blittle

  • A default https:// protocol is now added automatically to storeDomain if missing. (#985) 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

  • Skip reading and writing cache in sub-requests when the strategy is CacheNone. (#964) by @frandiox

  • Fix <ModelViewer> to properly set className (#966) by @blittle

  • Add a /admin route that redirects to the Shopify admin. This redirect can be disabled by passing noAdminRedirect: true to storefrontRedirect: (#989) by @blittle

    storefrontRedirect({
      redirect,
      response,
      storefront,
      noAdminRedirect: true,
    });
  • Updated dependencies [7b4afea2, 32515232, 7d6a1a7c, 442f602a, b9ab8eb7, 93a7c3c6]:

    • @shopify/hydrogen-react@2023.4.4