Skip to content

Commit

Permalink
v6.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Mar 2, 2022
1 parent 3bc0bf8 commit f0d5879
Show file tree
Hide file tree
Showing 26 changed files with 397 additions and 48 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,51 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Bug Fixes

* **jest:** hit limit spread over multiple files ([#3446](https://github.com/stryker-mutator/stryker-js/issues/3446)) ([51308f4](https://github.com/stryker-mutator/stryker-js/commit/51308f4f071693b19dd0f335a107c6ffa87ce309))


### Features

* **checker-api:** support checking on groups of mutants ([#3450](https://github.com/stryker-mutator/stryker-js/issues/3450)) ([e9bbd39](https://github.com/stryker-mutator/stryker-js/commit/e9bbd394092aa86f2eabc857ec7feabc6d7a0b4f))
* **esm config:** support config file as pure esm ([#3432](https://github.com/stryker-mutator/stryker-js/issues/3432)) ([309a7e2](https://github.com/stryker-mutator/stryker-js/commit/309a7e2807e454a82f177de781bc4908f87c739b))
* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))
* **esm:** support esm in the mocha runner ([#3393](https://github.com/stryker-mutator/stryker-js/issues/3393)) ([2eb3504](https://github.com/stryker-mutator/stryker-js/commit/2eb35042da4e78021dcf54ac71c22f97eb91ff70)), closes [#2413](https://github.com/stryker-mutator/stryker-js/issues/2413) [#2413](https://github.com/stryker-mutator/stryker-js/issues/2413)
* **esm:** support native es modules in the jasmine runner. ([#3396](https://github.com/stryker-mutator/stryker-js/issues/3396)) ([94708d0](https://github.com/stryker-mutator/stryker-js/commit/94708d00b43e3f84accd42ccb40d95ff30718efa)), closes [#3340](https://github.com/stryker-mutator/stryker-js/issues/3340)
* **hit limit:** infinite loop prevention in jest-runner ([#3439](https://github.com/stryker-mutator/stryker-js/issues/3439)) ([5fecd52](https://github.com/stryker-mutator/stryker-js/commit/5fecd520abd1826ee4c8296d7f1bbee197a300dc))
* **html reporter:** allow choice of `fileName`. ([#3438](https://github.com/stryker-mutator/stryker-js/issues/3438)) ([d197319](https://github.com/stryker-mutator/stryker-js/commit/d197319a21872a77b28cfef16c1087bf1bb4b9dc))
* **ignore static:** allow to ignore static mutants ([#3284](https://github.com/stryker-mutator/stryker-js/issues/3284)) ([75d9b79](https://github.com/stryker-mutator/stryker-js/commit/75d9b792e04dbafaaaff88c3994cf1a1e456610b))
* **ignore static:** prevent leak of hybrid mutants ([#3443](https://github.com/stryker-mutator/stryker-js/issues/3443)) ([231049a](https://github.com/stryker-mutator/stryker-js/commit/231049a32f73083c7579b1bf8b4424ad309f655d))
* **karma-runner:** support async karma configuration ([#3433](https://github.com/stryker-mutator/stryker-js/issues/3433)) ([7204a43](https://github.com/stryker-mutator/stryker-js/commit/7204a431fb526785029d9d87eadbdadfc0e3ddcd)), closes [/github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23](https://github.com//github.com/karma-runner/karma/blob/master/CHANGELOG.md/issues/630-2021-03-23)
* **reload test environment:** implement test environment reload ([#3369](https://github.com/stryker-mutator/stryker-js/issues/3369)) ([b95b907](https://github.com/stryker-mutator/stryker-js/commit/b95b907e54d3a114731a8bcf659a1910df4e4f0b))
* **test runner api:** `killedBy` is always an array ([#3187](https://github.com/stryker-mutator/stryker-js/issues/3187)) ([c257966](https://github.com/stryker-mutator/stryker-js/commit/c257966e6c7726e180e072c8ae7f3fd011485c05))


### Performance Improvements

* **esm:** migrate perf tests tasks to esm ([#3441](https://github.com/stryker-mutator/stryker-js/issues/3441)) ([e31d625](https://github.com/stryker-mutator/stryker-js/commit/e31d6250bea30971aaaba894c4043e2359b4fb89))


### BREAKING CHANGES

* **checker-api:** The `check` method of checker plugins now receives a _group of mutants_ and should provide a `CheckResult` per mutant id.
* **html reporter:** Configuration option `htmlReporter.baseDir` is deprecated and will be removed in a later version. Please use `htmlReporter.fileName` instead.
* **esm config:** Exporting a function (using `module.exports = function(config) {}`) from your `stryker.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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)
* **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 the `capabilities` method.





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "5.6.1",
"version": "6.0.0-beta.0",
"command": {
"version": {
"allowBranch": [
Expand Down
29 changes: 29 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Features

* **checker-api:** support checking on groups of mutants ([#3450](https://github.com/stryker-mutator/stryker-js/issues/3450)) ([e9bbd39](https://github.com/stryker-mutator/stryker-js/commit/e9bbd394092aa86f2eabc857ec7feabc6d7a0b4f))
* **esm config:** support config file as pure esm ([#3432](https://github.com/stryker-mutator/stryker-js/issues/3432)) ([309a7e2](https://github.com/stryker-mutator/stryker-js/commit/309a7e2807e454a82f177de781bc4908f87c739b))
* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))
* **html reporter:** allow choice of `fileName`. ([#3438](https://github.com/stryker-mutator/stryker-js/issues/3438)) ([d197319](https://github.com/stryker-mutator/stryker-js/commit/d197319a21872a77b28cfef16c1087bf1bb4b9dc))
* **ignore static:** allow to ignore static mutants ([#3284](https://github.com/stryker-mutator/stryker-js/issues/3284)) ([75d9b79](https://github.com/stryker-mutator/stryker-js/commit/75d9b792e04dbafaaaff88c3994cf1a1e456610b))
* **ignore static:** prevent leak of hybrid mutants ([#3443](https://github.com/stryker-mutator/stryker-js/issues/3443)) ([231049a](https://github.com/stryker-mutator/stryker-js/commit/231049a32f73083c7579b1bf8b4424ad309f655d))
* **reload test environment:** implement test environment reload ([#3369](https://github.com/stryker-mutator/stryker-js/issues/3369)) ([b95b907](https://github.com/stryker-mutator/stryker-js/commit/b95b907e54d3a114731a8bcf659a1910df4e4f0b))
* **test runner api:** `killedBy` is always an array ([#3187](https://github.com/stryker-mutator/stryker-js/issues/3187)) ([c257966](https://github.com/stryker-mutator/stryker-js/commit/c257966e6c7726e180e072c8ae7f3fd011485c05))


### BREAKING CHANGES

* **checker-api:** The `check` method of checker plugins now receives a _group of mutants_ and should provide a `CheckResult` per mutant id.
* **html reporter:** Configuration option `htmlReporter.baseDir` is deprecated and will be removed in a later version. Please use `htmlReporter.fileName` instead.
* **esm config:** Exporting a function (using `module.exports = function(config) {}`) from your `stryker.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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)
* **reload test environment:** Test runner plugins must provide `TestRunnerCapabilities` by implementing the `capabilities` method.





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)

**Note:** Version bump only for package @stryker-mutator/api
Expand Down
26 changes: 19 additions & 7 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stryker-mutator/api",
"version": "5.6.1",
"version": "6.0.0-beta.0",
"description": "The api for the extendable JavaScript mutation testing framework Stryker",
"type": "module",
"repository": {
Expand All @@ -18,12 +18,24 @@
},
"typesVersions": {
"*": {
"check": ["./dist/src/check/index.d.ts"],
"core": ["./dist/src/core/index.d.ts"],
"logging": ["./dist/src/logging/index.d.ts"],
"plugin": ["./dist/src/plugin/index.d.ts"],
"report": ["./dist/src/report/index.d.ts"],
"test-runner": ["./dist/src/test-runner/index.d.ts"]
"check": [
"./dist/src/check/index.d.ts"
],
"core": [
"./dist/src/core/index.d.ts"
],
"logging": [
"./dist/src/logging/index.d.ts"
],
"plugin": [
"./dist/src/plugin/index.d.ts"
],
"report": [
"./dist/src/report/index.d.ts"
],
"test-runner": [
"./dist/src/test-runner/index.d.ts"
]
}
},
"scripts": {
Expand Down
29 changes: 29 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Features

* **checker-api:** support checking on groups of mutants ([#3450](https://github.com/stryker-mutator/stryker-js/issues/3450)) ([e9bbd39](https://github.com/stryker-mutator/stryker-js/commit/e9bbd394092aa86f2eabc857ec7feabc6d7a0b4f))
* **esm config:** support config file as pure esm ([#3432](https://github.com/stryker-mutator/stryker-js/issues/3432)) ([309a7e2](https://github.com/stryker-mutator/stryker-js/commit/309a7e2807e454a82f177de781bc4908f87c739b))
* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))
* **html reporter:** allow choice of `fileName`. ([#3438](https://github.com/stryker-mutator/stryker-js/issues/3438)) ([d197319](https://github.com/stryker-mutator/stryker-js/commit/d197319a21872a77b28cfef16c1087bf1bb4b9dc))
* **ignore static:** allow to ignore static mutants ([#3284](https://github.com/stryker-mutator/stryker-js/issues/3284)) ([75d9b79](https://github.com/stryker-mutator/stryker-js/commit/75d9b792e04dbafaaaff88c3994cf1a1e456610b))
* **ignore static:** prevent leak of hybrid mutants ([#3443](https://github.com/stryker-mutator/stryker-js/issues/3443)) ([231049a](https://github.com/stryker-mutator/stryker-js/commit/231049a32f73083c7579b1bf8b4424ad309f655d))
* **reload test environment:** implement test environment reload ([#3369](https://github.com/stryker-mutator/stryker-js/issues/3369)) ([b95b907](https://github.com/stryker-mutator/stryker-js/commit/b95b907e54d3a114731a8bcf659a1910df4e4f0b))
* **test runner api:** `killedBy` is always an array ([#3187](https://github.com/stryker-mutator/stryker-js/issues/3187)) ([c257966](https://github.com/stryker-mutator/stryker-js/commit/c257966e6c7726e180e072c8ae7f3fd011485c05))


### BREAKING CHANGES

* **checker-api:** The `check` method of checker plugins now receives a _group of mutants_ and should provide a `CheckResult` per mutant id.
* **html reporter:** Configuration option `htmlReporter.baseDir` is deprecated and will be removed in a later version. Please use `htmlReporter.fileName` instead.
* **esm config:** Exporting a function (using `module.exports = function(config) {}`) from your `stryker.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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)
* **reload test environment:** Test runner plugins must provide `TestRunnerCapabilities` by implementing the `capabilities` method.





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)


Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@stryker-mutator/core",
"version": "5.6.1",
"version": "6.0.0-beta.0",
"description": "The extendable JavaScript mutation testing framework",
"main": "dist/src/index.js",
"type":"module",
"type": "module",
"scripts": {
"start": "tsc -w",
"test": "c8 npm run test:all",
Expand Down Expand Up @@ -57,9 +57,9 @@
"stryker": "./bin/stryker.js"
},
"dependencies": {
"@stryker-mutator/api": "5.6.1",
"@stryker-mutator/instrumenter": "5.6.1",
"@stryker-mutator/util": "5.6.1",
"@stryker-mutator/api": "6.0.0-beta.0",
"@stryker-mutator/instrumenter": "6.0.0-beta.0",
"@stryker-mutator/util": "6.0.0-beta.0",
"ajv": "~8.8.2",
"chalk": "~5.0.0",
"commander": "~9.0.0",
Expand Down Expand Up @@ -88,7 +88,7 @@
},
"devDependencies": {
"@stryker-mutator/api": "4.0.0-beta.4",
"@stryker-mutator/test-helpers": "5.6.1",
"@stryker-mutator/test-helpers": "6.0.0-beta.0",
"@types/inquirer": "~8.2.0",
"@types/lodash.flatmap": "~4.5.6",
"@types/lodash.groupby": "~4.6.6",
Expand Down
23 changes: 23 additions & 0 deletions packages/cucumber-runner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Features

* **esm config:** support config file as pure esm ([#3432](https://github.com/stryker-mutator/stryker-js/issues/3432)) ([309a7e2](https://github.com/stryker-mutator/stryker-js/commit/309a7e2807e454a82f177de781bc4908f87c739b))
* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))
* **reload test environment:** implement test environment reload ([#3369](https://github.com/stryker-mutator/stryker-js/issues/3369)) ([b95b907](https://github.com/stryker-mutator/stryker-js/commit/b95b907e54d3a114731a8bcf659a1910df4e4f0b))
* **test runner api:** `killedBy` is always an array ([#3187](https://github.com/stryker-mutator/stryker-js/issues/3187)) ([c257966](https://github.com/stryker-mutator/stryker-js/commit/c257966e6c7726e180e072c8ae7f3fd011485c05))


### BREAKING CHANGES

* **esm config:** Exporting a function (using `module.exports = function(config) {}`) from your `stryker.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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)
* **reload test environment:** Test runner plugins must provide `TestRunnerCapabilities` by implementing the `capabilities` method.





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)

**Note:** Version bump only for package @stryker-mutator/cucumber-runner
Expand Down
8 changes: 4 additions & 4 deletions packages/cucumber-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stryker-mutator/cucumber-runner",
"version": "5.6.1",
"version": "6.0.0-beta.0",
"description": "A plugin to use the cucumber test runner in Stryker, the JavaScript mutation testing framework",
"main": "dist/src/index.js",
"type": "module",
Expand Down Expand Up @@ -35,15 +35,15 @@
"license": "ISC",
"devDependencies": {
"@cucumber/cucumber": "^7.3.0",
"@stryker-mutator/test-helpers": "5.6.1"
"@stryker-mutator/test-helpers": "6.0.0-beta.0"
},
"peerDependencies": {
"@cucumber/cucumber": "^7.2.0",
"@stryker-mutator/core": "~6.0.0-beta.0"
},
"dependencies": {
"@cucumber/messages": "^17.0.0",
"@stryker-mutator/api": "5.6.1",
"@stryker-mutator/util": "5.6.1"
"@stryker-mutator/api": "6.0.0-beta.0",
"@stryker-mutator/util": "6.0.0-beta.0"
}
}
18 changes: 18 additions & 0 deletions packages/grunt-stryker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Features

* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))


### BREAKING CHANGES

* **esm:** StrykerJS is now a pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)

**Note:** Version bump only for package grunt-stryker
Expand Down
4 changes: 2 additions & 2 deletions packages/grunt-stryker/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-stryker",
"description": "Grunt plugin for the mutation testing framework 'stryker'",
"version": "5.6.1",
"version": "6.0.0-beta.0",
"bugs": {
"url": "https://github.com/stryker-mutator/stryker-js/issues"
},
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"main": "Gruntfile.js",
"devDependencies": {
"@stryker-mutator/api": "5.6.1",
"@stryker-mutator/api": "6.0.0-beta.0",
"@types/node": "^17.0.0"
},
"peerDependencies": {
Expand Down
20 changes: 20 additions & 0 deletions packages/instrumenter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.0.0-beta.0](https://github.com/stryker-mutator/stryker-js/compare/v5.6.1...v6.0.0-beta.0) (2022-03-02)


### Features

* **esm config:** support config file as pure esm ([#3432](https://github.com/stryker-mutator/stryker-js/issues/3432)) ([309a7e2](https://github.com/stryker-mutator/stryker-js/commit/309a7e2807e454a82f177de781bc4908f87c739b))
* **esm:** migrate StrykerJS to pure ESM ([#3409](https://github.com/stryker-mutator/stryker-js/issues/3409)) ([78c305e](https://github.com/stryker-mutator/stryker-js/commit/78c305e2c2271fedb54bfff3d34aa6b70b421b3a))


### BREAKING CHANGES

* **esm config:** Exporting a function (using `module.exports = function(config) {}`) from your `stryker.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](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
* **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](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23)





## [5.6.1](https://github.com/stryker-mutator/stryker-js/compare/v5.6.0...v5.6.1) (2022-01-23)


Expand Down
Loading

0 comments on commit f0d5879

Please sign in to comment.