You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+38-11Lines changed: 38 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,53 @@
1
-
# v3.2.0
1
+
# v4.0.0
2
2
3
-
## Refactors
3
+
Example Storefront v4.0.0 adds major features and performance enhancements, and does contain breaking changes since v3.1.0
4
+
5
+
_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._
4
6
5
-
- refactor: Configure `react-testing-library` and remove unnecessary testing dependencies [#686](https://github.com/reactioncommerce/example-storefront/pull/686)
7
+
## BREAKING CHANGES
6
8
7
-
This is a major update that introduces the following refactors in PR [#667](https://github.com/reactioncommerce/example-storefront/pull/667)
9
+
- React hooks are introduced, and replace many HOC's, which have been removed: `withAddressBook`, `withAddressValidation`, `withAvailablePaymentMethods`, `withCart`, `withCatalogItemProduct`, `withOrder`, `withOrders`, `withShop`, `withTag`, `withViewer`.
8
10
- 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.
9
-
- React context is now used and all previous uses of MobX have been removed. Using React context greatly simplifies local states management.
10
-
- Simple translation helpers have been added to support multi-lingual shops. See the `useTranslation` React hook for more details.
11
-
- Next.js has been update to use version 9.4.1, which includes support for [SSG](https://nextjs.org/blog/next-9-3#next-gen-static-site-generation-ssg-support)(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
12
-
as appropriate.
13
-
- Various components form 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.
11
+
- MobX has been removed, and React context is now used in its place.
12
+
- Next.js has been update to use version 9.4.1, which includes support for [SSG](https://nextjs.org/blog/next-9-3#next-gen-static-site-generation-ssg-support)(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.
13
+
- 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.
- refactor: Revalidate index page, require instant revalidation if no shop is present during build ([#698](https://github.com/reactioncommerce/example-storefront/pull/698))
19
+
- refactor: Return Not found if either product or shop are missing ([#696](https://github.com/reactioncommerce/example-storefront/pull/696))
20
+
- refactor: Use CANONICAL_URL for sitemap route ([#690](https://github.com/reactioncommerce/example-storefront/pull/690))
21
+
22
+
## Fixes
23
+
24
+
- fix: Fix for 2 vulnerabilities ([#727](https://github.com/reactioncommerce/example-storefront/pull/727))
25
+
- fix: don't execute unnecessary requests for anonymous cart on initial load ([#705](https://github.com/reactioncommerce/example-storefront/pull/705))
26
+
- fix: Set _isMounted to true after component mounted ([#700](https://github.com/reactioncommerce/example-storefront/pull/700))
27
+
- fix: docker production build ([#693](https://github.com/reactioncommerce/example-storefront/pull/693))
28
+
- fix: fix broken unit test ([#682](https://github.com/reactioncommerce/example-storefront/pull/682))
0 commit comments