@systemfsoftware/stryker-js-cli 6.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @systemfsoftware/stryker-js-cli
2
2
 
3
+ ## 7.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Reporter plugins are now pull-stream consumers: a reporter exports a factory
8
+ that returns an async consumer of the four run events, instead of registering
9
+ an Effect layer that provides the `Reporter` capability service.
10
+
11
+ - Removed: `ReporterService`, `broadcastReporter`, `NamedReporter`, the
12
+ `Reporter` service class, and the legacy event payload types.
13
+ - The event protocol ships as a Standard Schema object; validate and infer it
14
+ with `import { ReporterEventSchema, type ReporterFactory, type ReporterInit }
15
+ from '@systemfsoftware/stryker-js/ReporterEvent'`.
16
+ - Event payloads are narrowed: the dry-run event no longer carries the coverage
17
+ map; the plan event carries reduced mutant descriptors instead of full run
18
+ options; `mutantTested` drops `killedBy`, `coveredBy`, `static`,
19
+ `testsCompleted` and `statusReason`, and renames `mutatorName` to `mutator`.
20
+ - `ReporterFailed.event` now names the event kind being processed instead of a
21
+ lifecycle method name; `'wrapUp'` no longer occurs.
22
+ - An unknown reporter name now fails the run at startup instead of being
23
+ silently ignored. A reporter that fails on the terminal report now fails the
24
+ run; a reporter that fails earlier is logged and detached with the exit code
25
+ unchanged.
26
+ - `@systemfsoftware/stryker-js-engine/builtin-reporters` no longer exports
27
+ `strykerPlugins`; call `makeBuiltinReporterFactories({ fileSystem, path })`.
28
+ - The built-in json and clear-text reporters write their notices directly to
29
+ stdout and stderr instead of the Effect logger, and the html reporter no
30
+ longer depends on `@effect/platform-node`.
31
+
32
+ - Remove the --llms command manifest: the CLI no longer accepts --llms and the Run stream no longer carries a manifest terminal event.
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies:
37
+ - @systemfsoftware/stryker-js@3.0.0
38
+ - @systemfsoftware/stryker-js-engine@2.0.0
39
+ - @systemfsoftware/stryker-js-html-reporter@3.0.0
40
+
3
41
  ## 6.0.0
4
42
 
5
43
  ### Major Changes
package/README.md CHANGED
@@ -37,9 +37,7 @@ $ npx stryker <command> [options]
37
37
  ```
38
38
 
39
39
  Mutation testing concepts, the supported mutators, and every `run` option are
40
- the ones [stryker-mutator.io][docs] documents. `stryker --llms`
41
- prints the whole command surface as one JSON object, walked from the command
42
- descriptors rather than hand-maintained.
40
+ the ones [stryker-mutator.io][docs] documents.
43
41
 
44
42
  ## Machine output
45
43