Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jun 20:35
· 375 commits to v1.x-2022-07 since this release
a33294b

Minor Changes

  • #1697 85aab092 Thanks @blittle! - Remove defaultLocale from the Hydrogen Config and instead add defaultCountryCode and defaultLanguageCode. Both of which are also now available by the useShop() hook:

    export default defineConfig({
      shopify: {
    -    defaultLocale: 'EN-US',
    +    defaultCountryCode: 'US',
    +    defaultLanguageCode: 'EN',
        storeDomain: 'hydrogen-preview.myshopify.com',
        storefrontToken: '3b580e70970c4528da70c98e097c2fa0',
        storefrontApiVersion: '2022-07',
      },
    }
  • #1662 4262b319 Thanks @wizardlyhel! - Fix server analytics route

    • Fix ServerAnalyticsRoute so that it does complete all async work
    • Move Performance and Shopify analytic reporting to client side
    • Make sure ShopifyAnalytics make its own query for shop id and currency
    • Remove query for shop id and currency from DefaultSeo component
    • Make Performance and Shopify server analytics connector do nothing

    Deprecated components

    Remove the following components from hydrogen.config.js

    • PerformanceMetricsServerAnalyticsConnector
    • ShopifyServerAnalyticsConnector