[ci] release v1.x-2022-07 #1465
Merged
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 v1.x-2022-07, this PR will be updated.
Releases
@shopify/[email protected]
Minor Changes
#1489
e2ee2d45Thanks @blittle! - In an effort to be performant by default, the preloaded queries are turned on by default when caching is also enabled. By default, each query has caching enabled too, sopreloadwill on universally by default.#1237
356e75f3Thanks @frehner! - Updated Cart queries in two ways, one of which requires you to be using Storefront API2022-07:CartLinenow usesCartLineEstimatedCost'stotalAmountfield for calculating the Line's total, instead of doing it manually.totalQuantityfor calculating how many items are in the cart, instead of doing this manually. Note that this feature is only available in Storefront API2022-07and newer.Patch Changes
#1473
a7f3b4bfThanks @frandiox! - Reduce CPU consumption when rendering React Server Components.#1453
84b9e6d3Thanks @jplhomer! - UpdatesetSelectedVarianttypes to allownullto be passed.#1484
990bfd8bThanks @wizardlyhel! - Fix ClientAnalytics losing subscriber object when passed as a param#1509
05081b01Thanks @jplhomer! - Fix<BuyNowButton>so it can be rendered without being nested in a<CartProvider>#1469
07d45290Thanks @frandiox! - Fix path resolution when using aliases in server components.#1471
5b4e08dfThanks @frandiox! - Added an experimental hookuseRequestContextthat provides server-only context for third party integrations.#1486
a31e007dThanks @frehner! - Fix<ProductOptionsProvider/>'ssetSelectedOptions()function to update theselectedVariantas well[email protected]