Skip to content

Releases: Shopify/hydrogen

@shopify/cli-hydrogen@5.1.2

09 Aug 20:20
f6897dc
Compare
Choose a tag to compare

Patch Changes

  • Update @shopify/oxygen-workers-types dependencies (#1208) by @juanpprieto

  • Updated dependencies [21eb9dac, d80c4ada]:

    • @shopify/remix-oxygen@1.1.3
    • @shopify/hydrogen-react@2023.7.1

demo-store@2.0.1

01 Aug 20:43
225e699
Compare
Choose a tag to compare

Patch Changes

  • Update to Remix v1.19.1. (#1172) by @frandiox

    See changes for 1.18 and 1.19.

  • It's recommended to update @shopify/cli: (#1172) by @frandiox

    -"@shopify/cli": "3.47.5"
    +"@shopify/cli": "3.48.0"

    Also, for projects using Remix v1 Error Boundary convention, remove the deprecated ErrorBoundaryComponent type (or update to the v2 convention):

    -export const ErrorBoundary: ErrorBoundaryComponent = ({error}) => {
    +export const ErrorBoundary = ({error}: {error: Error}) => {
  • Updated dependencies [b7a8ecf6, ef809228, 1015f170, 076bab7d]:

@shopify/remix-oxygen@1.1.2

01 Aug 20:43
225e699
Compare
Choose a tag to compare

Patch Changes

@shopify/hydrogen@2023.7.1

01 Aug 20:43
225e699
Compare
Choose a tag to compare

Patch Changes

@shopify/cli-hydrogen@5.1.1

01 Aug 20:43
225e699
Compare
Choose a tag to compare

Patch Changes

  • Update to Remix v1.19.1. (#1172) by @frandiox

    See changes for 1.18 and 1.19.

  • Fix the starter template cart aside to cover everything on larger pages (#1163) by @QuentinGibson

  • Skip Oxygen requirement checks of remix.config.js when @shopify/remix-oxygen is not installed. (#1137) by @frandiox

  • Warn in development when Remix packages are out of sync. (#1173) by @frandiox

  • Updated dependencies [b7a8ecf6]:

    • @shopify/remix-oxygen@1.1.2

demo-store@2.0.0

25 Jul 21:25
a01e586
Compare
Choose a tag to compare

Major Changes

  • Add .env file to Remix watcher to allow reloading environment variables on file save. In remix.config.js: (#997) by @frandiox

    -watchPaths: ['./public'],
    +watchPaths: ['./public', './.env'],

Patch Changes

@shopify/hydrogen@2023.7.0

25 Jul 21:25
a01e586
Compare
Choose a tag to compare

What’s new

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

The latest version of Hydrogen comes with new and updated components and utilities that can help you speed up your build:

  • An updated server-side Cart component with built-in abstractions to handle most common cart operations, including adding, updating, or deleting line items, applying discounts, and more.
  • A drop-in <Pagination/> component to make it easier to handle large product collections.
  • A new <VariantSelector/> component that makes it faster to build progressively enhanced product forms.
  • Improved support for predictive search and local pickup options through Storefront API version 2023-07.

Breaking Changes

  • createWithCache is now stable. All imports need to be updated: (#1151) by @blittle

    - import {createWithCache_unstable} from '@shopify/hydrogen';
    + import {createWithCache} from '@shopify/hydrogen';
  • Pagination and getPaginationVariables are now stable. (#1129) by @blittle

    All imports to each should be updated:

    - import {Pagiatinon__unstable, getPaginationVariables__unstable} from '@shopify/hydrogen';
    + import {Pagiatinon, getPaginationVariables} from '@shopify/hydrogen';

Patch Changes

Add a <VariantSelector> component to make building product forms easier. Also added the getSelectedProductOptions helper function. See the guide on using the VariantSelector. (#1027) by @blittle

@shopify/hydrogen-react@2023.7.0

25 Jul 21:25
a01e586
Compare
Choose a tag to compare

What’s new

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

This major release includes support for the 2023-07 version of the Storefront API. This version doesn't include any breaking changes, but adds support for predictive search and local pickup options.

Patch Changes

@shopify/create-hydrogen@4.2.0

25 Jul 21:25
a01e586
Compare
Choose a tag to compare

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

@shopify/cli-hydrogen@5.1.0

25 Jul 21:25
a01e586
Compare
Choose a tag to compare

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 reworked. (#913) by @frandiox

  • Add login and logout commands. Rework how other commands interact with auth. (#1022) by @frandiox

  • Reload environment variables in the development server when .env file is updated. Show injected variables when project is not linked to any storefront. (#997) by @frandiox

  • Support creating new storefronts from the link command. (#1022) by @frandiox

Patch Changes