Never miss a release that matters
AI-powered summaries of every GitHub release.
AI Summaries
Changelogs condensed into clear, actionable insights.
Always Free
Track up to 5 packages at no cost, forever.
Weekly Digest
A curated summary of every release, delivered weekly.
TL;DR
Tsup now validates script tags and includes a fix for sourcemap generation, improving reliability when bundling projects with external scripts and debugging.
Fixes Worth Knowing
- Script tag validation prevents errors with invalid script includes.
- Sourcemap generation is more accurate, aiding debugging in browsers (developer tools).
Before You Upgrade
No action needed.
TL;DR
Tsup now supports targeting older JavaScript environments (ES3) allowing builds for a wider range of projects and legacy systems.
New
- ES3 Target Support: Build projects compatible with very old JavaScript runtimes.
- esbuild Update: Includes performance improvements and bug fixes from the latest esbuild release (JavaScript bundler).
Fixes Worth Knowing
- Fixed an issue preventing builds on Windows systems.
- Improved CommonJS (JavaScript module format) output formatting.
Before You Upgrade
No specific action is needed; the update is seamless.
TL;DR
Tsup now supports TypeScript 5.0, ensuring compatibility with the latest language features and improvements.
New
- Supports TypeScript 5.0 (latest version of TypeScript).
- Allows specifying a function type for the
options.injectStylesetting (for custom CSS injection).
Fixes Worth Knowing
None.
Before You Upgrade
If you are using TypeScript 5.0, no action is needed.
TL;DR
Tsup now supports asynchronous configuration functions, enabling more dynamic and complex build setups.
New
- Asynchronous configuration functions are now supported, allowing for dynamic build customization (using
asyncfunctions).
Fixes Worth Knowing
- Updated dependencies (Rollup and Rollup-plugin-dts) for improved stability and compatibility (build tools).
Before You Upgrade
No action needed.
TL;DR
Tsup now supports inline sourcemaps, making debugging much easier by embedding source maps directly into your bundle.
New
- Inline Sourcemaps: Generate sourcemaps embedded within your bundled JavaScript files (for easier debugging).
Fixes Worth Knowing
None.
Before You Upgrade
No action needed.
TL;DR
Tsup now handles invalid tsconfig.json files (TypeScript configuration) more gracefully, preventing crashes and providing clearer error messages.
Fixes Worth Knowing
Improved error handling when loading tsconfig.json files, providing more informative messages when configuration is invalid.
Before You Upgrade
No action needed. This is a bug fix release.
TL;DR
Tsup now leverages esbuild (a JavaScript bundler) again, resulting in faster build times and improved developer experience.
New
- Improved logging when using watch mode, providing clearer feedback during development.
Fixes Worth Knowing
- Re-enabled esbuild integration, addressing previous performance regressions.
Before You Upgrade
No specific action is needed; simply update to benefit from the performance improvements.
TL;DR
Tsup now provides more helpful error messages when running from the command line, improving the developer experience.
New
No new features to report.
Fixes Worth Knowing
Command-line errors are now more informative, making debugging easier. (CLI = Command Line Interface)
Before You Upgrade
No action needed.