@systemfsoftware/stryker-js-cli 6.0.0 → 7.0.1

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,50 @@
1
1
  # @systemfsoftware/stryker-js-cli
2
2
 
3
+ ## 7.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @systemfsoftware/effect-cell-types@7.0.0
9
+
10
+ ## 7.0.0
11
+
12
+ ### Major Changes
13
+
14
+ - Reporter plugins are now pull-stream consumers: a reporter exports a factory
15
+ that returns an async consumer of the four run events, instead of registering
16
+ an Effect layer that provides the `Reporter` capability service.
17
+
18
+ - Removed: `ReporterService`, `broadcastReporter`, `NamedReporter`, the
19
+ `Reporter` service class, and the legacy event payload types.
20
+ - The event protocol ships as a Standard Schema object; validate and infer it
21
+ with `import { ReporterEventSchema, type ReporterFactory, type ReporterInit }
22
+ from '@systemfsoftware/stryker-js/ReporterEvent'`.
23
+ - Event payloads are narrowed: the dry-run event no longer carries the coverage
24
+ map; the plan event carries reduced mutant descriptors instead of full run
25
+ options; `mutantTested` drops `killedBy`, `coveredBy`, `static`,
26
+ `testsCompleted` and `statusReason`, and renames `mutatorName` to `mutator`.
27
+ - `ReporterFailed.event` now names the event kind being processed instead of a
28
+ lifecycle method name; `'wrapUp'` no longer occurs.
29
+ - An unknown reporter name now fails the run at startup instead of being
30
+ silently ignored. A reporter that fails on the terminal report now fails the
31
+ run; a reporter that fails earlier is logged and detached with the exit code
32
+ unchanged.
33
+ - `@systemfsoftware/stryker-js-engine/builtin-reporters` no longer exports
34
+ `strykerPlugins`; call `makeBuiltinReporterFactories({ fileSystem, path })`.
35
+ - The built-in json and clear-text reporters write their notices directly to
36
+ stdout and stderr instead of the Effect logger, and the html reporter no
37
+ longer depends on `@effect/platform-node`.
38
+
39
+ - Remove the --llms command manifest: the CLI no longer accepts --llms and the Run stream no longer carries a manifest terminal event.
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies:
44
+ - @systemfsoftware/stryker-js@3.0.0
45
+ - @systemfsoftware/stryker-js-engine@2.0.0
46
+ - @systemfsoftware/stryker-js-html-reporter@3.0.0
47
+
3
48
  ## 6.0.0
4
49
 
5
50
  ### 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