Reaction Commerce v2.0.0-rc.4 Release Notes

  • ๐Ÿš€ This is our fourth release candidate for v2.0.0 of Reaction. Please check it out and let us know what works and what doesn't for you.

    ๐ŸŽ Improving Jest test performance in CI

    ๐Ÿ‘€ We started seeing unit tests timing out in CI in the morning on Friday October 5. It doesn't appear that this was caused by a change in our jest version as we were able to reproduce the issues on older branches which were previously passing. ๐ŸŽ This is resolved in #4176 by changing our test:unit script in package.json to run jest with the --maxWorkers=4 flag. This resolved our issue with tests timing out, and improves test performance in CI overall. This is suggested in the troubleshooting jest here: https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-and-or-continuous-integration-ci-server

    Checkout Totals

    ๐Ÿ’ป There were some cases in the Classic Storefront UI where there would be a discrepancy between the total calculated on the server and the price calculated by the client. This is not an issue in the Next.js Storefront as all price values are calculated on the server. This is resolved in #4701

    ๐Ÿ›  Bugfixes

    ๐Ÿ›  fix: round total when verifying it on order create (#4701) .. Resolves #4684

    Chores

    ๐Ÿ›  fix: limit jest maxWorkers to 4 to improve CI perf (#4716)