Skip to content

v0.7.0

Compare
Choose a tag to compare
@kazushisan kazushisan released this 14 Nov 12:43
· 175 commits to main since this release
4ffce57

Better performance

ts-remove-unused is now much faster compared to v0.6. Our benchmark for excalidraw shows that its 1.5x faster 🚀

image

Change in internal architecture

The internal architecture has been changed to support edge cases and for future expansion.

breaking: skip comment will change for export declarations

Due to the internal change in logic, you will only be able to skip the whole export declaration.

// before

export {
  // ts-remove-unused-skip
  foo,
};

// after

// ts-remove-unused-skip
export { foo };

Minor Improvements

  • An error will be throw if skip is not specified

What's Changed

Other Changes

Full Changelog: v0.6.2...v0.7.0