Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Nov 19:14
· 61 commits to master since this release

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