Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@shopify/[email protected]
Minor Changes
Add the
upgrade
command to make it easier to upgrade from older versions of Hydrogen. Features: (#1458) by @juanpprieto/.shopify
directory, outlining any code changes required to complete the upgrade.dev
command with an outdated version.--version
flag and a version number to select a specific one.To get started, run
npx shopify hydrogen upgrade
in your Hydrogen project.The worker runtime for development is now stable. This makes your development environment closer to parity with Oxygen’s production runtime. Pass the
--worker
flag with thedev
orpreview
commands to enable it. This runtime will be enabled by default in the next major release. (#1525) by @frandioxAdd the
--debug
flag to thedev
command to enable step debugging in browser dev tools. (#1480) by @frandioxTo enable debugger connections for the Hydrogen app worker file, run
npx shopify hydrogen dev --debug --worker
, then open localhost:9229 in your browser.Patch Changes
Sync up environment variable names across all example & type files. (#1542) by @michenly
Serve assets from a separate domain when running the dev server, to better simulate cross-domain behaviors. This makes it more realistic to work with CORS requests, content security policies, and CDN paths in development. (#1503) by @frandiox
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
🐛 fix undefined menu error (#1533) by @michenly
Fix how peer dependencies are resolved. (#1489) by @frandiox
Update Shopify CLI versions. (#1504) by @vincentezw
Updated dependencies [
848c6260
,8fce70de
]:@shopify/[email protected]
Patch Changes
🐛 fix undefined menu error (#1533) by @michenly
Updated dependencies [
b2a350a7
,2be9ce82
,bca112ed
,848c6260
,d53b4ed7
,961fd8c6
,2bff9fc7
,8fce70de
,f90e4d47
]:@shopify/[email protected]
Patch Changes
Fix the Pagination component to always restore scroll correctly on back/forth navigation. (#1508) by @blittle
Serve assets from a separate domain when running the dev server, to better simulate cross-domain behaviors. This makes it more realistic to work with CORS requests, content security policies, and CDN paths in development. (#1503) by @frandiox
Export caching types to make creating custom clients easier in TypeScript. (#1507) by @juanpprieto
Update the return types of the Customer Account API query and mutation methods. Also update Customer Account API default version to 2024-01. (#1537) by @blittle
Fix how peer dependencies are resolved. (#1489) by @frandiox
Add default
channel
value ofhydrogen
to Hydrogen’sShopPayButton
component. (#1447) by @QuintonCUpdated dependencies [
848c6260
,62f67873
,e8cc49fe
]:@shopify/[email protected]
Patch Changes
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
Skip private access token warning when using mock.shop. (#1538) by @frandiox
Add an optional
channel
prop to theShopPayButton
component, which adds order attribution support for either the Headless or Hydrogen sales channel. (#1447) by @QuintonC@shopify/[email protected]
Patch Changes
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
Fix how peer dependencies are resolved. (#1489) by @frandiox
@shopify/[email protected]
Patch Changes
Change peer dependency of
@shopify/oxygen-workers-types
to allow for^4.0.0
versions. (#1494) by @frandioxFix how peer dependencies are resolved. (#1489) by @frandiox
[email protected]
Patch Changes
Sync up environment variable names across all example & type files. (#1542) by @michenly
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
Update the return types of the Customer Account API query and mutation methods. Also update Customer Account API default version to 2024-01. (#1537) by @blittle
Updated dependencies [
b2a350a7
,9b4f4534
,74ea1dba
,2be9ce82
,a9b8bcde
,bca112ed
,848c6260
,d53b4ed7
,961fd8c6
,2bff9fc7
,c8e8f6fd
,8fce70de
,f90e4d47
,e8cc49fe
]:[email protected]
Patch Changes
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
Updated dependencies [
b2a350a7
,9b4f4534
,74ea1dba
,2be9ce82
,a9b8bcde
,bca112ed
,848c6260
,d53b4ed7
,961fd8c6
,2bff9fc7
,c8e8f6fd
,8fce70de
,f90e4d47
,e8cc49fe
]:[email protected]
Patch Changes
Sync up environment variable names across all example & type files. (#1542) by @michenly
Remove error boundary from robots.txt file in the Skeleton template (#1492) by @andrewcohen
Use the worker runtime by default when running the
dev
orpreview
commands. (#1525) by @frandioxEnable it in your project by adding the
--worker
flag to your package.json scripts:Update to the latest version of
@shopify/oxygen-workers-types
. (#1494) by @frandioxIn TypeScript projects, when updating to the latest
@shopify/remix-oxygen
adapter release, you should also update to the latest version of@shopify/oxygen-workers-types
:Update internal dependencies for bug resolution. (#1496) by @vincentezw
Update your
@shopify/cli
dependency to avoid duplicated sub-dependencies:Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
🐛 fix undefined menu error (#1533) by @michenly
Add
@remix-run/server-runtime
dependency. (#1489) by @frandioxSince Remix is now a peer dependency of
@shopify/remix-oxygen
, you need to add@remix-run/server-runtime
to your dependencies, with the same version as the rest of your Remix dependencies."dependencies": { "@remix-run/react": "2.1.0" + "@remix-run/server-runtime": "2.1.0" ... }
Updated dependencies [
b2a350a7
,9b4f4534
,74ea1dba
,2be9ce82
,a9b8bcde
,bca112ed
,848c6260
,d53b4ed7
,961fd8c6
,2bff9fc7
,c8e8f6fd
,8fce70de
,f90e4d47
,e8cc49fe
]: