- Bump cli packages version (#2592) by @wizardlyhel
- Update starter template with latest Hydrogen version. (#2580) by @scottdixon
- Update starter template with latest Hydrogen version. (#2541) by @scottdixon
- Update starter template with latest Hydrogen version. (#2535) by @scottdixon
-
Update Shopify CLI and cli-kit dependencies to 3.66.1 (#2512) by @frandiox
-
createCartHandler supplies updateGiftCardCodes method (#2298) by @wizardlyhel
-
Fix menu links in side panel not working on mobile devices (#2450) by @wizardlyhel
// /app/components/Header.tsx export function HeaderMenu({ menu, primaryDomainUrl, viewport, publicStoreDomain, }: { menu: HeaderProps['header']['menu']; primaryDomainUrl: HeaderProps['header']['shop']['primaryDomain']['url']; viewport: Viewport; publicStoreDomain: HeaderProps['publicStoreDomain']; }) { const className = `header-menu-${viewport}`; + const {close} = useAside(); - function closeAside(event: React.MouseEvent<HTMLAnchorElement>) { - if (viewport === 'mobile') { - event.preventDefault(); - window.location.href = event.currentTarget.href; - } - } return ( <nav className={className} role="navigation"> {viewport === 'mobile' && ( <NavLink end - onClick={closeAside} + onClick={close} prefetch="intent" style={activeLinkStyle} to="/" > Home </NavLink> )} {(menu || FALLBACK_HEADER_MENU).items.map((item) => { if (!item.url) return null; // if the url is internal, we strip the domain const url = item.url.includes('myshopify.com') || item.url.includes(publicStoreDomain) || item.url.includes(primaryDomainUrl) ? new URL(item.url).pathname : item.url; return ( <NavLink className="header-menu-item" end key={item.id} - onClick={closeAside} + onClick={close} prefetch="intent" style={activeLinkStyle} to={url} > {item.title} </NavLink> ); })} </nav> ); }
-
Add a hydration check for google web cache. This prevents an infinite redirect when viewing the cached version of a hydrogen site on Google. (#2334) by @blittle
Update your entry.server.jsx file to include this check:
+ if (!window.location.origin.includes("webcache.googleusercontent.com")) { startTransition(() => { hydrateRoot( document, <StrictMode> <RemixBrowser /> </StrictMode> ); }); + }
- Fix auth flow. (#2331) by @graygilmore
-
Updated dependencies [
32d4c33e
,27e51abf
,7b838beb
,ca4cf045
,5a554b2e
,5d6465b3
,608389d6
,65239c76
]:- @shopify/[email protected]
-
Add JSdoc to
getSelectedProductOptions
utility and cleanup the skeleton implementation (#2089) by @juanpprieto -
Updated dependencies [
286589ee
,2c11ca3b
]:- @shopify/[email protected]
-
Update internal
@shopify/cli-kit
dependency to fix React version mismatches. (#2059) by @frandiox -
Updated dependencies [
d2bc720b
]:- @shopify/[email protected]
-
Pin React dependency to 18.2.0 to avoid mismatches. (#2051) by @frandiox
-
Updated dependencies [
9c36c8a5
]:- @shopify/[email protected]
-
Add
--quickstart
flag option to init/create command. (#1822) by @gfscott -
Updated dependencies [
4eaec272
,646b78d4
,5f1295fe
,11879b17
,788d86b3
,da95bb1c
,5bb43304
,140e4768
,b3323e59
,ab0df5a5
,ebaf5529
,a5511cd7
,34fbae23
,e3baaba5
,99d72f7a
,9351f9f5
]:- @shopify/[email protected]
-
-
Update example and template Remix versions to
^2.5.1
(#1639) by @wizardlyhel -
Enable Remix future flags:
-
-
Updated dependencies [
8c477cb5
,42ac4138
,0241b7d2
,6a897586
,0ff63bed
,6bc1d61c
,eb0f4bcc
,335375a6
,3e7b6e8a
,9e3d88d4
,92840e51
,1bc053c9
]:- @shopify/[email protected]
-
Updated dependencies [
b2a350a7
,2be9ce82
,bca112ed
,848c6260
,d53b4ed7
,961fd8c6
,2bff9fc7
,8fce70de
,f90e4d47
]:- @shopify/[email protected]
-
Fix Shopify login during the init flow where the process would just exit when awaiting for a keypress. (#1481) by @frandiox
-
Updated dependencies [
f8626c8a
]:- @shopify/[email protected]
- Updated dependencies [
3464ec04
,ad45656c
]:- @shopify/[email protected]
-
Fix template dist package due to CI error (#1451) by @wizardlyhel
-
Updated dependencies [
3eb376fe
]:- @shopify/[email protected]
- Generated JavaScript projects now use Codegen and JSDoc to enhance editor autocompletion. (#1334) by @frandiox
-
Fix the starter template blog route to include a required
startCursor
in the GraphQL query. (#1441) by @blittle -
Updated dependencies [
e992de2c
,f6469d11
,b81b452d
]:- @shopify/[email protected]
-
Add check to render collection images when available (#1373) by @juanpprieto
-
Updated dependencies [
e148cfca
,06da5570
,425791ce
]:- @shopify/[email protected]
-
Add magic cart and discount routes to skeleton template (#1309) by @juanpprieto
-
Filter out
fbclid
from the URL params on the product detail page (#1353) by @blittle -
Fix
--routes
and--markets
flag when creating new projects. (#1342) by @frandiox -
Improved types of
HydrogenSession
when accessingsession.get('customerAccessToken')
. (#1341) by @frandiox -
Updated dependencies [
33ae6ab6
,d8dc1acf
,e62a4db1
,305862ff
,33258210
,be4994fe
,e62a4db1
,384a4267
,113821e5
]:- @shopify/[email protected]
-
(Unstable) server-side network request debug virtual route (#1284) by @wizardlyhel
-
Update your
server.ts
so that it also passes in thewaitUntil
andenv
.const handleRequest = createRequestHandler({ build: remixBuild, mode: process.env.NODE_ENV, + getLoadContext: () => ({session, storefront, env, waitUntil}), });
If you are using typescript, make sure to update
remix.env.d.ts
declare module '@shopify/remix-oxygen' { export interface AppLoadContext { + env: Env; cart: HydrogenCart; storefront: Storefront; session: HydrogenSession; + waitUntil: ExecutionContext['waitUntil']; } }
-
Run
npm run dev
and you should see terminal log information about a new virtual route that you can view server-side network requests at http://localhost:3000/debug-network -
Open http://localhost:3000/debug-network in a tab and your app another tab. When you navigate around your app, you should see server network requests being logged in the debug-network tab
-
-
Updated dependencies [
291115da
,71a07374
]:- @shopify/[email protected]
-
Add functionality for creating a Content Security Policy. See the guide on Content Security Policies for more details. (#1235) by @blittle
-
Updated dependencies [
3491fd5c
,06516ee9
,d67ce6aa
,ee6e2920
,1a7762bc
,1f8acd7b
]:- @shopify/[email protected]
-
Add default exported route to enable the error to be caught in the root.tsx ErrorBoundary (#1215) by @josh-sanger
-
Add shouldRevalidate export to limit root loaders revalidation on mutations only (#1237) by @juanpprieto
-
Removed quantityAvailable field from skeleton PDP graphql query so that it works with default Storefront API permissions. (#1236) by @abecciu
-
Updated dependencies [
a06b5093
,d053978d
,9fcfc500
,ec21cfd6
,867866d1
,bdac4c22
,46d5f8ff
,632a7a38
,e536ae04
]:- @shopify/[email protected]
-
Update @shopify/oxygen-workers-types dependencies (#1208) by @juanpprieto
-
Update create-hydrogen cli dependency (#1208) by @juanpprieto
-
Updated dependencies [
21eb9dac
]:- @shopify/[email protected]
⭐️ 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.
- Updated dependencies [
2a036d72
,667ea4fb
,ed9782bc
,11ab64a8
,00f3e592
,5530d987
,63d17266
,5530d987
]:- @shopify/[email protected]
- Updated dependencies [
b2195520
,42683d0a
,808ceb51
,428c78dc
]:- @shopify/[email protected]
-
Updated dependencies [
7aaa4e86
]:- @shopify/[email protected]
- Updated dependencies [
2039a4a
]:- @shopify/[email protected]
-
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", }
- Updated dependencies [
e6e6c2d
,475a39c
,1f8526c
,0f4d562
,2d4c5d9
,68a6028
]:- @shopify/[email protected]
-
Fix register and login issues in the demostore (#659) by @blittle
-
Adding decoding prop to the SpreadMedia component (#642) by @rafaelstz
-
- Added a route to the Demo store that demonstrates redirecting an order status url back to the online store primary domain. (#540) by @johncraigcole
-
Stop hydrating with
requestIdleCallback
(#667) by @juanpprieto -
Updated dependencies [
bceddb4
,09259cf
,4443a2b
,3344b79
,d8821f8
,a841303
]:- @shopify/[email protected]
-
Fix CLI flags for init command, and add
--install-deps
. (#516) by @frandiox -
Fix pathnames on Windows when running the development server. (#520) by @frandiox
-
Updated dependencies [
061d1e1
,9ada30f
,d94488b
,ce04cd7
,beae9cb
,5634902
,257ce6d
]:- @shopify/[email protected]
-
Fix pathnames in Windows when creating projects and generating routes. (#495) by @frandiox
-
Updated dependencies [
b38506f
]:- @shopify/[email protected]
-
Add license files and readmes for all packages (#463) by @blittle
-
Updated dependencies [
517f0f7
]:- @shopify/[email protected]
- Initial release