Releases: stryker-mutator/stryker-js
Releases · stryker-mutator/stryker-js
v5.1.1
v5.1.0
v5.0.1
v5.0.0
5.0.0 (2021-05-14)
Bug Fixes
- sandbox: make directory if not exists before symlinking node_modules (#2856) (40f9a1d)
- vue-tsx: support parsing tsx script in .vue file (#2850) (dc66c28)
Features
- es: convert to es2019 (#2846) (36c687f)
- ignore patterns: add "ignorePatterns" config option (#2848) (a69992c), closes #1593 #2739
- jest: report test files and test positions (#2808) (c19095e)
- jest-runner: drop projectType "create-react-app-ts" (#2788) (2581e32), closes #2787 #2787
- mutators: mutate nullish coalescing operator (#2884) (021a419)
- node: Drop support for node 10 (#2879) (dd29f88)
- options: make "perTest" the default for "coverageAnalysis" (#2881) (518ebe6)
- range: remove Range from the API (#2882) (b578b22), closes #322
- report: add test details and metadata to JSON report (#2755) (acb0a3a)
- report: report test states (#2868) (e84aa88)
- reporter api: unify reporter api with mutation-testing-elements (#2798) (d173b27), closes #2766
- serialize: remove surrial (#2877) (5114835)
BREAKING CHANGES
- range: The
range
property is no longer present on amutant
. Note, this is a breaking change for plugin creators only.
Co-authored-by: Simon de Lang [email protected]
- options:
"perTest"
is now the default value for "coverageAnalysis" when the configured test runner is not "command". Explicitly set"coverageAnalysis": "off"
manually to opt-out of this behavior. - node: Node 10 is no longer supported. Please use Node 12 or higher.
- serialize: Having a non-JSON-serializable value in your configuration won't be sent to the child process anymore. If you really need them in your test runner configuration, you should isolate those values and put them in test runner-specific config files, loaded by the test runner plugin itself, for example, jest.config.js, karma.conf.js, webpack.config.js.
- ignore patterns: Stryker will no longer use a git command to determine which files belong to your project. Instead, it will rely on sane defaults. You can change this behavior by defining
ignorePatterns
. - ignore patterns: The
files
configuration option is deprecated and will be removed in a future release. Please useignorePatterns
instead.
This:
{
"files": ["foo.js"]
}
Is equivalent to:
{
"ignorePatterns": ["**", "!foo.js"]
}
- reporter api: Changes to
Reporter
andTestRunner
plugin API of Stryker - jest-runner: Support for project type
create-react-app-ts
is dropped from the jest-runner.
v4.6.0
v4.0.0
v4.0.0-beta.10
v4.0.0-beta.10