·
105 commits
to main
since this release
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
to3.77.0
. (#2810) by @seanparsons -
Support for the Remix future flag
v3_routeConfig
. (#2722) by @seanparsonsPlease refer to the Remix documentation for more details on
v3_routeConfig
future flag: https://remix.run/docs/en/main/start/future-flags#v3_routeconfig-
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",
-
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;
-
Update your
vite.config.ts
.export default defineConfig({ plugins: [ hydrogen(), oxygen(), remix({ - presets: [hydrogen.preset()], + presets: [hydrogen.v3preset()],
-
-
Updated dependencies [
0425e50d
,74ef1ba7
]:- @shopify/[email protected]
- @Shopify/hydrogen@2025.1.3