Skip to content

Latest commit

 

History

History
610 lines (381 loc) · 32.6 KB

CHANGELOG.md

File metadata and controls

610 lines (381 loc) · 32.6 KB

5.2.1 (2022-04-28)

Bug Fixes

  • muitheme variable change (ddad190)

5.2.0 (2022-03-28)

Features

  • added latest tag to docker images (9f93132)

5.1.3 (2022-02-15)

Bug Fixes

  • remove create-hydra command from old version (b56f089)
  • upgrade @segment/snippet from 4.4.0 to 4.14.2 (9bb070b)

5.1.2 (2022-02-15)

Bug Fixes

  • upgrade @material-ui/core from 4.10.2 to 4.12.3 (bcc9c25)

5.1.1 (2021-11-17)

Bug Fixes

5.1.0 (2021-10-16)

Bug Fixes

  • keep stripe method (1aa98dc)
  • lint (1669dc8)
  • lint errors (6e42b9d)
  • lint errors in StripeCard, add stripe js lib (4d9569d)
  • lint errors in StripeCard, add stripe js lib (e0140f1)
  • remove stripe old payment method, SCA remains (73623ca)
  • remove stripe, stripe SCA remains (3d25fd6)

Features

  • Add Stripe Payments Intents API SCA-compliant Payment Component (30fa912)

5.0.3 (2021-09-03)

Bug Fixes

  • login allowed from checkout page (d22bea2)

5.0.2 (2021-08-31)

Bug Fixes

5.0.1 (2021-08-31)

Bug Fixes

5.0.0 (2021-08-25)

Features

  • breaking use account-js for authentication (7a509c9)

BREAKING CHANGES

  • the authorization methods have been switched to account-js

Signed-off-by: Akarshit Wal akarshitwal@gmail.com

4.1.2 (2021-08-23)

Bug Fixes

  • snyk vulnerability of apollo client (9f8fecb)
  • upgrade @apollo/client from 3.0.0-rc.4 to 3.3.21 (a6f3099)

4.1.1 (2021-08-23)

Bug Fixes

  • upgrade graphql from 14.1.1 to 14.7.0 (3b97799)
  • upgrade mdi-material-ui from 5.9.0 to 5.33.1 (323fdff)
  • upgrade styled-components from 5.1.1 to 5.3.0 (7672cad)
  • upgrade swr from 0.1.18 to 0.5.6 (cb39c7a)

4.1.0 (2021-06-23)

Bug Fixes

  • enable semantic releae (601dd87)
  • remove dry from semantic release (c623a85)

Features

v4.0.2

example-storefront v4.0.2 adds patch features or bug fixes and contains no breaking changes since v4.0.0.

Chore

  • chore: adding git hooks for commit-msg (#753)
  • chore: add package-unlink (#745)
  • chore: add package-link file to storefront (#745)
  • chore(deps): Bump ini from 1.3.5 to 1.3.7 (#745)

Fixes

  • change log corrections (#754)
  • fix: add third parameter from hook destructure (#747)
  • fix: fix linting error (#751)
  • fix: merge truck to clear tests (#746)
  • fix: merge trunk to pass tests (#745)
  • add correct permissions on file (#745)
  • (fix): readding removed space (#751)
  • (fix): readding removed space (#751)
  • (fix): add check for slug before link (#751)
  • (bugfix): pinning docker to higher version (#749)
  • (bugfix): check shop variable for null (#746)
  • (bugfix): not pre-rendering cart with shop (#746)
  • add package-update bin script (#745)
  • update docker-compose to use base image which installs yalc (#745)
  • fix: issue#710 Shop name not persisting on Mobile Nav (#738)

Contributors

Special thanks to Halton Xu for contributing to the release!

v4.0.1

Example Storefront v4.0.1 adds minor features, and does contain breaking changes since v4.0.1

Fixes

fix: changes made to address book does not reflect in UI (#747) fix: Error on PDP when product is missing slug (#751) fix: pinning docker to higher version (#749)

Chores

chore: add package-link file to storefront (#745)

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! 🎉

v3.1.0

This release of example-storefront is designed to work with v3.x of the Reaction API.

Chores

  • chore: bump https-proxy-agent from 2.2.2 to 2.2.4 (#669)
  • chore: switch to 3.0.0 Docker tag (#659)

v3.0.0

This is the v3.0.0 release of example-storefront, designed to work with v3.0.0 of the Reaction API.

Features

  • feat: remove -beta from GraphQL paths #646
  • feat: Use Lambda webhook for automated PR creation and merging into reaction-gitops #651
  • feat: implemented change password flow and standard OpenID logout flow #637
  • feat: auto-create Hydra client on startup #628

Fixes

  • fix: update query with required shopIds array #656
  • fixes: made bin/setup handle special characters in variables #639
  • fix: params for withTag API query #621
  • fix: handle OAUTH2_IDP_HOST_URL with no ending slash and missing shop #627

Chores

  • chore: reconfigure docker-compose networks #653
  • chore: copy changes from 2.x/trunk #650
  • chore: use published image for docker-compose #623

Refactors

  • refactor: Update token name cartToken #616

Notes

These changes were originally tested and released in our alpha and beta releases

The following Reaction projects are being released one time in coordination as v3.0.0

After this release, Reaction releases will no longer be coordinated across all projects - we'll release each project independently, as needed. This means version numbers will no longer be in sync. The newest versions of each project will work together.

v2.9.1

Example Storefront v2.9.1 is a patch update to keep this project in sync with Reaction v2.9.1 and reaction-hydra v2.9.1

Fixes

  • fix: login from storefront #633

v2.9.0

Example Storefront v2.9.0 is a minor update to keep this project in sync with Reaction v2.9.0 and reaction-hydra v2.9.0

v2.8.1

Example Storefront v2.8.1 is a patch update to keep this project in sync with Reaction v2.8.1 and reaction-hydra v2.8.1

v2.8.0

Example Storefront v2.8.0 is a minor update to keep this project in sync with Reaction v2.8.0 and reaction-hydra v2.8.0

v2.7.0

Example Storefront v2.7.0 is a minor update to keep this project in sync with Reaction v2.7.0 and reaction-hydra v2.7.0

v2.6.0

Example Storefront v2.6.0 is a minor update to keep this project in sync with Reaction v2.6.0 and reaction-hydra v2.6.0

Fixes

fix: restore empty_node_modules volume #591

v2.5.0

Example Storefront v2.5.0 is a minor update to keep this project in sync with Reaction v2.5.0 and reaction-hydra v2.5.0

Fixes

fix: Make sure development entry-point runs bin/start by default fix: Cannot edit checkout address (#494)

Chores

chore: Remove inactive end-to-end propel/calibre tests

Breaking Changes

None

v2.4.0

Example Storefront v2.4.0 is a minor update to keep this project in sync with Reaction v2.4.0 and reaction-hydra v2.4.0

Features

feat: Use host uid:gid and use in docker to avoid file permissions problems (#576)

Fixes

fix: Resolve broken e2e tests by adding a checkout step in CircleCI (#580)

Breaking Changes

None

v2.3.0

Example Storefront v2.3.0 is a minor version update to keep this project in sync with Reaction v2.3.0 and reaction-hydra v2.3.0

v2.2.1

Example Storefront v2.2.1 is a patch update to keep this project in sync with Reaction v2.2.1 and reaction-hydra v2.2.1

v2.2.0

Example Storefront v2.2.0 is a minor update to keep this project in sync with Reaction v2.2.0 and reaction-hydra v2.2.0

v2.1.0

Example Storefront v2.1.0 is a minor update to keep this project in sync with Reaction v2.1.0 and reaction-hydra v2.1.0

Docs

docs(readme): component library naming #555 docs: Adjust graphiql URLs links and docs #551

Chores

chore: Add 302 redirects to env.EXTERNAL_GRAPHQL_URL #550 chore: update changelog + version match #548

Breaking Changes

None

v2.0.0

Reaction v2.0.0—an API-first, real-time commerce engine built using Node.js, React, and GraphQL. It’s the second major release of our open source commerce software.

This release is coordinated with Reaction Platform and is designed to work with the Reaction and reaction-hydra.

Reaction v2.0.0 is built as a truly headless commerce platform that decouples the Reaction backend services from the frontend. We’ve decoupled the storefront application from the API. Reaction platform now consists of this Example Storefront, which connects with the Reaction application via GraphQL to provide a customer-facing storefront. The API is provided by the Reaction project, which is now primarily our GraphQL API. The legacy integrated Meteor storefront is no longer part of the Reaction project.

Notable changes

This Example Storefront is brand new for the 2.0 version of Reaction. Check out previous release notes from this project for details and associated issues and PRs.

See the release notes for the Reaction project for more information about our 2.0 release.

New documentation

See this page for a non-comprehensive list of new and updated docs.

Some highlights:

OS notes

Support for Windows. [reaction-platform](https://github.com/reactioncommerce/reaction-platform) is not compatible with Windows and has not been fully tested on Windows at this time.

MacOS and Linux are supported. Reaction will support development in a dockerized environment and will focus on tooling and documentation for installation and configuration on the macOS and Linux OSes.

We've adopted the DCO

We've adopted the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement for all contributions to Reaction Commerce open source projects. We request that contributors agree to the terms of the DCO and indicate that agreement by signing all commits made to Reaction Commerce projects by adding a line with your name and email address to every Git commit message contributed:

Signed-off-by: Jane Doe <jane.doe@example.com>

You can sign your commit automatically with Git by using git commit -s if you have your user.name and user.email set as part of your Git configuration.

We ask that you use your real name (please no anonymous contributions or pseudonyms). By signing your commit you are certifying that you have the right have the right to submit it under the open source license used by that particular Reaction Commerce project. You must use your real name (no pseudonyms or anonymous contributions are allowed.)

We use the Probot DCO GitHub app to check for DCO signoffs of every commit. If you forget to sign your commits, the DCO bot will remind you and give you detailed instructions for how to amend your commits to add a signature.

We're following in the footsteps of several other open source projects in adopting the DCO such as Chef, Docker, and GitLab

Contributors

Our sincere thanks to @loan-laux and @aldaircruz for contributing to this release.

Share your feedback

We want to hear from you! Here are some good ways to get in touch.

  • Want to request a new feature for Reaction? There’s now a Reaction repo just for new feature requests.
  • Reaction engineers and community engineers and developers are always collaborating in our Gitter chat channel
  • Ask Us Anything! Watch this space for details about an upcoming Community Q&A session with the Reaction team.

v2.0.0-rc.12

This is our fourth release candidate for this project. While this project is technically still pre-release until we've released the final 2.0.0 version, it's the most stable version of Reaction Commerce, and we recommend starting new projects with it at this point. See #487 (comment) for more detail on this.

This version should be used with v2.0.0-rc.12 of https://github.com/reactioncommerce/reaction

Highlights

We have renamed this project from reaction-next-starterkit to example-storefront to better convey the intent behind our creating it. We’re also updating our docs to clarify this change.

The GraphQL API in reaction v2.0.0-rc.12 has been changed from /graphql-alpha to graphql-beta to indicate the increased stability of the API. We think there are still some breaking changes to come in the next 3-6 months to the GraphQL API which is why we're keeping the -beta suffix for now. As you find bugs with that API, please file issues in the reaction repo.

Improvements

Feature

  • feat: always send a response to logout requests (#520)
  • feat: add Orders to Account Profile (#507)

Fix

  • fix: de-duplicate styled-components package (#542)
  • fix: only run snyk when package.json changes (#541)
  • fix: change calibre ci step to use npx (#535)
  • fix: prettier config was in the wrong place (#532)
  • feat: remove unused fields from GQL query (#527)
  • fix: Update component theming example remove blocking code to allow starterkit to start (#514)

Chore

  • chore: removes fossa status from readme (#545)
  • chore: rename project to example-storefront (#544)
  • chore: fix debugger command in README (#539)
  • chore: change pinned deps to ~ ranges (#538)
  • chore: match license from LICENSE.md and README (#536)
  • chore: Switch to semver ~1.2.3 style ranges (#534)
  • chore: update yarn.lock to resolve snyk js-yaml vuln (#531)
  • chore: ignore snyk js-yaml vuln for 30 days (#523)

Docs

  • docs: remove production warning (#543)
  • docs: add instructions on how to run starterkit w/ prod API (#537)
  • docs: Fix minor typo on README.md (#525)

v2.0.0-rc.11

This is our third release candidate for this project. This project should be considered pre-release until we've released the final 2.0.0 version.

This version should be used with v2.0.0-rc.11 of https://github.com/reactioncommerce/reaction

Improvements

Feature

  • feat: add Orders to Account Profile (#507)

Fix

  • fix: Update component theming example (#511)

Chore

  • chore: remove blocking code to allow starterkit to start (#514)

v2.0.0-rc.10

This is our second release candidate for this project. This project should be considered pre-release until we've released the final 2.0.0 version.

This version should be used with v2.0.0-rc.10 of https://github.com/reactioncommerce/reaction

Improvements

Dev Utilities

  • We have made it easier to debug and troubleshoot issues in our Docker image: (#504)

General

  • We added a new new profile address book page (#499)
  • We added support for GraphQL Subscriptions (#492)
  • We added the ability to get sitemap data from GQL API and make it available on sitemap*.xml routes (#488)
  • We added the ability to have surcharges attached to an order (#499)

Breaking Changes

Multiple Payment Support

  • All of the individual placeOrder* GraphQL mutations provided by the built-in payment plugins are removed and replaced with a single placeOrder mutation which supports multiple payments. Any custom payment method plugins will break due to the removal of createOrder internal mutation. Look at all changes. (reactioncommerce/reaction#4908)

Feature

  • feat: performance metrics integration with calibre (#508)
  • feat: add dev utilities to the docker image (#504)
  • feat: new Profile Address page (#499)
  • feat: add graphql subscription support (#492)
  • feat: setup sitemap routes to get data from GQL server (#488)
  • feat: display order surcharges in UI (#449)

Fixes

  • fix: add enhancements to sitemap route handling (#497)
  • fix: updated dependencies and snyk policies (#496)

Refactor

  • refactor: update checkout to support multiple payments (#477)
  • refactor: navigation data comes from new NavigationTree (#472)

Chore

  • chore: update typography variants based on MUI warning (#506)
  • chore: updated config for modules and tree shaking (#495)

Docs

  • docs(tags): update tag docs to include sitemap, isVisible (#505)

v2.0.0-rc.9

This is our first release candidate for this project - we're going to be synchronizing releases across the differents parts of the Reaction Commerce ecosystem, so that's why we're starting with rc.8. This project should be considered pre-release until we've released the final 2.0.0 version.

Features

  • feat: Improve loading pattern for tags and navItems (#461)
  • feat(tlp metadata): render metafield as metadata on TLP (#453)
  • feat(tlp title): add tag listing page's display title (#450)
  • feat: 443: PDP: Remove Tags display (#447)
  • feat: Add subtotal to CartItems (#437) .. Resolves #240
  • feat: Simplify customization (#454)
  • feat: Use new order.referenceId as displayed order ID (#434)
  • feat: 366 nnnnat address validation (#421)
  • feat: Enable/Disable Single-page app routing (#419)
  • feat: Renew access tokens on 401 errors using redirects to auth endpoint (#399)
  • feat: Add "Order Completed" event tracking (#388)
  • feat: Add tracking to checkout flow (#384)
  • feat: Add tracking for "Product Removed" + "Cart Viewed" events (#372)
  • feat: Create hydra client on startup (#363)
  • feat: Add tracking for "Product Added" Segment event (#361)
  • feat: 353 nnnnat status labels (#358)
  • feat: update node to version 10 (#347)
  • feat: Add sign in/up info in auth URL generated by Passport (#320)

Fixes

  • fix: Fix infinite loader when cart empty (#474)
  • fix: fix logic for retrying 401s with silent re-auth (#471)
  • fix: Add proper isMounted checking (#455)
  • fix: Fix error when clicking links when ENABLE_SPA_LINKS=false (#442)
  • fix: Add null check (#429)
  • fix: incorrect logger.debug (#428)
  • fix: show tax total in all summaries (#424)
  • fix(414): Fullname is not saved or displayed (#420)
  • fix(config): add canonicalUrl to publicRuntimeConfig (#418)
  • fix(340): catch Stripe Payment error and save error message (#406)
  • fix(385): Fix Product title & image URLs in Cart, MiniCart, FinalReviewCheckoutAction (#412)
  • fix: SSR issues with product grids and PDP pages (#407)
  • fix: integration test finished before resolving (#401)
  • fix: 369 compareAtPrice (#383)
  • fix: Remove unused scopes and grant_type (#390)
  • fix: Update src/lib/theme/components.js (#392)
  • fix: PDP Mobile re-org (#373)
  • fix: Add metafields to product query (#378) .. Resolves #375
  • fix: Mobile nav design & bug fixes (#346)
  • fix: issue cause by using Router from next/routes on the server (#368)
  • fix: Always use https for npm registry (#365)
  • fix: Duplicated initials in logged in indicator (#343)
  • fix: clear a user's cart after placing an order, and remove MiniCart popper from order completed page. (#332)
  • fix: add padding to cart items in order complete page (#338)
  • fix: Replace passport server-side sessions with cookie session (#349)
  • fix: MiniCart popper occasionally being drawn at the wrong position. (#336)

Docs

  • docs: update install instructions to link to the official Docs (#382)
  • docs: numbering bug (#337)

Performance Improvements

  • perf: Performance improvements (#396)

Refactors

  • refactor: inventory status fixes and updated UI design (#459)
  • refactor: unsplit first and last name fields in Checkout saving (#386)
  • refactor: static assets (#367)
  • refactor: progressive image (#362) .. Resolves #227

Chores

  • chore: integrate ssr test + broken link checker to CI (#473)
  • chore: update the component library to 0.60.1 (#464)
  • chore: Add logger messages for 401 error (#423)
  • chore: upgrade reactioncommerce/components to latest (#425)
  • chore: Deploy develop branch to staging environment in ECS (#355)
  • chore: Enable Webpack tree shaking (#352)
  • chore upgrade babel and next (#341)
  • chore: Set project license to Apache 2.0 (#339)