Closed shopify-github-actions-access[bot] closed 4 weeks ago
Oxygen deployed a preview of your changeset-release/main branch. Details: |
Storefront | Status | Preview link | Deployment details | Last update (UTC) |
---|---|---|---|---|---|
Skeleton (skeleton.hydrogen.shop) | ✅ Successful (Logs) | Preview deployment | Inspect deployment | October 29, 2024 4:57 PM | |
custom-cart-method | ✅ Successful (Logs) | Preview deployment | Inspect deployment | October 29, 2024 4:57 PM | |
classic-remix | ✅ Successful (Logs) | Preview deployment | Inspect deployment | October 29, 2024 4:57 PM | |
metaobjects | ✅ Successful (Logs) | Preview deployment | Inspect deployment | October 29, 2024 4:57 PM | |
third-party-queries-caching | ✅ Successful (Logs) | Preview deployment | Inspect deployment | October 29, 2024 4:57 PM |
Learn more about Hydrogen's GitHub integration.
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/cli-hydrogen@9.0.0
Minor Changes
Patch Changes
Add warnings to the Shopify CLI when your app uses reserved routes. These routes are reserved by Oxygen, and any local routes that conflict with them will not be used. (#2613) by @blittle
Updated dependencies [
a0f660aa
,29876f12
]:@shopify/mini-oxygen@3.1.0
Minor Changes
[Breaking change] by @wizardlyhel
Support worker compatibility date that aligns with SFAPI release.
Starting from this major version, on each deploy to Oxygen, Hydrogen will be on Cloudflare worker compatibility date
2024-10-01
. Onwards, Hydrogen will update worker compatibility date on every SFAPI release.There is no specific project update that needs to be done in order to get this feature. However, please ensure your project is working properly in an Oxygen deployment when updating to this Hydrogen version. (#2380)
@shopify/create-hydrogen@5.0.10
Patch Changes
@shopify/hydrogen@2024.10.0
Patch Changes
Add optional headers param for logout redirect (#2602) by @coryagami
Stabilize
getSitemap
,getSitemapIndex
and implement on skeleton (#2589) by @juanpprietogetSitemapIndex
at/app/routes/[sitemap.xml].tsx
getSitemap
at/app/routes/sitemap.$type.$page[.xml].tsx
For a reference implementation please see the skeleton template sitemap routes
Update
<ProductPrice>
to remove deprecated code usage forpriceV2
andcompareAtPriceV2
. Remove export forgetCustomerPrivacy
. (#2601) by @wizardlyhelBreaking change by @wizardlyhel
Set up Customer Privacy without the Shopify's cookie banner by default.
If you are using Shopify's cookie banner to handle user consent in your app, you need to set
withPrivacyBanner: true
to the consent config. Without this update, the Shopify cookie banner will not appear.Update to 2024-10 SFAPI (#2570) by @wizardlyhel
Breaking change by @frandiox
Update
createWithCache
to make it harder to accidentally cache undesired results.request
is now mandatory prop when initializingcreateWithCache
.createWithCache
now returns an object with two utility functions:withCache.run
andwithCache.fetch
. Both have a new propshouldCacheResult
that must be defined.The original
withCache
callback function is nowwithCache.run
. This is useful to run multiple fetch calls and merge their responses, or run any arbitrary code. It caches anything you return, but you can throw if you don't want to cache anything.New
withCache.fetch
is for caching simple fetch requests. This method caches the responses if they are OK responses, and you can passshouldCacheResponse
,cacheKey
, etc. to modify behavior.data
is the consumed body of the response (we need to consume to cache it).Breaking change by @wizardlyhel
Deprecate usages of
product.options.values
and useproduct.options.optionValues
instead.optionValues
field.<VariantSelector>
to use the newoptionValues
field.Add utility functions
decodeEncodedVariant
andisOptionValueCombinationInEncodedVariant
for parsingproduct.encodedVariantExistence
andproduct.encodedVariantAvailability
fields. (#2425) by @lhoffbeckBreaking change by @wizardlyhel
Update all cart mutation methods from
createCartHandler
to return cart warnings.As of API version 2024-10, inventory errors about stock levels will no longer be included in the
userErrors
of cart mutations. Inventory errors will now be available in a new return fieldwarnings
and will contain explicit code values ofMERCHANDISE_NOT_ENOUGH_STOCK
orMERCHANDISE_OUT_OF_STOCK
. Reference: https://shopify.dev/changelog/cart-warnings-in-storefront-api-cartUpdated dependencies [
8c89f298
,84a66b1e
,76cd4f9b
]:@shopify/hydrogen-codegen@0.3.2
Patch Changes
@shopify/hydrogen-react@2024.10.0
Patch Changes
Update
<ProductPrice>
to remove deprecated code usage forpriceV2
andcompareAtPriceV2
. Remove export forgetCustomerPrivacy
. (#2601) by @wizardlyhelUpdate to 2024-10 SFAPI (#2570) by @wizardlyhel
Add utility functions
decodeEncodedVariant
andisOptionValueCombinationInEncodedVariant
for parsingproduct.encodedVariantExistence
andproduct.encodedVariantAvailability
fields. (#2425) by @lhoffbeck@shopify/remix-oxygen@2.0.9
Patch Changes
skeleton@2024.10.0
Patch Changes
Stabilize
getSitemap
,getSitemapIndex
and implement on skeleton (#2589) by @juanpprietogetSitemapIndex
at/app/routes/[sitemap.xml].tsx
getSitemap
at/app/routes/sitemap.$type.$page[.xml].tsx
For a reference implementation please see the skeleton template sitemap routes
Breaking change by @wizardlyhel
Set up Customer Privacy without the Shopify's cookie banner by default.
If you are using Shopify's cookie banner to handle user consent in your app, you need to set
withPrivacyBanner: true
to the consent config. Without this update, the Shopify cookie banner will not appear.Update to 2024-10 SFAPI (#2570) by @wizardlyhel
Breaking change by @frandiox
Update
createWithCache
to make it harder to accidentally cache undesired results.request
is now mandatory prop when initializingcreateWithCache
.createWithCache
now returns an object with two utility functions:withCache.run
andwithCache.fetch
. Both have a new propshouldCacheResult
that must be defined.The original
withCache
callback function is nowwithCache.run
. This is useful to run multiple fetch calls and merge their responses, or run any arbitrary code. It caches anything you return, but you can throw if you don't want to cache anything.New
withCache.fetch
is for caching simple fetch requests. This method caches the responses if they are OK responses, and you can passshouldCacheResponse
,cacheKey
, etc. to modify behavior.data
is the consumed body of the response (we need to consume to cache it).Breaking change by @wizardlyhel
Deprecate usages of
product.options.values
and useproduct.options.optionValues
instead.optionValues
field.<VariantSelector>
to use the newoptionValues
field.Updated dependencies [
d97cd56e
,809c9f3d
,8c89f298
,a253ef97
,84a66b1e
,227035e7
,ac12293c
,c7c9f2eb
,76cd4f9b
,8337e534
]: