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 2024-10 #2612

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shopify-github-actions-access[bot]
Copy link
Contributor

@shopify-github-actions-access shopify-github-actions-access bot commented Oct 21, 2024

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/[email protected]

Patch Changes

  • Stabilize getSitemap, getSitemapIndex and implement on skeleton (#2589) by @juanpprieto

    1. Update the getSitemapIndex at /app/routes/[sitemap.xml].tsx
    - import {unstable__getSitemapIndex as getSitemapIndex} from '@shopify/hydrogen';
    + import {getSitemapIndex} from '@shopify/hydrogen';
    1. Update the getSitemap at /app/routes/sitemap.$type.$page[.xml].tsx
    - import {unstable__getSitemap as getSitemap} from '@shopify/hydrogen';
    + import {getSitemap} from '@shopify/hydrogen';

    For a reference implementation please see the skeleton template sitemap routes

  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • SFAPI update - Deprecate usages of product.options.values and use product.options.optionValues instead. (#2585) by @wizardlyhel

    1. Update your product graphql query to use the new optionValues field.
      const PRODUCT_FRAGMENT = `#graphql
        fragment Product on Product {
          id
          title
          options {
            name
    -        values
    +        optionValues {
    +          name
    +        }
          }
    1. Update your <VariantSelector> to use the new optionValues field.
      <VariantSelector
        handle={product.handle}
    -    options={product.options.filter((option) => option.values.length > 1)}
    +    options={product.options.filter((option) => option.optionValues.length > 1)}
        variants={variants}
      >

@shopify/[email protected]

Patch Changes

  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • SFAPI update - Deprecate usages of product.options.values and use product.options.optionValues instead. (#2585) by @wizardlyhel

    1. Update your product graphql query to use the new optionValues field.
      const PRODUCT_FRAGMENT = `#graphql
        fragment Product on Product {
          id
          title
          options {
            name
    -        values
    +        optionValues {
    +          name
    +        }
          }
    1. Update your <VariantSelector> to use the new optionValues field.
      <VariantSelector
        handle={product.handle}
    -    options={product.options.filter((option) => option.values.length > 1)}
    +    options={product.options.filter((option) => option.optionValues.length > 1)}
        variants={variants}
      >

@shopify/[email protected]

Patch Changes

  • Stabilize getSitemap, getSitemapIndex and implement on skeleton (#2589) by @juanpprieto

    1. Update the getSitemapIndex at /app/routes/[sitemap.xml].tsx
    - import {unstable__getSitemapIndex as getSitemapIndex} from '@shopify/hydrogen';
    + import {getSitemapIndex} from '@shopify/hydrogen';
    1. Update the getSitemap at /app/routes/sitemap.$type.$page[.xml].tsx
    - import {unstable__getSitemap as getSitemap} from '@shopify/hydrogen';
    + import {getSitemap} from '@shopify/hydrogen';

    For a reference implementation please see the skeleton template sitemap routes

  • Update <ProductPrice> to remove deprecated code usage for priceV2 and compareAtPriceV2. Remove export for getCustomerPrivacy. (#2601) by @wizardlyhel

  • Change <Analytics.Provider> to set up Customer Privacy without the Shopify's cookie banner by default. (#2588) by @wizardlyhel

    Breaking Change

    If you are using <Analytics.Provider> in your app, you need to add withPrivacyBanner={true} to the <AnalyticsProvider> component if you are using the Shopify's cookie banner. Without this props, the Shopify cookie banner will not appear.

      <Analytics.Provider
        cart={data.cart}
        shop={data.shop}
        consent={data.consent}
    +    withPrivacyBanner={true}
      >
      ...
    </Analytics.Provider>
  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • SFAPI update - Deprecate usages of product.options.values and use product.options.optionValues instead. (#2585) by @wizardlyhel

    1. Update your product graphql query to use the new optionValues field.
      const PRODUCT_FRAGMENT = `#graphql
        fragment Product on Product {
          id
          title
          options {
            name
    -        values
    +        optionValues {
    +          name
    +        }
          }
    1. Update your <VariantSelector> to use the new optionValues field.
      <VariantSelector
        handle={product.handle}
    -    options={product.options.filter((option) => option.values.length > 1)}
    +    options={product.options.filter((option) => option.optionValues.length > 1)}
        variants={variants}
      >
  • Add utility functions decodeEncodedVariant and isOptionValueCombinationInEncodedVariant for parsing product.encodedVariantExistence and product.encodedVariantAvailability fields. (#2425) by @lhoffbeck

  • Update all cart mutation methods from createCartHandler to return cart warnings. (#2572) by @wizardlyhel

    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 field warnings and will contain explicit code values of MERCHANDISE_NOT_ENOUGH_STOCK`` or MERCHANDISE_OUT_OF_STOCK. Reference: https://shopify.dev/changelog/cart-warnings-in-storefront-api-cart

  • Updated dependencies [8c89f298, 84a66b1e, 76cd4f9b]:

@shopify/[email protected]

Patch Changes

  • Update <ProductPrice> to remove deprecated code usage for priceV2 and compareAtPriceV2. Remove export for getCustomerPrivacy. (#2601) by @wizardlyhel

  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • Add utility functions decodeEncodedVariant and isOptionValueCombinationInEncodedVariant for parsing product.encodedVariantExistence and product.encodedVariantAvailability fields. (#2425) by @lhoffbeck

[email protected]

Patch Changes

  • Stabilize getSitemap, getSitemapIndex and implement on skeleton (#2589) by @juanpprieto

    1. Update the getSitemapIndex at /app/routes/[sitemap.xml].tsx
    - import {unstable__getSitemapIndex as getSitemapIndex} from '@shopify/hydrogen';
    + import {getSitemapIndex} from '@shopify/hydrogen';
    1. Update the getSitemap at /app/routes/sitemap.$type.$page[.xml].tsx
    - import {unstable__getSitemap as getSitemap} from '@shopify/hydrogen';
    + import {getSitemap} from '@shopify/hydrogen';

    For a reference implementation please see the skeleton template sitemap routes

  • Change <Analytics.Provider> to set up Customer Privacy without the Shopify's cookie banner by default. (#2588) by @wizardlyhel

    Breaking Change

    If you are using <Analytics.Provider> in your app, you need to add withPrivacyBanner={true} to the <AnalyticsProvider> component if you are using the Shopify's cookie banner. Without this props, the Shopify cookie banner will not appear.

      <Analytics.Provider
        cart={data.cart}
        shop={data.shop}
        consent={data.consent}
    +    withPrivacyBanner={true}
      >
      ...
    </Analytics.Provider>
  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • SFAPI update - Deprecate usages of product.options.values and use product.options.optionValues instead. (#2585) by @wizardlyhel

    1. Update your product graphql query to use the new optionValues field.
      const PRODUCT_FRAGMENT = `#graphql
        fragment Product on Product {
          id
          title
          options {
            name
    -        values
    +        optionValues {
    +          name
    +        }
          }
    1. Update your <VariantSelector> to use the new optionValues field.
      <VariantSelector
        handle={product.handle}
    -    options={product.options.filter((option) => option.values.length > 1)}
    +    options={product.options.filter((option) => option.optionValues.length > 1)}
        variants={variants}
      >
  • Updated dependencies [809c9f3d, 8c89f298, a253ef97, 84a66b1e, c7c9f2eb, 76cd4f9b, 8337e534]:

Copy link
Contributor

shopify bot commented Oct 21, 2024

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 21, 2024 8:17 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:17 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:17 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:17 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:17 PM

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 89d6b2a to 7ec9be6 Compare October 21, 2024 20:37
@shopify-github-actions-access shopify-github-actions-access bot changed the title [ci] release 2024-07 [ci] release 2024-10 Oct 21, 2024
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.

0 participants