github reactioncommerce/reaction v2.0.0-rc.4

v2.0.0-rc.4

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)

Don't miss a new reaction release

NewReleases is sending notifications on new releases.