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-04 #1994

Merged
merged 1 commit into from
Apr 23, 2024
Merged

[ci] release 2024-04 #1994

merged 1 commit into from
Apr 23, 2024

Conversation

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

@shopify-github-actions-access shopify-github-actions-access bot commented Apr 12, 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

  • Clean up messaging around unlinked storefronts when running CLI commands (#1937) by @aswamy

    • When you run env list, env pull, or deploy against a storefront that isn't linked, it will show a warning message instead of an error message.
    • If you don't have a storefront to link to on Admin, we will just ask you to create a storefront instead of displaying an option list of size 1.
    • If you deleted a storefront on Admin, we will try to relink your storefront when running env list, env pull, or deploy.
  • Add @return JSDoc tag to functions in JavaScript projects. (#2014) by @frandiox

  • Fix --quickstart flag to support overwritting it with other flags. Example: h2 init --quickstart --no-install-deps. (#2023) by @frandiox

    Show error in h2 debug cpu command for Vite projects until we support it.

    Remove deprecated --styling flag from the h2 init command.

  • Fix a warning when combining mock.shop and customer-account-push (#1992) by @frandiox

  • Updated dependencies [7e8cf055, a335afc1]:

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

Patch Changes

  • Fixed compatibility with Node 21. (#2003) by @frandiox

  • Fix an SSR HMR issue related to hanging promises during development. (#2019) by @frandiox

[email protected]

Patch Changes

  • Stop inlining the favicon in base64 to avoid issues with the Content-Security-Policy. In vite.config.js: (#2006) by @frandiox

    export default defineConfig({
      plugins: [
        ...
      ],
    + build: {
    +   assetsInlineLimit: 0,
    + },
    });
  • To improve HMR in Vite, move the useRootLoaderData function from app/root.tsx to a separate file like app/lib/root-data.ts. This change avoids circular imports: (#2014) by @frandiox

    // app/lib/root-data.ts
    import {useMatches} from '@remix-run/react';
    import type {SerializeFrom} from '@shopify/remix-oxygen';
    import type {loader} from '~/root';
    
    /**
     * Access the result of the root loader from a React component.
     */
    export const useRootLoaderData = () => {
      const [root] = useMatches();
      return root?.data as SerializeFrom<typeof loader>;
    };

    Import this hook from ~/lib/root-data instead of ~/root in your components.

  • Updated dependencies [b4dfda32, ffa57bdb, ac4e1670, 0af624d5, 9723eaf3, e842f68c]:

@github-actions github-actions bot force-pushed the changeset-release/main branch 12 times, most recently from ca1cafc to 6efd509 Compare April 19, 2024 18:08
@blittle blittle merged commit ad0c5e3 into main Apr 23, 2024
2 checks passed
@blittle blittle deleted the changeset-release/main branch April 23, 2024 19:34
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