v0.8.0
Hydrogen v0.8.0 makes some minor updates and adds compatibility for Vite v2.7.
Upgrade instructions
yarn add @shopify/hydrogen(ornpm install @shopify/hydrogen) to update to the latest versionyarn add -D viteyarn dev --forceduring your next development server to clear cache
Removal of react-query
Hydrogen no longer uses react-query to power Suspense data fetching on the server. However, there should be no breaking changes as useQuery and useShopQuery are still offered.
If you previously depended upon react-query in the server or the client of your app, you will need to install react-query manually.
What's Changed
- Remove react-query by @wizardlyhel in Shopify/hydrogen#305
- fix: export CartLineSelectedOptions by @jplhomer in Shopify/hydrogen#325
- Fix framework suspense by @calirvine in Shopify/hydrogen#311
- chore: skip flaky test for productivity reasons by @jplhomer in Shopify/hydrogen#333
- fix: lowercase index page name by @jplhomer in Shopify/hydrogen#334
- Vite 2.7 compatibility by @jplhomer in Shopify/hydrogen#236
- feat: Generate component overview tables in shopify-dev docs by @cartogram in Shopify/hydrogen#327
New Contributors
- @calirvine made their first contribution in Shopify/hydrogen#311
Full Changelog: Shopify/hydrogen@v0.7.1...v0.8.0