@systemfsoftware/stryker-js-typescript-checker 8.0.0 → 8.1.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,25 @@
1
1
  # @systemfsoftware/stryker-js-typescript-checker
2
2
 
3
+ ## 8.1.0
4
+
5
+ ### Major Changes
6
+
7
+ - The TypeScript checker now type-checks each mutant on its own, so a mutant is `CompileError` only when that mutant fails to compile, and checking finishes much sooner on large projects. Files that import a mutated file are checked only when the mutant changes what that file exports.
8
+
9
+ The `prioritizePerformanceOverAccuracy` option is removed. Delete it from your `checkers` options.
10
+
11
+ ### Patch Changes
12
+
13
+ - Fixed a rare hang where a run stopped making progress while a test runner or checker worker waited for a message that had already arrived. The message now always wakes the worker waiting for it.
14
+
15
+ ## 8.0.1
16
+
17
+ ### Patch Changes
18
+
19
+ - The packages now depend on `@systemfsoftware/effect-cell-types` 11.
20
+
21
+ - Every tagged error now has a one-line message built from its fields, so a failure names the file, mutant, plugin, worker or exit code involved instead of an empty message. The errors' tags, fields and encoded forms are unchanged.
22
+
3
23
  ## 8.0.0
4
24
 
5
25
  ### Major Changes
package/README.md CHANGED
@@ -36,6 +36,16 @@ export default defineConfig({
36
36
  })
37
37
  ```
38
38
 
39
+ ## In-process runtime (`./runtime`)
40
+
41
+ The default entry is the worker plugin Stryker loads from `plugins`, and that is all a normal setup needs. Tooling that drives the compiler itself — for example an oracle that instruments a project and hands the mutants to the real checker — can import the in-process runtime from the `./runtime` subpath instead:
42
+
43
+ ```ts
44
+ import { CheckerRuntime, nodes, TypeScriptCompiler } from '@systemfsoftware/stryker-js-typescript-checker/runtime'
45
+ ```
46
+
47
+ It publishes the runtime Layer (`CheckerRuntime.layer(options)`), its `CheckerRuntimeShape` type, the `TypeScriptCompiler` service tag and the `nodes` program-graph accessor. Everything else stays behind the worker entry.
48
+
39
49
  ## License
40
50
 
41
51
  [Apache-2.0](../../LICENSE)