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

release v4.0.0 #729

Merged
merged 1 commit into from
Oct 5, 2020
Merged

release v4.0.0 #729

merged 1 commit into from
Oct 5, 2020

Conversation

kieckhafer
Copy link
Member

v4.0.0

Example Storefront v4.0.0 adds major features and performance enhancements, and does contain breaking changes since v3.1.0

This is a reminder that starting with v3.x, all Reaction projects have begun tracking their versions independently, and this release will work with the latest releases of all other Reaction projects, even though the major version number may be different.

BREAKING CHANGES

  • React hooks are introduced, and replace many HOC's, which have been removed: withAddressBook, withAddressValidation, withAvailablePaymentMethods, withCart, withCatalogItemProduct, withOrder, withOrders, withShop, withTag, withViewer.
  • Use React hooks for various parts of the application including orders, cart, shop, translations and more. This refactor remove various HOC that added unnecessary complexity to the app.
  • MobX has been removed, and React context is now used in its place.
  • Next.js has been update to use version 9.4.1, which includes support for SSG(Static Site Generation). By default product pages are re-regenerated every two minutes. Further, various other features, such as dynamic routes and API routes are now used, either a dynamic route or API.
  • Various components from the Reaction component library have been removed in favor of using the new Reaction Catalyst design system. This is a stepping stone towards consolidating styling solutions use use only one.

Refactors

  • refactor: Storefront v2 (#667)
  • refactor: Revalidate index page, require instant revalidation if no shop is present during build (#698)
  • refactor: Return Not found if either product or shop are missing (#696)
  • refactor: Use CANONICAL_URL for sitemap route (#690)

Fixes

  • fix: Fix for 2 vulnerabilities (#727)
  • fix: don't execute unnecessary requests for anonymous cart on initial load (#705)
  • fix: Set _isMounted to true after component mounted (#700)
  • fix: docker production build (#693)
  • fix: fix broken unit test (#682)
  • fix: runtime build issues (#685)

Chores

  • chore(deps): Bump elliptic from 6.5.2 to 6.5.3 (#717)
  • chore: Bump lodash from 4.17.15 to 4.17.19 (#706)
  • chore: update README and CHANGELOG to reflect recent updates (#687)
  • chore: Setup react-testing-library and some clean up (#686)
  • chore: fix various eslint errors and warnings (#684)

Contributors

Thanks to @janus-reith for contributing to this release! 🎉

Signed-off-by: Erik Kieckhafer <ek@ato.la>
@kieckhafer kieckhafer mentioned this pull request Sep 25, 2020
Copy link
Member

@manueldelreal manueldelreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@kieckhafer kieckhafer merged commit 41f4147 into trunk Oct 5, 2020
@nnnnat nnnnat deleted the release-next-v4.0.0 branch November 20, 2020 16:03
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.

3 participants