Skip to content

Releases: Shopify/hydrogen

@shopify/create-hydrogen@4.3.9

08 May 17:01
5b280cc
Compare
Choose a tag to compare

Patch Changes

  • Add JSdoc to getSelectedProductOptions utility and cleanup the skeleton implementation (#2089) by @juanpprieto

  • Updated dependencies [286589ee, 2c11ca3b]:

    • @shopify/cli-hydrogen@8.0.4

@shopify/cli-hydrogen@8.0.4

08 May 17:01
5b280cc
Compare
Choose a tag to compare

Patch Changes

skeleton@1.0.9

30 Apr 07:46
25bcb17
Compare
Choose a tag to compare

Patch Changes

  • Pin React dependency to 18.2.0 to avoid mismatches. (#2051) by @frandiox

  • Updated dependencies [9c36c8a5]:

    • @shopify/cli-hydrogen@8.0.2

skeleton@1.0.10

30 Apr 15:58
b1be1fa
Compare
Choose a tag to compare

Patch Changes

  • Update @shopify/cli dependency to avoid React version mismatches in your project: (#2059) by @frandiox

      "dependencies": {
        ...
    -   "@shopify/cli": "3.58.0",
    +   "@shopify/cli": "3.59.2",
        ...
      }
  • Updated dependencies [d2bc720b]:

    • @shopify/cli-hydrogen@8.0.3

@shopify/create-hydrogen@4.3.8

30 Apr 15:58
b1be1fa
Compare
Choose a tag to compare

Patch Changes

  • Update internal @shopify/cli-kit dependency to fix React version mismatches. (#2059) by @frandiox

  • Updated dependencies [d2bc720b]:

    • @shopify/cli-hydrogen@8.0.3

@shopify/create-hydrogen@4.3.7

30 Apr 07:46
25bcb17
Compare
Choose a tag to compare

Patch Changes

  • Pin React dependency to 18.2.0 to avoid mismatches. (#2051) by @frandiox

  • Updated dependencies [9c36c8a5]:

    • @shopify/cli-hydrogen@8.0.2

@shopify/cli-hydrogen@8.0.3

30 Apr 15:58
b1be1fa
Compare
Choose a tag to compare

Patch Changes

  • Update internal @shopify/cli-kit dependency to fix React version mismatches. (#2059) by @frandiox

@shopify/cli-hydrogen@8.0.2

30 Apr 07:46
25bcb17
Compare
Choose a tag to compare

Patch Changes

  • Pin React dependency to 18.2.0 to avoid mismatches. (#2051) by @frandiox

skeleton@1.0.8

23 Apr 19:37
ad0c5e3
Compare
Choose a tag to compare

Patch Changes

  • Stop inlining the favicon in base64 to avoid issues with the Content-Security-Policy. In vite.config.js: (#2006) by @frandiox

    export default defineConfig({
      plugins: [
        ...
      ],
    + build: {
    +   assetsInlineLimit: 0,
    + },
    });
  • To improve HMR in Vite, move the useRootLoaderData function from app/root.tsx to a separate file like app/lib/root-data.ts. This change avoids circular imports: (#2014) by @frandiox

    // app/lib/root-data.ts
    import {useMatches} from '@remix-run/react';
    import type {SerializeFrom} from '@shopify/remix-oxygen';
    import type {loader} from '~/root';
    
    /**
     * Access the result of the root loader from a React component.
     */
    export const useRootLoaderData = () => {
      const [root] = useMatches();
      return root?.data as SerializeFrom<typeof loader>;
    };

    Import this hook from ~/lib/root-data instead of ~/root in your components.

  • Updated dependencies [b4dfda32, ffa57bdb, ac4e1670, 0af624d5, 9723eaf3, e842f68c]:

@shopify/mini-oxygen@3.0.1

23 Apr 19:37
ad0c5e3
Compare
Choose a tag to compare

Patch Changes

  • Fixed compatibility with Node 21. (#2003) by @frandiox

  • Fix an SSR HMR issue related to hanging promises during development. (#2019) by @frandiox