Releases: Shopify/hydrogen-v1
@shopify/[email protected]
Patch Changes
-
Update dependencies (#2552) by @dependabot
-
Make sure sub-requests that are 400 or 500 HTTP errors are not cached (#2554) by @blittle
@shopify/[email protected]
Patch Changes
-
Allow concatenating requests with a header. For example, if you want the route
/shop
to proxy render everything on/products
, setup an API route at/routes/shop.server.jsx
with the following: (#2536) by @blittleexport async function api(request) { return new Request(new URL(request.url).origin + '/products', { headers: { 'Hydrogen-Concatenate': 'true', }, }); }
@shopify/[email protected]
Patch Changes
- Log extra params in default error logger (#2533) by @juanpprieto
@shopify/[email protected]
@shopify/[email protected]
Minor Changes
- Updates default
powered-by
header output toShopify, Hydrogen
, and updates associateed documentation. (#2518) by @benjaminsehl
Patch Changes
-
Fix the
<CartProvider>
to by default pull localization from<ShopifyProvider>
. You can still override the countryCode by passing a prop directly to<CartProvider>
. Resolves Shopify/hydrogen#622 (#2521) by @blittle -
Fix an issue where cache doesn't properly match requests (#2530) by @blittle
@shopify/[email protected]
@shopify/[email protected]
@shopify/[email protected]
@shopify/[email protected]
Patch Changes
- Fix issues with cart analytics described in Shopify/hydrogen#2382 (#2388) by @lordofthecactus
@shopify/[email protected]
Patch Changes
-
Improve form props type for render function (#2352) by @ya-s-u
-
Fix an issue where non-string server prop values get in-properly parsed. Resolves Shopify/hydrogen#2365 (#2376) by @blittle
-
Fix streaming SSR with multibyte characters (#2351) by @ya-s-u
-
Use correct defaultCartFragment in CartProvider.client.tsx This resolves an error sending Add To Cart events to Shopify Analytics (#2332) by @mperreux