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

Merged
merged 2 commits into from
Jan 30, 2025
Merged

[ci] release 2025-01 #2700

merged 2 commits into from
Jan 30, 2025

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

Patch Changes

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

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

  • Bump SFAPI to 2025-01 (#2715) by @rbshop

  • Update decodeEncodedVariant utility to fix bug if encoding ends with index. (#2721) by @lhoffbeck

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

Patch Changes

[email protected]

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

  • Bump cli version (#2732) by @wizardlyhel

  • Bump SFAPI to 2025-01 (#2715) by @rbshop

  • Updated dependencies [fdab06f5, ae6d71f0, 650d57b3, 064de138]:

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

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from ae9aac7 to 8a3f270 Compare January 15, 2025 16:29
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 4e7e187 to 1648e78 Compare January 23, 2025 21:36
@shopify-github-actions-access shopify-github-actions-access bot changed the title [ci] release 2024-10 [ci] release 2025-01 Jan 23, 2025
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from 3cae801 to 93b33b2 Compare January 30, 2025 18:22
@github-actions github-actions bot force-pushed the changeset-release/main branch from 93b33b2 to 7a5124c Compare January 30, 2025 19:33
@wizardlyhel wizardlyhel merged commit 7df8c20 into main Jan 30, 2025
12 checks passed
@wizardlyhel wizardlyhel deleted the changeset-release/main branch January 30, 2025 21:25
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