Angular v12 included a number of significant breaking changes that required updates to Wallaby’s Angular integration. The latest version of Wallaby now fully supports Angular CLI v12.
The next major version of Jest was released on
May 25, 2021. The changes in this major version release required significant updates to Wallaby’s Jest integration, which we had been working on for a number of months with Jest’s beta releases. We were pleased to be able to release support for
Jest v27 within a day after it was released.
tests sections of your Wallaby configuration now support an extra property, hideFromErrorStackTrace. The
hideFromErrorStackTrace setting is a boolean property that defaults to
false; if set to
true, Wallaby will exclude the file from error stack traces.
By default, Wallaby’s Time Travel Debugger limits the number of available debug steps to ensure that your computer’s performance (memory and CPU load) is not adversely affected. The default value of
1,000,000 steps may now be changed using the maxTraceSteps setting.
If for some reason you are logging stack traces within console.log messages and you would like the stack traces to be mapped back to your original source code then you may use the mapConsoleMessagesStackTrace setting.
Previously only VS Code and JetBrains editors supported Wallaby’s
Update Snapshot commands. These commands now exist for all editors.
In addition to adding these commands, the
Run Line Tests,
Run File Tests and
Run Project Tests commands no longer update snapshots;
instead, use the
Update Test Snapshots,
Update File Snapshots and
Update Project Snapshots commands.
For VS Code, Wallaby’s new Output Inspector provides an ergonomic and convenient way of inspecting logged values and errors details in a rich editor-friendly manner. Information is displayed in a code editor window, providing rich keyboard support and allowing you to stay in your coding mindset so that you don’t lose your flow. This feature is also coming soon for JetBrains editors.
Wallaby now has first class support for
Yarn 2. If you use
Yarn 2 and want to use Wallaby, then check out the Yarn 2 section of our docs.
The latest version of Angular CLI (
v11.2) introduced a breaking change. The latest version of Wallaby now fully supports Angular CLI v11.2.