Skip to content

Releases: nonara/ts-patch

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)

v1.4.4

27 Aug 20:51
Compare
Choose a tag to compare

1.4.4 (2021-08-27)

Bug Fixes

  • --basedir flag fails if dir is not a subdir of a package (5912288)

v1.4.3

23 Aug 00:24
Compare
Choose a tag to compare

1.4.3 (2021-08-23)

Bug Fixes

  • Relative transform paths do not resolve from project root dir with compiler API (fixes #59) (e38655a)
  • ts 3.6.5 does not patch properly (fixes #55) (1babac9)