Skip to content
Compare
Choose a tag to compare
@shopify-github-actions-access shopify-github-actions-access released this 27 Mar 17:50
· 105 commits to main since this release
1bf1e33

Patch Changes

  • Bump Remix to 2.16.1 and vite to 6.2.0 (#2784) by @wizardlyhel

  • Update skeleton and create-hydrogen cli to 3.75.4 (#2769) by @juanpprieto

  • Fixing typescript compile (#2787) by @balazsbajorics

    In tsconfig.json:

         "types": [
           "@shopify/oxygen-workers-types",
    -      "@remix-run/node",
    +      "@remix-run/server-runtime",
           "vite/client"
         ],
  • Updates @shopify/cli-kit, @shopify/cli and @shopify/plugin-cloudflare to 3.77.0. (#2810) by @seanparsons

  • Support for the Remix future flag v3_routeConfig. (#2722) by @seanparsons

    Please refer to the Remix documentation for more details on v3_routeConfig future flag: https://remix.run/docs/en/main/start/future-flags#v3_routeconfig

    1. Add the following npm package dev dependencies:

        "devDependencies": {
          "@remix-run/dev": "^2.16.1",
      +    "@remix-run/fs-routes": "^2.16.1",
      +    "@remix-run/route-config": "^2.16.1",
    2. Create a routes.ts file.

      import { flatRoutes } from "@remix-run/fs-routes";
      import { type RouteConfig } from "@remix-run/route-config";
      import { hydrogenRoutes } from "@shopify/hydrogen";
      
      export default hydrogenRoutes([
        ...(await flatRoutes()),
        // Manual route definitions can be added to this array, in addition to or instead of using the `flatRoutes` file-based routing convention.
        // See https://remix.run/docs/en/main/guides/routing for more details
      ]) satisfies RouteConfig;
    3. Update your vite.config.ts.

      export default defineConfig({
        plugins: [
          hydrogen(),
          oxygen(),
          remix({
      -      presets: [hydrogen.preset()],
      +      presets: [hydrogen.v3preset()],
  • Updated dependencies [0425e50d, 74ef1ba7]: