Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] release v1.x-2022-07 #1019

Merged
merged 1 commit into from
Apr 5, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 30, 2022

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

[email protected]

Minor Changes

  • #1028 ba174588 Thanks @michenly! - Starting from SF API version 2022-04, the preferred way to request translatable resources is using the @inContext directive. See the API docs on how to do this and which resources have translatable properties.

    This causes a breaking change to the useShopQuery hook. The locale property has been removed from the argument object; Accept-Language is no longer being send with every request, and we are no longer using locale as part of the cache key.

    The useShop hook will now return the languageCode key, which is the first two characters of the existing locale key.

    Both locale & languageCode values are also now capitalized to make it easier to pass into a GraphQL @inContext directive.

  • #1020 e9529bc8 Thanks @jplhomer! - Preload Link URLs by default when a user signals intent to visit the URL. This includes hovering or focusing on the URL. To disable preloading, pass <Link preload={false} /> to the component.

@shopify/[email protected]

Minor Changes

  • #1028 ba174588 Thanks @michenly! - Starting from SF API version 2022-04, the preferred way to request translatable resources is using the @inContext directive. See the API docs on how to do this and which resources have translatable properties.

    This causes a breaking change to the useShopQuery hook. The locale property has been removed from the argument object; Accept-Language is no longer being send with every request, and we are no longer using locale as part of the cache key.

    The useShop hook will now return the languageCode key, which is the first two characters of the existing locale key.

    Both locale & languageCode values are also now capitalized to make it easier to pass into a GraphQL @inContext directive.

  • #1020 e9529bc8 Thanks @jplhomer! - Preload Link URLs by default when a user signals intent to visit the URL. This includes hovering or focusing on the URL. To disable preloading, pass <Link preload={false} /> to the component.

Patch Changes

  • #1017 4c87fb63 Thanks @frandiox! - Do not cache Storefront API responses that contain GraphQL errors (amend previous fix).

  • #1039 3a297862 Thanks @frandiox! - Update to Vite 2.9

  • #1026 836b064d Thanks @frehner! - Updated the Typescript types and GraphQL schema to the newest updates from Storefront API 2022-04. Of note in this update is the ability to skip edges and go directly to node, for example: product.nodes[0] instead of product.edges[0].node

  • #1032 03488083 Thanks @jplhomer! - Catch hydration errors related to experimental server components bugs and prevent them from being logged in production.

  • #1037 13376efb Thanks @jplhomer! - Use new header for private Storefront token

@github-actions github-actions bot force-pushed the changeset-release/v1.x-2022-07 branch 11 times, most recently from b59a59a to a5082b6 Compare April 5, 2022 15:09
@github-actions github-actions bot force-pushed the changeset-release/v1.x-2022-07 branch from a5082b6 to 1f05cda Compare April 5, 2022 15:38
@cartogram cartogram merged commit 7925da7 into v1.x-2022-07 Apr 5, 2022
@cartogram cartogram deleted the changeset-release/v1.x-2022-07 branch April 5, 2022 18:56
blittle pushed a commit that referenced this pull request Apr 11, 2022
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
blittle added a commit that referenced this pull request Apr 11, 2022
* v1.x-2022-07:
  [Hydrogen docs]: Analytics (#962)
  Analytics (#890)
  Allow line breaks inside script tags (#1061)
  Fix encoding of CSS Modules to solve hydration errors (#1062)
  [Hydrogen docs]: Update guidance on troubleshooting third-party dependencies (#1055)
  Update Vite RSC Plugin (#1054)
  Fix link prefetch (#1059)
  Initial devTools component (#998)
  Support sub request cache control header `stale-while-revalidate` everywhere (#1049)
  Fix cookie parsing (#1046)
  Update 3-external-images-with-a-custom-loader.example.tsx (#1045)
  Restore scroll position on browser navigation (#1047)
  Remove old changeset to unblock release (#1042)
  [ci] release v1.x-2022-07 (#1019)
  Update to Vite 2.9 (#1039)
  Use lang directive (#1028)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant