This repository was archived by the owner on Oct 23, 2025. It is now read-only.
Repository navigation
Releases
Releases · line/tsr
v1.3.4
What's Changed
🐛 Bug Fixes
- fix: handle deeply nested whole exports by @FredericEspiau in #111
Full Changelog: v1.3.3...v1.3.4
v1.3.3
What's Changed
🐛 Bug Fixes
- fix: prevent deleting files importes for side-effect by @FredericEspiau in #110
Full Changelog: v1.3.2...v1.3.3
v1.3.2
What's Changed
🐛 Bug Fixes
- fix: prevent removing decorators on classes by @FredericEspiau in #108
🧹 Chores
- test: add test case for parsing args correctly by @kazushisan in #107
📖 Docs
New Contributors
- @heguro made their first contribution in #106
- @FredericEspiau made their first contribution in #108
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
🐛 Bug Fixes
- fix: use correct default value for configFile option by @kazushisan in #105
Full Changelog: v1.3.0...v1.3.1
v1.3.0
JavaScript API tsr() will not call process.exit()
Previously, when using the JavaScript API tsr(), it would internaly call process.exit(1) when there is an argument error or when the codebase is not clean when using it in check mode.
From v1.3, tsr() will not call process.exit so that you can run tasks after calling tsr(). use tsr().catch() to set the status code.
import { tsr } from 'tsr';
await tsr({
entrypoints: [/main\.ts/],
mode: 'check',
}).catch(() => {
process.exitCode = 1;
});What's Changed
🚀 Features
- feat: dont call process.exit in tsr() by @kazushisan in #103
🧹 Chores
- refactor: make edit synchronous by @kazushisan in #104
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
🚀 Features
- feat: detect namespace import usage accurately by @kazushisan in #98
🐛 Bug Fixes
- fix: remove use of task manager by @kazushisan in #100
📖 Docs
- docs: update benchmark by @kazushisan in #101
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
🚀 Features
- feat: replace chalk with picocolors by @kazushisan in #95
- feat: replace cac with mri by @kazushisan in #96
🧹 Chores
- chore: dont use bundle option in esbuild by @kazushisan in #94
📖 Docs
- docs: update size by @kazushisan in #97
Full Changelog: v1.0.0...v1.1.0
v1.1.0-beta.0
What's Changed
🚀 Features
- feat: replace chalk with picocolors by @kazushisan in #95
- feat: replace cac with mri by @kazushisan in #96
🧹 Chores
- chore: dont use bundle option in esbuild by @kazushisan in #94
Full Changelog: v1.0.0...v1.1.0-beta.0
v1.0.0
v1.0.0 is available 🎉 The project is now renamed to tsr
Check the migration guide from v0.x
What's Changed
🚀 Features
- perf: use parseFile util to construct dependency graph by @kazushisan in #73
- feat: rename to tsr by @kazushisan in #77
- feat: update logic to output results to cli by @kazushisan in #81
- feat: polish interface for v1 by @kazushisan in #82
- feat: rename skip to entrypoints by @kazushisan in #86
- feat: remove writing to disk log by @kazushisan in #88
🐛 Bug Fixes
- fix: write when updated by @kazushisan in #89
🧹 Chores
- chore: remove unused ambient declaration by @kazushisan in #71
- refactor: add
includeDtsoption toremove()for clarity by @kazushisan in #75 - chore: support beta release by @kazushisan in #76
- chore: restore old url by @kazushisan in #78
- chore: fix syntax workflow in publish by @kazushisan in #79
- chore: remove helper by @kazushisan in #84
- chore: add benchmark for vue core by @kazushisan in #87
- chore: update package json by @kazushisan in #83
📖 Docs
- docs: update docs for v1 by @kazushisan in #85
- docs: comparison with knip by @kazushisan in #90
- docs: add link to migration guide by @kazushisan in #91
- docs: update migration guide by @kazushisan in #92
Other Changes
- Release v1.0 by @kazushisan in #74
Full Changelog: v0.10.1...v1.0.0
v1.0.0-beta.3
What's Changed
🚀 Features
- feat: rename skip to entrypoints by @kazushisan in #86
- feat: remove writing to disk log by @kazushisan in #88
🐛 Bug Fixes
- fix: write when updated by @kazushisan in #89
🧹 Chores
- chore: remove helper by @kazushisan in #84
- chore: add benchmark for vue core by @kazushisan in #87
📖 Docs
- docs: update docs for v1 by @kazushisan in #85
- docs: comparison with knip by @kazushisan in #90
- docs: add link to migration guide by @kazushisan in #91
- docs: update migration guide by @kazushisan in #92
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3