Skip to content

Latest commit

 

History

History
304 lines (178 loc) · 20.9 KB

CHANGELOG.md

File metadata and controls

304 lines (178 loc) · 20.9 KB

@shopify/create-hydrogen

4.3.9

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

4.3.8

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

4.3.7

Patch Changes

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

  • Updated dependencies [9c36c8a5]:

    • @shopify/cli-hydrogen@8.0.2

4.3.6

Patch Changes

4.3.5

Patch Changes

4.3.4

Patch Changes

4.3.3

Patch Changes

  • Fix Shopify login during the init flow where the process would just exit when awaiting for a keypress. (#1481) by @frandiox

  • Updated dependencies [f8626c8a]:

    • @shopify/cli-hydrogen@6.0.1

4.3.2

Patch Changes

4.3.1

Patch Changes

  • Fix template dist package due to CI error (#1451) by @wizardlyhel

  • Updated dependencies [3eb376fe]:

    • @shopify/cli-hydrogen@5.5.1

4.3.0

Minor Changes

  • Generated JavaScript projects now use Codegen and JSDoc to enhance editor autocompletion. (#1334) by @frandiox

Patch Changes

  • Fix the starter template blog route to include a required startCursor in the GraphQL query. (#1441) by @blittle

  • Updated dependencies [e992de2c, f6469d11, b81b452d]:

    • @shopify/cli-hydrogen@5.5.0

4.2.6

Patch Changes

4.2.5

Patch Changes

4.2.4

Patch Changes

  • (Unstable) server-side network request debug virtual route (#1284) by @wizardlyhel

    1. Update your server.ts so that it also passes in the waitUntil and env.

        const handleRequest = createRequestHandler({
          build: remixBuild,
          mode: process.env.NODE_ENV,
      +    getLoadContext: () => ({session, storefront, env, waitUntil}),
        });

      If you are using typescript, make sure to update remix.env.d.ts

        declare module '@shopify/remix-oxygen' {
          export interface AppLoadContext {
      +     env: Env;
            cart: HydrogenCart;
            storefront: Storefront;
            session: HydrogenSession;
      +      waitUntil: ExecutionContext['waitUntil'];
          }
        }
    2. Run npm run dev and you should see terminal log information about a new virtual route that you can view server-side network requests at http://localhost:3000/debug-network

    3. Open http://localhost:3000/debug-network in a tab and your app another tab. When you navigate around your app, you should see server network requests being logged in the debug-network tab

  • Updated dependencies [291115da, 71a07374]:

    • @shopify/cli-hydrogen@5.2.3

4.2.3

Patch Changes

4.2.2

Patch Changes

4.2.1

Patch Changes

4.2.0

What’s new

⭐️ Check out our blog post with all the latest updates on Hydrogen, and what’s coming on the roadmap.

Shopify CLI now gives you more options when creating a new Hydrogen app on the command line:

  • Create a new Shopify storefront and connect it to the local project, or use Mock.shop.
  • Pick your styling method: Tailwind, CSS Modules, Vanilla Extract, PostCSS.
  • URL strategies to support language and currency options with Shopify Markets.
  • Automatically scaffold standard Shopify routes.

Minor Changes

  • The onboarding process when creating new Hydrogen apps has been updated. (#913) by @frandiox

Patch Changes

4.1.3

Patch Changes

4.1.2

Patch Changes

4.1.1

Patch Changes

  • Updated dependencies [2039a4a]:
    • @shopify/cli-hydrogen@4.1.1

4.1.0

Minor Changes

  • Updated CLI prompts. It's recommended to update your version of @shopify/cli to 3.45.0 when updating @shopify/cli-hydrogen. (#733) by @frandiox

    "dependencies": {
    -  "@shopify/cli": "3.x.x",
    +  "@shopify/cli": "3.45.0",
    }

Patch Changes

4.0.5

Patch Changes

4.0.4

Patch Changes

4.0.3

Patch Changes

  • Fix pathnames in Windows when creating projects and generating routes. (#495) by @frandiox

  • Updated dependencies [b38506f]:

    • @shopify/cli-hydrogen@4.0.4

4.0.2

Patch Changes

  • Add license files and readmes for all packages (#463) by @blittle

  • Updated dependencies [517f0f7]:

    • @shopify/cli-hydrogen@4.0.2

4.0.1

Patch Changes

  • Initial release