Skip to content

Releases: nonara/ts-patch

v4.0.1

01 May 19:22

Choose a tag to compare

4.0.1 (2026-05-01)

⚠ BREAKING CHANGES

  • Support TS v6
  • raises the Node.js floor to >=22.15.0 for module.registerHooks(). TypeScript transformer loading no longer uses ts-node; transformer module format is inferred from TypeScript compiler semantics, and the public isEsm option has been removed.
  • removes the optional esm package fallback. ESM transformer loading now relies on Node >=22.12.0 native ESM support. Configuring isEsm: true on a .cts transformer entry is now rejected.
  • Node.js 22.12.0 or newer is now required.

Features

  • Dropped ts-node, replaced with pure TS compiler API & Swapped require wrap with module.registerHooks (987a199)
  • Support TS v6 (e9c000f)
  • use native Node ESM loading for transformer plugins (4c4e837)

Build System

  • raise Node.js floor to 22.12.0 (d8f0a8f)

v3.3.0

04 Dec 23:54

Choose a tag to compare

3.3.0 (2024-12-04)

Features

v3.2.1

26 Jun 20:58

Choose a tag to compare

3.2.1 (2024-06-26)

Bug Fixes

v3.2.0

03 Jun 21:03

Choose a tag to compare

3.2.0 (2024-06-03)

Features

  • Added support for TS 5.5 (2c4954d)

v3.1.2

10 Jan 23:58

Choose a tag to compare

3.1.2 (2024-01-10)

Bug Fixes

  • don't break if other plugin is added (f2b591e)

v3.1.1

06 Dec 06:44

Choose a tag to compare

3.1.1 (2023-12-06)

Bug Fixes

  • parseAllJsDoc breaking with < ts 5.3 (d21e02e)

v3.1.0

05 Dec 18:47

Choose a tag to compare

3.1.0 (2023-12-05)

Features

  • Added Plugin Package Configuration + parseAllJsDoc (closes #134 closes #133) (15570d0)
  • Added support for chaining transformers in single factory (closes #122 closes #120) (aabf389)

Bug Fixes

  • TsExtras 'ts' type registering as 'any' (fixes #127) (069411e)
  • tsp.currentLibrary was not set (detail) (24d8031)

v3.0.2

20 Jul 00:54

Choose a tag to compare

3.0.2 (2023-07-20)

Bug Fixes

  • Plugins returning TransformerBasePlugin not supported (fixes #113) (12ee3a2)

v3.0.1

22 Jun 22:51

Choose a tag to compare

3.0.1 (2023-06-22)

Bug Fixes

  • Added explicit error if ts is patched and cached backup is removed (ac25743)
  • ESM temp files not cleaned up (8802054)
  • Lock file deletion check (#102) (cacf908)

v2.1.0

08 Dec 22:30

Choose a tag to compare

2.1.0 (2022-12-08)

Features

  • Updated to support TS 4.9 (26f6099)