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 2023-04 #947

Merged
merged 1 commit into from
Jun 12, 2023
Merged

[ci] release 2023-04 #947

merged 1 commit into from
Jun 12, 2023

Conversation

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

@shopify-github-actions-access shopify-github-actions-access bot commented May 25, 2023

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 2023-04, this PR will be updated.

Releases

@shopify/remix-oxygen@1.1.0

Minor Changes

@shopify/cli-hydrogen@5.0.0

Patch Changes

  • Remove --codegen-unstable flag from scripts when transpiling projects from TypeScript to JavaScript. (#937) by @frandiox

  • Allow disabling sourcemaps with shopify hydrogen build --no-sourcemap (#975) by @blittle

  • Allow the CLI route generate to work in non-oxygen deploys (#976) by @blittle

  • Hidden flag removed from new CLI commands (#995) by @graygilmore

    You can now link your local Hydrogen storefront to a storefront you have created in the Shopify admin. This allows you to pull your environment variables into your local environment or have them be automatically injected into your runtime when you run dev.

  • Updated dependencies [7b4afea2, 32515232, 7d6a1a7c, 442f602a, be912b2f, b9ab8eb7, d3817b9c, 93a7c3c6, 6b8537ba]:

    • @shopify/hydrogen-react@2023.4.4
    • @shopify/remix-oxygen@1.1.0
    • @shopify/hydrogen-codegen@0.0.2

@shopify/create-hydrogen@4.1.3

Patch Changes

@shopify/hydrogen@2023.4.4

Patch Changes

  • Fix redirects to respond with a 301 (#946) by @blittle

  • A default https:// protocol is now added automatically to storeDomain if missing. (#985) by @frandiox

  • Fix flattenConnection()'s TypeScript types when working with edges.node (#945) by @frehner

  • Make storefrontApiVersion parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. (#984) by @frandiox

  • Skip reading and writing cache in sub-requests when the strategy is CacheNone. (#964) by @frandiox

  • Fix <ModelViewer> to properly set className (#966) by @blittle

  • Add a /admin route that redirects to the Shopify admin. This redirect can be disabled by passing noAdminRedirect: true to storefrontRedirect: (#989) by @blittle

    storefrontRedirect({
      redirect,
      response,
      storefront,
      noAdminRedirect: true,
    });
  • Updated dependencies [7b4afea2, 32515232, 7d6a1a7c, 442f602a, b9ab8eb7, 93a7c3c6]:

    • @shopify/hydrogen-react@2023.4.4

@shopify/hydrogen-codegen@0.0.2

Patch Changes

  • Merge equal fragment interfaces in one to avoid adding | {} to the Metaobject types. (#978) by @frandiox

  • The preset now accepts options to modify the default behavior. (#970) by @frandiox

    type HydrogenPresetConfig = {
      namespacedImportName?: string;
      importTypesFrom?: string;
      importTypes?: boolean;
      skipTypenameInOperations?: boolean;
      interfaceExtension?: (options) => string;
    };

@shopify/hydrogen-react@2023.4.4

Patch Changes

  • A default https:// protocol is now added automatically to storeDomain if missing. (#985) by @frandiox

  • Add support for mock.shop as a storeDomain. (#986) by @frandiox

  • Fix flattenConnection()'s TypeScript types when working with edges.node (#945) by @frehner

  • Make storefrontApiVersion parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. (#984) by @frandiox

  • Fix the <CartProvider> to by default pull localization from <ShopifyProvider>. You can still override the countryCode by passing a prop directly to <CartProvider>. Resovles [BUG] Cart doesn't use default Hydrogen localisation #622 (#980) by @blittle

  • Fix <ModelViewer> to properly set className (#966) by @blittle

demo-store@1.0.3

Patch Changes

  • A default https:// protocol is now added automatically to storeDomain if missing. (#985) by @frandiox

  • Start using GraphQL code generation. This allows us to have full-stack type-safety and better developer experience. (#937) by @frandiox

    As a result of the above, we've fixed issues where the frontend was accessing data that was not correctly fetched from the Storefront API. For example, missing product.vendor or accessing totalPrice instead of totalPriceV2.

    To enable the unstable codegen feature in your project, run your dev command as shopify hydrogen dev --codegen-unstable. See the changes associated here for examples.

  • Update the demostore to not cache the customer query. This is important to update in your app if you copied the logic from the demo store. (#950) by @blittle

  • Remove wrong cache control headers from route. Demo store is setting cache-control header when it is not suppose to. The demo store server renders cart information. Cart information is consider personalized content and should never be cached in any way. (#991) by @wizardlyhel

    Route ($locale).api.countries.tsx can have cache control header because it is an API endpoint that doesn't render the cart.

  • Make storefrontApiVersion parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. (#984) by @frandiox

  • Updated dependencies [b2195520, 4c5cdfd6, 7b4afea2, 42683d0a, 7d6a1a7c, 808ceb51, 442f602a, be912b2f, 8ccf6dbe, 428c78dc, 93a7c3c6, 5124d618]:

    • @shopify/cli-hydrogen@5.0.0
    • @shopify/hydrogen@2023.4.4
    • @shopify/remix-oxygen@1.1.0

@github-actions github-actions bot force-pushed the changeset-release/2023-04 branch 9 times, most recently from b48c185 to b99d3b4 Compare June 1, 2023 09:14
@github-actions github-actions bot force-pushed the changeset-release/2023-04 branch 15 times, most recently from 8636a26 to f5e2b7d Compare June 9, 2023 21:24
@blittle blittle merged commit 2273c83 into 2023-04 Jun 12, 2023
1 check passed
@blittle blittle deleted the changeset-release/2023-04 branch June 12, 2023 19: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.

None yet

1 participant