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 #2700

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 Jan 9, 2025

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.5

Patch Changes

  • Bump vite, Remix versions and tailwind v4 alpha to beta (#2696) by @wizardlyhel

  • Turn on future flag v3_lazyRouteDiscovery (#2702) by @wizardlyhel

    In your vite.config.ts, add the following line:

    export default defineConfig({
      plugins: [
        hydrogen(),
        oxygen(),
        remix({
          presets: [hydrogen.preset()],
          future: {
            v3_fetcherPersist: true,
            v3_relativeSplatPath: true,
            v3_throwAbortReason: true,
    +        v3_lazyRouteDiscovery: true,
          },
        }),
        tsconfigPaths(),
      ],

    Test your app by running npm run dev and nothing should break

  • Updated dependencies [fdab06f5]:

    • @shopify/mini-oxygen@3.1.1

@shopify/create-hydrogen@5.0.15

Patch Changes

  • Workaround for "Error: failed to execute 'insertBefore' on 'Node'" that sometimes happen during development. (#2701) by @wizardlyhel

    // root.tsx
    
    /**
     * The main and reset stylesheets are added in the Layout component
     * to prevent a bug in development HMR updates.
     *
     * This avoids the "failed to execute 'insertBefore' on 'Node'" error
     * that occurs after editing and navigating to another page.
     *
     * It's a temporary fix until the issue is resolved.
     * https://github.com/remix-run/remix/issues/9242
     */
    export function links() {
      return [
    -    {rel: 'stylesheet', href: resetStyles},
    -    {rel: 'stylesheet', href: appStyles},
        {
          rel: 'preconnect',
          href: 'https://cdn.shopify.com',
        },
        {
          rel: 'preconnect',
          href: 'https://shop.app',
        },
        {rel: 'icon', type: 'image/svg+xml', href: favicon},
      ];
    }
    
    ...
    
    export function Layout({children}: {children?: React.ReactNode}) {
      const nonce = useNonce();
      const data = useRouteLoaderData<RootLoader>('root');
    
      return (
        <html lang="en">
          <head>
            <meta charSet="utf-8" />
            <meta name="viewport" content="width=device-width,initial-scale=1" />
    +        <link rel="stylesheet" href={resetStyles}></link>
    +        <link rel="stylesheet" href={appStyles}></link>
    

@shopify/hydrogen@2024.10.2

Patch Changes

  • Bump vite, Remix versions and tailwind v4 alpha to beta (#2696) by @wizardlyhel

  • Fix getProductOptions crashing when one of variants returns a null firstSelectableVariant. (#2704) by @wizardlyhel

  • Updated dependencies [fdab06f5, 650d57b3]:

    • @shopify/hydrogen-react@2024.10.2

@shopify/hydrogen-react@2024.10.2

Patch Changes

  • Bump vite, Remix versions and tailwind v4 alpha to beta (#2696) by @wizardlyhel

  • Fix getProductOptions crashing when one of variants returns a null firstSelectableVariant. (#2704) by @wizardlyhel

@shopify/mini-oxygen@3.1.1

Patch Changes

@shopify/remix-oxygen@2.0.10

Patch Changes

skeleton@2024.10.5

Patch Changes

  • Bump vite, Remix versions and tailwind v4 alpha to beta (#2696) by @wizardlyhel

  • Workaround for "Error: failed to execute 'insertBefore' on 'Node'" that sometimes happen during development. (#2701) by @wizardlyhel

    // root.tsx
    
    /**
     * The main and reset stylesheets are added in the Layout component
     * to prevent a bug in development HMR updates.
     *
     * This avoids the "failed to execute 'insertBefore' on 'Node'" error
     * that occurs after editing and navigating to another page.
     *
     * It's a temporary fix until the issue is resolved.
     * https://github.com/remix-run/remix/issues/9242
     */
    export function links() {
      return [
    -    {rel: 'stylesheet', href: resetStyles},
    -    {rel: 'stylesheet', href: appStyles},
        {
          rel: 'preconnect',
          href: 'https://cdn.shopify.com',
        },
        {
          rel: 'preconnect',
          href: 'https://shop.app',
        },
        {rel: 'icon', type: 'image/svg+xml', href: favicon},
      ];
    }
    
    ...
    
    export function Layout({children}: {children?: React.ReactNode}) {
      const nonce = useNonce();
      const data = useRouteLoaderData<RootLoader>('root');
    
      return (
        <html lang="en">
          <head>
            <meta charSet="utf-8" />
            <meta name="viewport" content="width=device-width,initial-scale=1" />
    +        <link rel="stylesheet" href={resetStyles}></link>
    +        <link rel="stylesheet" href={appStyles}></link>
    
  • Turn on future flag v3_lazyRouteDiscovery (#2702) by @wizardlyhel

    In your vite.config.ts, add the following line:

    export default defineConfig({
      plugins: [
        hydrogen(),
        oxygen(),
        remix({
          presets: [hydrogen.preset()],
          future: {
            v3_fetcherPersist: true,
            v3_relativeSplatPath: true,
            v3_throwAbortReason: true,
    +        v3_lazyRouteDiscovery: true,
          },
        }),
        tsconfigPaths(),
      ],

    Test your app by running npm run dev and nothing should break

  • Fix image size warnings on collections page (#2703) by @wizardlyhel

  • Updated dependencies [fdab06f5, 650d57b3]:

    • @shopify/remix-oxygen@2.0.10
    • @shopify/hydrogen@2024.10.2

Copy link
Contributor

shopify bot commented Jan 9, 2025

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 January 9, 2025 6:36 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment January 9, 2025 6:36 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment January 9, 2025 6:36 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment January 9, 2025 6:36 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment January 9, 2025 6:36 PM

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from f178448 to ae9aac7 Compare January 14, 2025 17:46
@github-actions github-actions bot force-pushed the changeset-release/main branch from ae9aac7 to 8a3f270 Compare January 15, 2025 16:29
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