Skip to content

Releases: nonara/ts-patch

v3.1.2

10 Jan 23:58
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

2.1.0 (2022-12-08)

Features

  • Updated to support TS 4.9 (26f6099)

v2.0.2

10 Aug 01:56
Compare
Choose a tag to compare

2.0.2 (2022-08-10)

Changes

v2.0.1

01 Nov 22:45
Compare
Choose a tag to compare

2.0.1 (2021-11-01)

Bug Fixes

  • Corrected path error in previous release (7c56d56)

v2.0.0

01 Nov 19:14
Compare
Choose a tag to compare

2.0.0 (2021-11-01)

Summary

This is not the planned rewrite, but the codebase was in desperate need of an update. The patch build system with rollup was failing with newer versions and was hacky under the best of circumstances, anyway. This new version has a proper custom build system that produces a much leaner patch. Additionally, I reorganized the codebase, improved tests, and dropped old TS support.

Note: If you absolutely need it, it will still work with older TS. Simply fork and remove the version check

Changes

  • Soft deprecated --basedir (use --dir)
  • Zero bundled dependencies in patch (much lighter)
  • ⚠️ Hard deprecated --persist option (use package.json -> prepare script)
  • ⚠️ Requires TS >= 4.0

(⚠️ denotes potential "breaking" change)

Development Changes

  • Removed rollup and created light-weight custom build system
  • Cleaned up file structure
  • Improved test speed & methodology
  • Changed patch detection signature

v1.4.5

25 Oct 17:59
Compare
Choose a tag to compare

1.4.5 (2021-10-25)

Bug Fixes

  • compilation fails if basedir resolves to cwd (#65) (9bac698)