graphcommerce

GraphCommerce® is a headless storefront replacement for Magento 2 (PWA), that delivers a faster, better user experience. Fully customizable (React, Next.js) and open-source.

OTHER License

Downloads
271.1K
Stars
303
Committers
37

Bot releases are visible (Hide)

graphcommerce - May 01, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - May 01, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Minor Changes

graphcommerce - April 25, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1916 ee2f814f4 - When the customer is logging in and the merge cart functionality throws an error, it would not set the current customer's cart as active, but keep the faulty cart active. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1916 97ebc19af - The customer's token would be invalidated if any authorization error occured. Now only scoped to customer queries and mutations, potentially reducing the amount of random logouts. (@paales)
graphcommerce - April 25, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Minor Changes

  • #1915 f4a8c3881 - Added the ability to create functional plugins for usage in non-component areas and hooks (@paales)
graphcommerce - April 21, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 21, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1914 000556331 - When there is an error in the cart, disable the checkout buttons (@paales)

  • #1914 38d6c4888 - Errors in the cart didn't allow for recovery from the faulty state (@paales)

  • #1914 5d115a11a - When a customer tries to add a product to a customer cart, discard the cart and create a new cart (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1914 c237f2f2c - Category pages now have the ability to select the displayed pageSize of a page and a non-default pageSize and a non-default sort option will now receive noindex meta tags when viewed. (@paales)

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

  • #1914 72fb254a0 - User wouldn't be redirect to the paypal website, not allowing users to checkout (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1914 c237f2f2c - Category pages now have the ability to select the displayed pageSize of a page and a non-default pageSize and a non-default sort option will now receive noindex meta tags when viewed. (@paales)

  • #1914 b1abccb67 - Category limit url param wasn't parsed correctly, causing a 404. (@paales)

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

  • #1914 c237f2f2c - Category pages now have the ability to select the displayed pageSize of a page and a non-default pageSize and a non-default sort option will now receive noindex meta tags when viewed. (@paales)
graphcommerce - April 18, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 12, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 12, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 05, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1898 e28af9ea6 - ConfigurableProduct super attributes that were regular dropdowns would throw an error. (@paales)
graphcommerce - GraphCommerce 6.1.0

Published by github-actions[bot] over 1 year ago

Upgrade docs 📖 · Previous 6.0.1 release notes · Previous 6.0.0 release notes ↩️

A big thanks to the contributors who made this release possible! Here are some highlights ✨:

GraphQL Performance improvements;

  • Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request, now it can. (@paales)

  • Disabled GraphQL Mesh batching for Magento to get better cache hitrates

  • Enabled GraphQL Mesh batching for Hygraph, since billing happens per query

  • Fetch request improvements in the mesh (30-100ms): The mesh wouldn't keep ssl handshakes alive causing an additional delay for each request. Performance improvements depend on the ssl handshake performance of the server. (@paales)

  • Fetching product page base query and and related+upsells in parallel so Magento doesn't choke on the query complexity limit and the product page is faster. (@paales)

  • Faster page rendering on all pages that use Apollo Client: Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart/customer.

    This comes with a caviat: When using <Suspense> to defer rendering you might run into hydration errors. In the case where the Suspense boundaries are used to improve performance, you are required to remove those. We have a follow-up PR in the works that allows getting the hydration performance improvement, but not have the hydration errors. (@paales)

Improvements

  • When running in dev mode, the CLI will now have clickable references to the backend queries made by the Mesh. (@paales)

  • Aggregation options (filters) now show a relevant count when applying filters and hide the count when it doesn't make sense. (@paales)

  • Crosssells will now be preloaded during the addProductsToCart mutation so they are already available in the 'added' overlay, preventing a second scroll. (@bramvanderholst)

Fixes

  • When opening the overlay while darkmode was enabled, it would close immediately (@paales)
  • Added an configuration wishlistShowFeedbackMessage to show a feedback message when a product is added to the wishlist. (@paales)
  • With the postcode check enabled: Put the country field first, so the address fields will not be changed afterwards when postcode service is active. (@carlocarels90)
  • make the SelectElement validation message translatable (@carlocarels90)
  • Allow styling FormControl in CheckboxElement (@bramvanderholst)
  • Switching from a heavy page would rerender the old page causing the new page to be slow. We now assume that there does't need to be any transition (as with overlays). This effectively disables any possible page transitions in regular pages, but we never used that anyways. (@paales)
  • Do not change the behavior of the useScrollTo, only warn about possible problems. (@paales)
  • useScrollTo improvements for easier debugging:
    • When a scrollTo animation is requesed while an animation is is progress it will throw an error
    • When a scrollTo animation is retriggered more than 5 times, it will throw an error
    • When a scrollTo detects the overlay is resized after the animation it will show a warning. (@paales)
  • Make sure the stop function is stopping both x and y animations to prevent rare occasions where a direction isn’t cancelled (@paales)
  • Make checkout newsletter and agreements checkboxes persistent (@bramvanderholst)
  • Only use agreement name as link when agreement text contains the name, so the rest of the text can be used as checkbox label (@bramvanderholst)
  • useOrderCardItemImages was triggered when there were no urlKeys present, causing unnessary requests to be made to the backend. (@Giovanni-Schroevers)
  • Make order states translatable (@carlocarels90)
  • When a customer would log in the current guest information would be lost (@paales)
  • Filtering on category_uid wouldn't work on search results page (@paales)
  • When filtering on a paginated page it would not reset the currentPage to 1 (@paales)
  • When the category_uid is filterable it would always show an active filter on all filters (@paales)
  • ProductSpecs would throw an hydration error if there were multiple categories with the same label (@paales)
  • When trying to redirect it would do another call to fetch the config while that was already done previously (@paales)
  • mergeGuestWishlist would be called if there weren't any products in the guest wishlist (@Giovanni-Schroevers)
  • Overlay would show an incorrect box-shadow for the variant=bottom (@bramvanderholst)
  • Disallow overscrolling on overlays on mobile (@bramvanderholst)
  • When using @mui/material Form fields, show a warning to the developer so they learn about the @graphcommerce/ecommerce-ui form components. (@paales)
  • Fix issue where a deeper plugin from the root of the project doesn't have a correct relative path (@paales)
  • Do not make the crosssells overlay the maximum width, but make it adhere to the content.
  • RowLinks Usps variant would throw an undefined key error
  • Categories now use default page size set by Magento
  • When accessing a page beyond the current max pages, it would throw a 500 error

Detailed changelogs per package

@graphcommerce/[email protected]

Patch Changes

  • #1876 8dffc59c0 - Added an configuration wishlistShowFeedbackMessage to show a feedback message when a product is added to the wishlist. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1889 38bf4b6bc - put the country field first, so the address fields will not be changed afterwards when postcode service is active. (@carlocarels90)

@graphcommerce/[email protected]

Patch Changes

  • #1900 92e1f1742 - make the SelectElement validation message translatable (@carlocarels90)

  • #1871 1e2d2e5c6 - Allow styling FormControl in CheckboxElement (@bramvanderholst)

@graphcommerce/[email protected]

Patch Changes

  • #1894 053d632ab - Switching from a heavy page would rerender the old page causing the new page to be slow. We now assume that there does't need to be any transition (as with overlays). This effectively disables any possible page transitions in regular pages, but we never used that anyways. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • b8bd4abcd - Do not change the behavior of the useScrollTo, only warn about possible problems. (@paales)

  • #1895 e6dbddc01 - useScrollTo improvements for easier debugging:

    • When a scrollTo animation is requesed while an animation is is progress it will throw an error
    • When a scrollTo animation is retriggered more than 5 times, it will throw an error
    • When a scrollTo detects the overlay is resized after the animation it will show a warning. (@paales)
  • #1901 54aadf39f - Make sure the stop function is stopping both x and y animations to prevent rare occasions where a direction isn’t cancelled (@paales)

@graphcommerce/[email protected]

Minor Changes

  • #1869 82111fa35 - Faster page rendering on all pages that use Apollo Client: Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart/customer.

    This comes with a caviat: When using <Suspense> to defer rendering you might run into hydration errors. In the case where the Suspense boundaries are used to improve performance, you are required to remove those. We have a follow-up PR in the works that allows getting the hydration performance improvement, but not have the hydration errors. (@paales)

Patch Changes

  • #1883 ede93ae7f - When running in dev mode, the CLI will now have clickable references to the backend queries made by the Mesh. (@paales)

@graphcommerce/[email protected]

Minor Changes

  • #1874 2a60491c2 - Fetch request improvements in the mesh (30-100ms): The mesh wouldn't keep ssl handshakes alive causing an additional delay for each request. Performance improvements depend on the ssl handshake performance of the server. (@paales)

  • #1874 2a60491c2 - Big Magento performance improvements; Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. (@paales)

@graphcommerce/[email protected]

Minor Changes

  • #1869 82111fa35 - Faster page rendering on all pages that use Apollo Client: Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart/customer.

    This comes with a caviat: When using <Suspense> to defer rendering you might run into hydration errors. In the case where the Suspense boundaries are used to improve performance, you are required to remove those. We have a follow-up PR in the works that allows getting the hydration performance improvement, but not have the hydration errors. (@paales)

Patch Changes

  • #1871 bc4181e74 - Make checkout newsletter and agreements checkboxes persistent (@bramvanderholst)

  • #1871 601a0d3a7 - Only use agreement name as link when agreement text contains the name, so the rest of the text can be used as checkbox label (@bramvanderholst)

@graphcommerce/[email protected]

Minor Changes

  • #1869 82111fa35 - Faster page rendering on all pages that use Apollo Client: Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart/customer.

    This comes with a caviat: When using <Suspense> to defer rendering you might run into hydration errors. In the case where the Suspense boundaries are used to improve performance, you are required to remove those. We have a follow-up PR in the works that allows getting the hydration performance improvement, but not have the hydration errors. (@paales)

Patch Changes

  • #1866 eafe3a17d - useOrderCardItemImages was triggered when there were no urlKeys present, causing unnessary requests to be made to the backend. (@Giovanni-Schroevers)

  • #1889 38bf4b6bc - put the country field first, so the address fields will not be changed afterwards when postcode service is active. (@carlocarels90)

  • #1899 3de184ee2 - Make order states translatable (@carlocarels90)

  • #1896 4f846293f - When a customer would log in the current guest information would be lost (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1871 bc4181e74 - Make checkout newsletter and agreements checkboxes persistent (@bramvanderholst)

@graphcommerce/[email protected]

Minor Changes

  • #1890 f88727915 - Aggregation options (filters) now show a relevant count when applying filters and hide the count when it doesn't make sense. (@paales)

  • #1877 27cd09247 - Fetching core product page and and related+upsells in parallel so Magento doesn't choke on the query complexity limit. (@paales)

Patch Changes

  • #1888 5460925a7 - Filtering on category_uid wouldn't work on search results page (@paales)

  • #1888 47429b293 - When filtering on a paginated page it would not reset the currentPage to 1 (@paales)

  • #1888 504d74916 - When the category_uid is filterable it would always show an active filter on all filters (@paales)

  • #1870 fc567a9bd - Crosssells will now be preloaded during the addProductsToCart mutation so they are already available in the 'added' overlay, preventing a second scroll. (@bramvanderholst)

  • #1894 e08879934 - ProductSpecs would throw an hydration error if there were multiple categories with the same label (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1875 4325f6556 - When trying to redirect it would do another call to fetch the config while that was already done previously (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1876 8dffc59c0 - Added an configuration wishlistShowFeedbackMessage to show a feedback message when a product is added to the wishlist. (@paales)

  • #1866 28e058995 - mergeGuestWishlist would be called if there weren't any products in the guest wishlist (@Giovanni-Schroevers)

@graphcommerce/[email protected]

Patch Changes

  • #1867 8e4bf4ca7 - Overlay would show an incorrect box-shadow for the variant=bottom (@bramvanderholst)

  • #1895 49d34bda4 - When opening the overlay while darkmode was enabled, it would close immediately (@paales)

  • #1867 9b7e4414c - Disallow overscrolling on overlays on mobile (@bramvanderholst)

@graphcommerce/[email protected]

Patch Changes

  • #1879 322a12098 - When using @mui/material Form fields, show a warning to the developer so they learn about the @graphcommerce/ecommerce-ui form components. (@paales)

@graphcommerce/[email protected]

Minor Changes

  • #1874 2a60491c2 - Big Magento performance improvements; Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. (@paales)

Patch Changes

  • #1876 8dffc59c0 - Added an configuration wishlistShowFeedbackMessage to show a feedback message when a product is added to the wishlist. (@paales)

  • #1872 05522796f - Fix issue where a deeper plugin from the root of the project doesn't have a correct relative path (@paales)

graphcommerce - April 05, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 04, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 04, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • b8bd4abcd - Do not change the behavior of the useScrollTo, only warn about possible problems. (@paales)
graphcommerce - April 04, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1889 38bf4b6bc - put the country field first, so the address fields will not be changed afterwards when postcode service is active. (@carlocarels90)

@graphcommerce/[email protected]

Patch Changes

  • #1889 38bf4b6bc - put the country field first, so the address fields will not be changed afterwards when postcode service is active. (@carlocarels90)
graphcommerce - April 04, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1895 e6dbddc01 - useScrollTo improvements for easier debugging:

    • When a scrollTo animation is requesed while an animation is is progress it will throw an error
    • When a scrollTo animation is retriggered more than 5 times, it will throw an error
    • When a scrollTo detects the overlay is resized after the animation it will show a warning. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1895 49d34bda4 - When opening the overlay while darkmode was enabled, it would close immediately (@paales)
graphcommerce - April 04, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

graphcommerce - April 03, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1870 fc567a9bd - Crosssells will now be preloaded during the addProductsToCart mutation so they are already available in the 'added' overlay, preventing a second scroll. (@bramvanderholst)
graphcommerce - April 03, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1894 053d632ab - Switching from a heavy page would rerender the old page causing the new page to be slow. We now assume that there does't need to be any transition (as with overlays). This effectively disables any possible page transitions in regular pages, but we never used that anyways. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1894 e08879934 - ProductSpecs would throw an hydration error if there were multiple categories with the same label (@paales)
graphcommerce - April 03, 2023 (canary)

Published by github-actions[bot] over 1 year ago

@graphcommerce/[email protected]

Patch Changes

  • #1869 82111fa35 - Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1869 82111fa35 - Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart. (@paales)

@graphcommerce/[email protected]

Patch Changes

  • #1869 82111fa35 - Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart. (@paales)