diff --git a/release-notes/release-note-v5.md b/release-notes/release-note-v5.md index 2805d358..06752f38 100644 --- a/release-notes/release-note-v5.md +++ b/release-notes/release-note-v5.md @@ -1,19 +1,21 @@ # vscode-jest v5 Releases --- + - [v5.0.0 (pre-release)](#v500-pre-release) - [Features](#features) - [Output Terminals](#output-terminals) - [Login Shell Support](#login-shell-support) - [Long Run Monitor](#long-run-monitor) - [One-click disable non-jest folder for monorepo project](#one-click-disable-non-jest-folder-for-monorepo-project) -- [Fixes](#fixes) + - [Fixes](#fixes) - [Deep Activation](#deep-activation) - [AutoRun Default Change](#autorun-default-change) + - [Incorrect TestExplorer tests passed count](#incorrect-testexplorer-tests-passed-count) - [Breaking Changes](#breaking-changes) --- -## v5.0.0 (pre-release) +## v5.0.0 (pre-release) After more than an year with the vscode TestExplorer, it has been proven stable and a preferred user-experience. In v5.0.0 we started to consolidate and clean up redundant legacy functions/UI in favor of TestExplorer, such as moving run output to Terminal, retire legacy test status decorators and settings. @@ -29,7 +31,7 @@ Jest run will be shown in Terminal instead of OUTPUT tab to provide familiar run We will no longer force "reveal" the last run output terminal. The new terminals will only be automatically "revealed" when encountered errors prevented tests to run. Therefore, we are retiring setting `"jest.showTerminalOnLaunch"` -(#910 - @connectdotz) +([#910](https://github.com/jest-community/vscode-jest/pull/910) - @connectdotz) #### Login Shell Support @@ -42,29 +44,29 @@ While there are many work arounds, we want to add one more option for users pref Note, the extra initialization might have some performance overhead, use this with caution. -(#874 - @connectdotz) +([#874](https://github.com/jest-community/vscode-jest/pull/874) - @connectdotz) #### Long Run Monitor In v5 we also added a long-run monitor to be proactive in helping users detect and potential workaround such situation. The threshold setting ["jest.monitorLongRun"](../README.md#monitorlongrun) default is 60 seconds: `"jest.monitorLongRun": 60000`, -(#904 - @connectdotz) +([#904](https://github.com/jest-community/vscode-jest/pull/904) - @connectdotz) #### One-click disable non-jest folder for monorepo project The current monorepo jest detection is "greedy", it assumes all multi-root folders have jest tests. Indeed it's not ideal and we do plan to fix it. Until then, users can now one-click to "disable" the failed folders from the error message window. -(#896 - @jonnytest1) +([#896](https://github.com/jest-community/vscode-jest/pull/896) - @jonnytest1) -## Fixes +### Fixes #### Deep Activation -The extension auto activated when it detects jest config files or modules under the project root. For more sophisticated projects that jest root !== project root, they will not be activation even if they set the `jest.rootPath`. In v5, we will look for jest config files in the whole project tree, except in node_modules for performance reason. +The extension auto activates (showing "Jest" in status bar and TestExplorer) when it detects jest config files or modules under the project root. For more sophisticated projects that jest root !== project root, they will not be activated automatically even if they set the `jest.rootPath`. In v5, we will look for jest config files in the whole project tree, except in "node_modules" for performance reason. For projects do not meet any of the existing activation events, there is now a new activation event for `".vscode-jest"` file, an empty marker file, anywhere in the project tree (however, prefer to be in jest root folder). -(#907 - @connectdotz) +([#907](https://github.com/jest-community/vscode-jest/pull/907) - @connectdotz) #### AutoRun Default Change @@ -72,7 +74,12 @@ The `"jest.autoRun"` default used to be `{"watch": "true", "onStartup": ["all-te If you already have the `"jest.autoRun"` in your settings.json file, nothing will change. If you didn't have `"jest.autoRun"`, then you will probably notice a faster start-up, but maybe not all tests are run and marked as circle (unknown) instead. These are the files that have not checkout/changed therefore less risk of being broken (determined by watchman). Of course users can always run them explicitly or change the setting if desired. -(#906 - @connectdotz) +([#906](https://github.com/jest-community/vscode-jest/pull/906) - @connectdotz) + +#### Incorrect TestExplorer tests passed count +Fixed the test suites got counted toward these counts. + +([#916](https://github.com/jest-community/vscode-jest/pull/916) - @connectdotz) ### Breaking Changes - `"jest.showTerminalOnLaunch"` is deprecated. @@ -82,4 +89,4 @@ If you already have the `"jest.autoRun"` in your settings.json file, nothing wil --- -[v5.0.0 pre-release](https://github.com/jest-community/vscode-jest/releases/tag/v5.0.0) \ No newline at end of file +Detailed changes: [v5.0.0 pre-release](https://github.com/jest-community/vscode-jest/releases/tag/v5.0.0) \ No newline at end of file