Releases: jest-community/vscode-jest
v3.1.0 (Dec 20, 2019)
In this release, we improved accessibility, UI, code coverage, error display and addressed a few frequently reported bugs.
New & Improved
- improve accessibility:
- replaced the test status indicators from color-differentiated circles to status specific icons
- status bar improvement:
- more accurately reporting testing running/stopping via jest reporters
- adopted vscode native spinner
- will show coverage and watch modes
- improve test error messages:
- when hovering over test errors, the error message will no longer be arbitrarily truncated.
- color escape sequences should be gone from all error messages.
- improve test coverage: now coverage can be truly dynamically turn on/off without any customization
- fix space or special characters in path failure bug: the execution commands are now in quotes and executed via shell
For complete list, see Changelog.
Config Change
- code coverage:
- If you have hardcoded
--coverageor--watchAllin your jest command/config for showing code coverage, it is no longer needed. If you want to see code coverage always, just set"jest.showCoverageOnLoad"to true in vscode settings; otherwise it is probably more efficient to toggle on code coverage only when needed.
- If you have hardcoded
jest.enableInlineErrorMessages- the default value has changed to
falsein this release to favor the more completed error message when hovering-over. If you prefer to see inline errors, set this flag to true in vscode settings.
- the default value has changed to
Contributors
There are quite a few changes accumulated since the last release. It's exciting to see help from so many different contributors: @rhalaly, @shruda, @rfgamaral, @jmarceli, @garyking, @vuchl, @tarepan, @connectdotz, @stephtr
Thank you 🙏
v3.0.2
merged from beta releases (3.0.0-pre, 3.0.1-pre), recap:
What is new
One of the main features introduced in 3.0.0 is to support vscode multi-root workspaces, a popular request, especially for monrepo projects.
This release also included many other highly desired features/fixes, such as
- debugger break-point misalignment
- restart commands
- snapshot preview
- test result being ignored (not updating test status indicator)
- improve template-literal test name support
and some internal improvement:
- reduced the extension footprint by 90% (installation/upgrade should be a lot faster)
- applied security patches flagged by github
- added linter for more consistent coding style
see #442 and Changelog for more detail.
Many thanks 🙏 to @escaton, @blikblum, @vdh, @qalex, @connectdotz, @stephtr !
v3.0.1-pre
What is new
- introduced webpack for packaging the extension, which cut the package size from 40M to 4M!
- addressed security vulnerability for dependencies flagged by GitHub
Thanks, @stephtr !
(See more change detail for 3.0.0)
How to run with this pre-release?
- download
vscode-jest-3.0.1.vsixbelow - install the plugin:
code --install-extension vscode-jest-3.0.1.vsix- this should install the extension to your vscode extensions folder.
- restart vscode
- You can then go to the extension tab in vscode and find
Jestextension, if it shows "3.0.1" then the installation succeeded.
- You can then go to the extension tab in vscode and find
v3.0.0-pre
What is new
One of the main features introduced in 3.0.0 is to support vscode multi-root workspaces, a popular request, especially for monrepo projects.
This release also included many other highly desired features/fixes, such as debugger break-point misalignment, restart commands, snapshot preview, etc, please see Changelog for detail.
Many thanks 🙏 to @escaton, @blikblum, @vdh, @qalex!
pre-release
The muti-root change is not trivial, it impacted every component as they all need to be workspace/folder aware now. Thus we created this pre-release for people to play around and help us identify issues sooner. We encourage all users to try 3.0.0 pre-release when possible. (You can always switch back to the official version 2.9.2 if needed).
feel free to file issues or come to discuss with us in #442
How to test with 3.0.0?
- download
vscode-jest-3.0.0.vsixfrom here - install the plugin:
code --install-extension vscode-jest-3.0.0.vsix- this should install the extension to your vscode extensions folder.
- restart vscode
- You can then go to the extension tab in vscode and find
Jestextension, if it shows "3.0.0" then the installation succeeded.
- You can then go to the extension tab in vscode and find