Skip to content

Releases: jest-community/vscode-jest

v4.0.0-alpha.0 (July 1, 2020)

02 Jul 01:51
e2b79c2
Compare
Choose a tag to compare
Pre-release

Summary

This is the first release of v4 (#576). This release contains the following features:

  • a brand new test result matching algorithm that aims to address all "unknown" test status indicator issues, such as duplicate test names or by using jest.each.

  • fixed coverage merge issue that made coverage overlay unreliable sometimes.

  • improve create-react-app and --watchAll detection logic.

  • upgrade dependencies to the current version and resolved all known security vulnerabilities.

  • many other development tooling changes as well, such as migrating to eslint.

Contributors 🙏

@stephtr, @lordofthelake, @connectdotz

How to test

you can manually install the plugin by downloading the vscode-jest-4.0.0-alpha.0.vsix below, then follow the vscode instruction: install from vsix. You can always revert to the official version if needed: install-previous-versions.

There is a lot of new stuff, so we added quite a few debugging messaging to help diagnose problems. if anything didn't do what you expected, please turn on the debug mode and file issues.

v3.2.0 (Apr 27, 2020)

27 Apr 22:44
25394c8
Compare
Choose a tag to compare

Bug Fix

  • fix orphan process leak for some user environments, such as react.

Enhancement

  • multi-root environment will now report error with the workspace folder name.
  • some minor document and message fixes.

Contributors 🙏

@stephtr, @berniedurfee, @raphaelbs, @connectdotz


CHANGELOG | commit history

v3.1.1 (Jan 15, 2020)

15 Jan 16:23
6d9fed3
Compare
Choose a tag to compare

Minor release

Bug Fix

  • fix -reporters loading failed with whitespace in its path.

CHANGELOG | commit history

v3.1.0 (Dec 20, 2019)

20 Dec 12:18
3ff9f81
Compare
Choose a tag to compare

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 --coverage or --watchAll in 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.
  • jest.enableInlineErrorMessages
    • the default value has changed to false in 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.

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

04 Jul 07:17
Compare
Choose a tag to compare

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

23 Jun 20:26
Compare
Choose a tag to compare
v3.0.1-pre Pre-release
Pre-release

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?

  1. download vscode-jest-3.0.1.vsix below
  2. install the plugin: code --install-extension vscode-jest-3.0.1.vsix
  3. restart vscode
    • You can then go to the extension tab in vscode and find Jest extension, if it shows "3.0.1" then the installation succeeded.

v3.0.0-pre

16 Jun 23:03
Compare
Choose a tag to compare
v3.0.0-pre Pre-release
Pre-release

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?

  1. download vscode-jest-3.0.0.vsix from here
  2. install the plugin: code --install-extension vscode-jest-3.0.0.vsix
  3. restart vscode
    • You can then go to the extension tab in vscode and find Jest extension, if it shows "3.0.0" then the installation succeeded.