---
title: "tsup 9.0.0 Breaking Changes on npm | Since.dev"
description: "What each tsup release removed, renamed or changed: 19 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/tsup
last_updated: 2026-12-04
---

# 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

Latest version `9.0.0`, released October 14, 2026. [Source repository](https://github.com/egoist/tsup)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [8.5.0](#v-8-5-0) to [9.0.0](#v-9-0-0): 1 breaking change in 1 version.
- From [6.0.0](#v-6-0-0) to [9.0.0](#v-9-0-0): 16 breaking changes in 7 versions.

## tsup 9.0.0 breaking changes

tsup 9.0.0, released October 14, 2026: 1 breaking change.

- **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](https://github.com/egoist/tsup/releases/tag/v9.0.0)

## tsup 8.5.0 breaking changes

tsup 8.5.0, released May 16, 2025: 2 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](https://www.npmjs.com/package/tsup/v/8.5.0)
- **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](https://www.npmjs.com/package/tsup/v/8.5.0)

## tsup 8.3.1 breaking changes

tsup 8.3.1, released October 25, 2024: 2 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](https://github.com/egoist/tsup/releases/tag/v8.3.1)
- **Behavior changed** `minify`  

When minify is enabled, Rollup output.compact is now turned on, so the generated bundle layout changes. [github.com](https://github.com/egoist/tsup/releases/tag/v8.3.1)

## tsup 8.3.0 breaking changes

tsup 8.3.0, released September 17, 2024: 3 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](https://www.npmjs.com/package/tsup/v/8.3.0)
- **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](https://www.npmjs.com/package/tsup/v/8.3.0)
- **Signature changed** `Options.injectStyle`  

Was injectStyle?: boolean | ((css: string, fileId: string) => string); now injectStyle?: boolean | ((css: string, fileId: string) => string | Promise\<string>). [npmjs.com](https://www.npmjs.com/package/tsup/v/8.3.0)

## tsup 8.2.0 breaking changes

tsup 8.2.0, released July 19, 2024: 1 breaking change.

- **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](https://www.npmjs.com/package/tsup/v/8.2.0)

## tsup 8.0.0 breaking changes

tsup 8.0.0, released November 19, 2023: 3 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](https://github.com/egoist/tsup/releases/tag/v8.0.0)
- **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](https://www.npmjs.com/package/tsup/v/8.0.0)
- **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](https://www.npmjs.com/package/tsup/v/8.0.0)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### tsup 7.0.0 breaking changes

tsup 7.0.0, released June 16, 2023: 4 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](https://github.com/egoist/tsup/releases/tag/v7.0.0)
- **Behavior changed**  

The esbuild dependency is updated to 0.18, which changes bundling output. Check built output after upgrading. [github.com](https://github.com/egoist/tsup/releases/tag/v7.0.0)

And 2 more in this version.

### tsup 6.0.0 breaking changes

tsup 6.0.0, released May 25, 2022: 3 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](https://github.com/egoist/tsup/releases/tag/v6.0.0)
- **Default changed** `target`  

The default target option is now node14 instead of node12. Set target explicitly if you need the older output. [github.com](https://github.com/egoist/tsup/releases/tag/v6.0.0)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
