unstale

npm / tstyche

tstyche

What changed in tstyche 3 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

73 breaking2 deprecations37 new APIs and options1 performance13 behavior and defaults21 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

tstyche 730 changes

Breaking changes 12

Deprecations 1

New APIs and options 5

Behavior and default changes 5

Fixes and other changes 7

  • Unused type parameters are ignored when comparing type references.

    7.2.5release notes

  • Prevents infinite recursion when comparing self-referential generic types.

    7.2.4release notes

  • Handles reduced types when comparing type structures, improving type comparison behavior.

    7.2.3release notes

  • Uses TypeScript v6 when v7 is installed.

    7.2.2release notes

  • Improves validation of arguments passed to the matcher.

    7.2.1release notes

  • Validates the JSX setup for the matcher.

    7.2.1release notes

  • Fixes argument length detection for this matcher.

    7.2.0release notes

tstyche 614 changes

Breaking changes 5

  • The minimum supported Node.js version is now 22.12, so projects must use Node.js 22.12 or later.

    6.0.0upgrade guide

  • Node.js 20 is no longer supported, so developers must use a supported Node.js version.

    6.0.0release notes

  • The matcher now uses structure comparison, changing how .toBe() compares values.

    6.0.0release notesupgrade guide

  • Support for TSTyche plugins has been removed, affecting projects that rely on plugins.

    6.0.0release notesupgrade guide

  • TypeScript versions 5.3 and earlier are no longer supported.

    6.0.0release notesupgrade guide

New APIs and options 5

Behavior and default changes 1

  • Type structure checking now ignores unused type parameters in call signatures.

    6.0.3release notes

Fixes and other changes 3

  • Type structure checking now takes predicate parameter position into account.

    6.0.3release notes

  • Deduplicates complex unions and intersections when checking type structure.

    6.0.2release notes

  • Type structure checking now compares the target type of type references.

    6.0.1release notes

tstyche 529 changes

Breaking changes 16

New APIs and options 6

Behavior and default changes 2

Fixes and other changes 5

tstyche 432 changes

Breaking changes 18

New APIs and options 9

  • Adds collect:* events.

    4.0.0release notes

  • Allows notes to be added to directive comments.

    4.0.0release notes

  • Adds the .isCalledWith() action.

    4.0.0release notes

  • Adds the minorVersions property to the store manifest.

    4.0.0release notes

  • Allows target type errors to be skipped.

    4.0.0release notes

  • Adds a matcher that checks whether a decorator function can be applied to a class or class member; it must be used as a decorator.

    4.0.0upgrade guiderelease notes

  • Adds a comment directive for conditionally skipping an expect(), test() or describe(); placing it at the top of a file applies the condition to the whole file.

    4.0.0upgrade guiderelease notes

  • Adds a directive that marks a test file as a template, interpreting its default export as type test text.

    4.0.0upgrade guiderelease notes

  • Adds the when() utility.

    4.0.0release notes

Behavior and default changes 2

  • Whitespace is excluded when diagnostic messages are compared.

    4.0.0release notes

  • Already seen test files are no longer typechecked.

    4.0.0release notes

Fixes and other changes 3

  • Diagnostics of the ability layer are no longer reversed.

    4.0.0release notes

  • Test tree validation logic moves to the Collect class.

    4.0.0release notes

  • Handles unexpected trailing tokens in JSON.

    4.0.0release notes

tstyche 342 changes

Breaking changes 22

  • The Config class can no longer be instantiated.

    3.0.0release notes

  • ConfigService constructor arguments were removed; callers must no longer pass them.

    3.0.0release notes

  • The EventHandler.on() method was renamed, requiring callers to update method references.

    3.0.0release notes

  • Type comparisons now take the exactOptionalPropertyTypes option into account.

    3.0.0release notes

  • InputService constructor options were removed; callers must no longer pass them.

    3.0.0release notes

  • The ListReporter class was renamed, so code referring to the class must use its new name.

    3.0.0release notes

  • Support for Node.js 16 was dropped.

    3.0.0release notes

  • The minimum required Node.js version is now 18.19.

    3.0.0upgrade guide

  • A test file that does not exist is marked as failed.

    3.0.0release notes

  • The Options class was renamed, so code referring to the class must use its new name.

    3.0.0release notes

  • The OutputService class can no longer be instantiated.

    3.0.0release notes

  • OutputService constructor options were removed; callers must no longer pass them.

    3.0.0release notes

  • The project:uses event was renamed, requiring event consumers to update their references.

    3.0.0release notes

  • The Select class can no longer be instantiated.

    3.0.0release notes

  • The Store class can no longer be instantiated.

    3.0.0release notes

  • The store:adds event was renamed, requiring event consumers to update their references.

    3.0.0release notes

  • The TargetResult.target property was renamed, requiring callers to update references to it.

    3.0.0release notes

  • Task, TaskResult, Runner, and task:* events were renamed, requiring callers to update references.

    3.0.0release notes

  • The deprecated matcher has been removed.

    3.0.0upgrade guiderelease notes

  • The TSTyche class was removed.

    3.0.0release notes

  • Replaces TSTYCHE_TYPESCRIPT_PATH; its value is now resolved using import.meta.resolve().

    3.0.0upgrade guiderelease notes

  • The environment variable has been removed; use TSTYCHE_TYPESCRIPT_MODULE instead.

    3.0.0upgrade guide

Deprecations 1

  • The matcher is deprecated; use the Omit and Pick utility types or the new omit() and pick() utilities for subtype testing.

    3.0.0upgrade guiderelease notes

New APIs and options 12

  • The Fetcher class was added.

    3.0.0release notes

  • The JsonScanner class was added.

    3.0.0release notes

  • The LockService class was added.

    3.0.0release notes

  • Adds a type utility that reshapes an object type by removing specified keys; at runtime it returns the same object passed as an argument.

    3.0.0upgrade guiderelease notes

  • Adds a type utility that reshapes an object type by keeping only specified keys; at runtime it returns the same object passed as an argument.

    3.0.0upgrade guide

  • Adds plugins that can change TSTyche behavior through one or more hooks, including config and select.

    3.0.0upgrade guiderelease notes

  • Refines the programmatic API, with Config.resolve() and Runner.run() shown for resolving configuration and running selected test files.

    3.0.0upgrade guide

  • Adds custom reporters implemented as classes with an on() method to control test-result formatting.

    3.0.0upgrade guiderelease notes

  • A prune() method was added to StoreService.

    3.0.0release notes

  • The matcher now accepts regular expressions as well as exact error messages.

    3.0.0upgrade guiderelease notes

  • Configures how TSTyche finds a TSConfig file: findup discovers the nearest file by default, ignore skips lookup, and a path selects a specific file.

    3.0.0upgrade guiderelease notes

  • Sets the base URL of the npm registry to use.

    3.0.0upgrade guiderelease notes

Performance 1

Behavior and default changes 3

Fixes and other changes 3