@systemfsoftware/stryker-js-typescript-checker 8.0.1 → 8.1.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,31 @@
1
1
  # @systemfsoftware/stryker-js-typescript-checker
2
2
 
3
+ ## 8.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Effect moves to the stable `4.0.0` release, together with the `@effect/*` packages these libraries use. The `4.0.0` release candidates are no longer supported: install `effect` `^4.0.0` next to these packages before upgrading.
8
+
9
+ The TypeScript checker and test-runner plugins bundle their own Effect runtime, so they need no change in your project.
10
+
11
+ - Updated dependencies:
12
+ - @systemfsoftware/stryker-js-cli-contract@0.2.0
13
+ - @systemfsoftware/stryker-js-instrumenter@12.0.0
14
+ - @systemfsoftware/stryker-js-plugin-interface@12.0.0
15
+ - @systemfsoftware/stryker-js-plugin-runtime@7.0.0
16
+
17
+ ## 8.1.0
18
+
19
+ ### Major Changes
20
+
21
+ - 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.
22
+
23
+ The `prioritizePerformanceOverAccuracy` option is removed. Delete it from your `checkers` options.
24
+
25
+ ### Patch Changes
26
+
27
+ - 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.
28
+
3
29
  ## 8.0.1
4
30
 
5
31
  ### Patch 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)