tsup breaking changes
tsup 9.0.0 (October 14, 2026) is its newest release with breaking changes. The first: Switches to obug and drops support for Node.js below 22.18 in tsup 9.0.0. Every breaking API change we have recorded in tsup on npm: 19 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.0.0, released October 14, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 8.5.0 to 9.0.0: 1 breaking change in 1 version.
- From 6.0.0 to 9.0.0: 16 breaking changes in 7 versions.
tsup 9.0.0 breaking changes
- Removed
Node.js versions below 22.18 are no longer supported. Upgrade Node.js to 22.18 or later before using this release. github.com
tsup 8.5.0 breaking changes
- Signature changed
NormalizedOptions
Was type NormalizedOptions = Omit<MarkRequired<Options, 'entry' | 'outDir'>, 'dts' | 'experimentalDts' | 'format'> & {dts?: DtsConfig; experimentalDts?: NormalizedExperimentalDtsConfig; tsconfigResolvePaths: Record<string, string[]>... npmjs.com - Signature changed
Options
Was type Options = {name?: string; entryPoints?: Entry; entry?: Entry; legacyOutput?: boolean; target?: Target | Target[]; minify?: boolean | 'terser'; terserOptions?: MinifyOptions; minifyWhitespace?: boolean; minifyIdentifiers?: boolean... npmjs.com
tsup 8.3.1 breaking changes
- Behavior changed
experimentalDts
The newlineKind used for experimentalDts declaration output changed to lf. Code or tooling that depends on the previous line endings may need updating. github.com - Behavior changed
minify
When minify is enabled, Rollup output.compact is now turned on, so the generated bundle layout changes. github.com
tsup 8.3.0 breaking changes
- Signature changed
NormalizedOptions.injectStyle
Was injectStyle?: boolean | ((css: string, fileId: string) => string); now injectStyle?: boolean | ((css: string, fileId: string) => string | Promise<string>). npmjs.com - Signature changed
Options
Was type Options = {name?: string; entryPoints?: Entry; entry?: Entry; legacyOutput?: boolean; target?: Target | Target[]; minify?: boolean | 'terser'; terserOptions?: MinifyOptions; minifyWhitespace?: boolean; minifyIdentifiers?: boolean... npmjs.com - Signature changed
Options.injectStyle
Was injectStyle?: boolean | ((css: string, fileId: string) => string); now injectStyle?: boolean | ((css: string, fileId: string) => string | Promise<string>). npmjs.com
tsup 8.2.0 breaking changes
- Signature changed
Options
Was type Options = {name?: string; entryPoints?: Entry; entry?: Entry; legacyOutput?: boolean; target?: Target | Target[]; minify?: boolean | 'terser'; terserOptions?: MinifyOptions; minifyWhitespace?: boolean; minifyIdentifiers?: boolean... npmjs.com
tsup 8.0.0 breaking changes
- Removed
Node.js versions below 18, including 16, are no longer supported. Upgrade Node.js to 18 or later before using this release. github.com - Signature changed
NormalizedOptions
Was type NormalizedOptions = Omit<MarkRequired<Options, 'entry' | 'outDir'>, 'dts' | 'format'> & {dts?: DtsConfig; tsconfigResolvePaths: Record<string, string[]>; tsconfigDecoratorMetadata?: boolean; format: Format[];}; now type... npmjs.com - Signature changed
Options
Was type Options = {name?: string; entryPoints?: Entry; entry?: Entry; legacyOutput?: boolean; target?: Target | Target[]; minify?: boolean | 'terser'; terserOptions?: MinifyOptions; minifyWhitespace?: boolean; minifyIdentifiers?: boolean... npmjs.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
tsup 7.0.0 breaking changes
- Removed
Support for Node.js versions below 16 is dropped. Upgrade Node.js to 16 or later before using this release. github.com - Behavior changed
The esbuild dependency is updated to 0.18, which changes bundling output. Check built output after upgrading. github.com
And 2 more in this version.
tsup 6.0.0 breaking changes
- Default changed
shims
The shims option defaults to false now. If you dual-publish esm and cjs and use import.meta.url, __dirname or __filename, enable the --shims flag manually. github.com - Default changed
target
The default target option is now node14 instead of node12. Set target explicitly if you need the older output. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.