Releases: stryker-mutator/stryker-js
Releases · stryker-mutator/stryker-js
v6.2.0
6.2.0 (2022-09-06)
Bug Fixes
- deps: update babel monorepo to ~7.19.0 (#3716) (edc1ae0)
- deps: update dependency log4js to ~6.6.0 (#3628) (201bba2)
- json-report: make all file paths relative in report (#3617) (d51f1a9)
- mutant placing: computed member expressions (#3713) (e6ee245)
- regex: support unicode regex flags(#3642) (fcf3a6b), closes #3579
- typescript: support TS v4.8 (#3700) (f6b8ff4)
Features
v6.2.0-beta.0
v6.1.2
v6.1.1
v6.1.0
6.1.0 (2022-06-27)
Bug Fixes
- deps: update dependency @cucumber/messages to v18 (#3554) (596347e)
- deps: update dependency @cucumber/messages to v19 (#3559) (969fb1d)
- deps: update dependency commander to ~9.3.0 (#3546) (1142f11)
- deps: update dependency file-url to v4 (#3555) (658f00e)
- deps: update dependency get-port to v6 (#3556) (2cae23f)
- deps: update dependency glob to v8.0.3 (#3531) (bb5611a)
- deps: update dependency inquirer to v9 (#3592) (db0bd34)
- deps: update dependency log4js to ~6.5.0 (#3547) (67df3f0)
- deps: update dependency minimatch to ~3.1.0 (#3549) (a4e5c43)
- deps: update dependency minimatch to v5.1.0 (#3548) (c27ec2f)
- deps: update dependency semver to v7.3.7 (#3532) (2dce631)
- jest: allow mixin jest env for unit testing (#3598) (da8a720)
- logging: log non-existing node_modules on debug (#3521) (766072f)
Features
- mocha-runner: report the test's file name (#3504) (34d8e70)
- mutators: Add method expression mutator (#3508) (70a4e4f)
- plugin: allow fileDescriptions to be injected (#3582) (fa2b77e)
- cucumber: support native esm (#3596) (4eaf713), closes #3596
BREAKING CHANGES
- The
@stryker-mutator/cucumber-runner
now requires@cucumber/cucumber
v8 or up.
v6.0.2
v6.0.1
v6.0.0
6.0.0 (2022-05-03)
Bug Fixes
- core: allow parallel schedules (#3485) (bbbd514)
- html-report: set correct background color for html report (#3456) (a72ecf1)
- karma-runner: allow dispose during init (#3487) (4fcf148)
- reporter: report progress of failed check results only once (#3472) (dce5882)
- stryker-cli: allow stryker-cli integration (330ef6c)
chore
- node: drop support for Node 12 (10d874e)
Code Refactoring
Features
- config file: accept hidden config file by default. (#3457) (701374f)
- mocha-runner: widen mocha peer dependency to include v10 (#3492) (0dde30f)
- mutation testing: sort tests to improve performance (#3467) (47344d3)
- progress: improve progressbar ETC estimate (#3469) (ec63d93)
- react: support react 18 projects by default (#3491) (82d9bce)
- warn slow: warn users for slow runs (#3490) (1103958)
BREAKING CHANGES
- file: The
File
class is no longer part of the public api and is thus no longer exported from@stryker-mutator/api
. Plugin creators shouldn't rely on it anymore. - progress: Reporter API method
onAllMutantsMatchedWithTests
has been replaced byonMutationTestingPlanReady
. Please use that for your reporter plugin instead. - progress: Reporter API method
onAllSourceFilesRead
has been removed, please useonMutationTestReportReady
to retrieve the source files. - progress: Reporter API method
onSourceFileRead
has been removed, please useonMutationTestReportReady
to retrieve the source files. - node: Drop support for Node 12. Minimal version is now Node 14.18.0.
v6.0.0-beta.0
6.0.0-beta.0 (2022-03-02)
Bug Fixes
Features
- checker-api: support checking on groups of mutants (#3450) (e9bbd39)
- esm config: support config file as pure esm (#3432) (309a7e2)
- esm: migrate StrykerJS to pure ESM (#3409) (78c305e)
- esm: support esm in the mocha runner (#3393) (2eb3504), closes #2413 #2413
- esm: support native es modules in the jasmine runner. (#3396) (94708d0), closes #3340
- hit limit: infinite loop prevention in jest-runner (#3439) (5fecd52)
- html reporter: allow choice of
fileName
. (#3438) (d197319) - ignore static: allow to ignore static mutants (#3284) (75d9b79)
- ignore static: prevent leak of hybrid mutants (#3443) (231049a)
- karma-runner: support async karma configuration (#3433) (7204a43), closes /github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23
- reload test environment: implement test environment reload (#3369) (b95b907)
- test runner api:
killedBy
is always an array (#3187) (c257966)
Performance Improvements
BREAKING CHANGES
- checker-api: The
check
method of checker plugins now receives a group of mutants and should provide aCheckResult
per mutant id. - html reporter: Configuration option
htmlReporter.baseDir
is deprecated and will be removed in a later version. Please usehtmlReporter.fileName
instead. - esm config: Exporting a function (using
module.exports = function(config) {}
) from yourstryker.conf.js
file is no longer supported. This was already deprecated but now will give an error. - esm: StrykerJS is now a pure ESM. Please read this.
- esm: Node 12.20 is now the min version.
- esm: Karma v6.3 is now the min supported karma version for
@stryker-mutator/karma-runner
, since that version added support for async config loading - esm: The
@stryker-mutator/jamsine-runner
now requires [email protected] or higher. - esm: The
@stryker-mutator/mocha-runner
now requires[email protected]
or higher. - reload test environment: Test runner plugins must provide
TestRunnerCapabilities
by implementing thecapabilities
method.