@shopify/cli-hydrogen@4.1.0
版本发布时间: 2023-04-17 21:33:53
Shopify/hydrogen最新发布版本:@shopify/mini-oxygen@3.0.6(2024-10-02 11:24:35)
Minor Changes
-
Updated CLI prompts. It's recommended to update your version of
@shopify/cli
to3.45.0
when updating@shopify/cli-hydrogen
. (#733) by @frandiox"dependencies": { - "@shopify/cli": "3.x.x", + "@shopify/cli": "3.45.0", }
-
Added a new
shortcut
command that creates a globalh2
alias for the Hydrogen CLI: (#679) by @frandiox$> npx shopify hydrogen shortcut
After that, you can run commands using the new alias:
$> h2 generate route home $> h2 g r home # Same as the above $> h2 check routes
Patch Changes
-
Add support for the Remix future flags
v2_meta
,v2_errorBoundary
andv2_routeConvention
to thegenerate
command. If these flags are enabled in your project, the new generated files will follow the v2 conventions. (#756) by @frandiox -
Update virtual route to use Remix V2 route name conventions (#792) by @DavidWittness
-
Bump internal Remix dependencies to 1.15.0. (#728) by @wizardlyhel
Recommendations to follow:
- Upgrade all the Remix packages in your app to 1.15.0.
- Enable Remix v2 future flags at your earliest convenience following the official guide.
-
Improve type safety in SEO data generators. (#763) by @davidhousedev
-
Updated dependencies [
85ae63a
,5e26503
,1f8526c
]:- @shopify/hydrogen-react@2023.1.8
- @shopify/remix-oxygen@1.0.5