Skip to content

Update dependency tsdown to ^0.23.0 - #18

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/tsdown-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/tsdown-0.x

Conversation

@renovate

@renovate renovate Bot commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
tsdown (source) ^0.21.10 → ^0.23.0 age confidence

Release Notes

rolldown/tsdown (tsdown)

v0.23.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.23.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.23.0

Compare Source

   🧭 Migration Guide

Most users can upgrade directly. Before upgrading, run one final build with tsdown@0.22.14 and resolve all deprecation warnings.

  • config:
    • bundle: false → unbundle: true; bundle: true can be removed
    • outExtension → outExtensions
    • publicDir / --public-dir → copy / --copy
    • removeNodeProtocol: true → nodeProtocol: 'strip'
    • injectStyle → css.inject
  • deps:
    • inlineOnly / deps.onlyAllowBundle → deps.onlyBundle
    • skipNodeModulesBundle: true → deps.neverBundle: true
    • resolveDepSubpath now defaults to false; set it to true to preserve the previous behavior
  • dts:
    • rolldown-plugin-dts was upgraded from 0.27.13 to 0.28.5
    • dts.oxc: true → dts.generator: 'oxc'
    • dts.tsgo: true → dts.generator: 'tsgo'; oxc and tsgo objects now only configure their respective generators
    • dts.volarPlugins → dts.customLanguages; rename each language's create hook to createVolarPlugins
    • Custom languages, including vue, now throw when combined with an incompatible generator
    • dts.cjsReexport was removed; dual-format builds now generate CJS declarations in a separate pass
  • attw:
    • The default profile changed from strict to esm-only; set profile: 'strict' to preserve the previous checks
  • programmatic API:
    • build() now returns { bundles, watch }; replace const bundles = await build() with const { bundles } = await build()
  • requirements:
    • Node.js 25 is no longer supported; use ^22.18.0, ^24.11.0, or >=26.0.0
    • rolldown-plugin-dts now requires Rolldown 1.2.x
    • Legacy types and typesVersions fallbacks were removed; use TypeScript's bundler, node16, or nodenext module resolution
   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.22.14

Compare Source

   🚀 Features
  • Add CLI build concurrency option  -  by @​sxzz and Jeroen Zwartepoorte (8a14c)
    View changes on GitHub

v0.22.13

Compare Source

   🚀 Features
  • deps: Support neverBundle: true to externalize all dependencies  -  by @​sxzz (d30a7)
   🐞 Bug Fixes
    View changes on GitHub

v0.22.12

Compare Source

   🚨 Breaking Changes
    View changes on GitHub

v0.22.11

Compare Source

   🚀 Features
    View changes on GitHub

v0.22.10

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.22.9

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.22.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
  • config: Concat plugins arrays when merging config  -  by @​sxzz (b1c80)
    View changes on GitHub

v0.22.7

Compare Source

   🚀 Features
  • logger: Add suppressWarnings option to filter warnings  -  by @​sxzz (dc510)
    View changes on GitHub

v0.22.6

Compare Source

No significant changes

    View changes on GitHub

v0.22.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.22.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.22.3

Compare Source

   🚨 Breaking Changes
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.22.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.22.1

Compare Source

   🚀 Features
  • dts: Add deps.dts option to override dependency bundling for declaration files  -  by @​sxzz (881bf)
   🐞 Bug Fixes
  • Improve error handling for unsupported TypeScript syntax on Node.js  -  by @​sxzz (b93db)
  • Add extra space for emoji rendering in Windows Terminal  -  by @​sxzz (925cc)
  • unbundle: Add shims support for unbundled builds  -  by @​sxzz (fc991)
    View changes on GitHub

v0.22.0

Compare Source

   🚨 Breaking Changes
  • Drop Node.js < 22.18.0 support, make unrun optional, add tsx config loader  -  by @​sxzz (a1042)
  • dts: Auto-enable dts when tsconfig declaration is true  -  by @​sxzz in #​872 (085f0)
  • publint: Use pkg from publint results, require publint v0.3.8+  -  by @​sxzz (413bb)
   🚀 Features
   🐞 Bug Fixes

🔄 Migration Guide

Node.js version

Upgrade to Node.js 22.18.0 or later. Bun and Deno remain supported (experimental).

unrun is no longer bundled

If your environment relies on the unrun config loader (i.e. you're on a Node version without native TypeScript support and use the default auto loader), install it manually:

npm i -D unrun

# or, alternatively, the new tsx loader:
npm i -D tsx

If you use Node.js 22.18.0+ with native TypeScript support, no change is needed — the auto loader will pick native.

dts auto-enabled from tsconfig

If your tsconfig.json has compilerOptions.declaration: true but you do not want tsdown to emit .d.ts files, opt out explicitly:

// tsdown.config.ts
export default defineConfig({
  dts: false,
})
exports.bin auto-detection

Any entry chunk containing a shebang (e.g. #!/usr/bin/env node) now causes tsdown to write a bin field in package.json automatically. The semantics differ slightly from explicit bin: true:

Value Single shebang Multiple shebangs No shebangs
(unset) Auto-set bin Warn, skip Silent
true Auto-set bin Throw Warn
false No bin No bin No bin

To opt out entirely:

export default defineConfig({
  exports: { bin: false },
})
Links

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from cc12c77 to 6daf3f7 Compare June 4, 2026 11:28
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 5fb64dc to c4145a2 Compare June 16, 2026 18:43
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from 81a2507 to c1d34f5 Compare July 13, 2026 07:16
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 5 times, most recently from 26f5778 to d24501c Compare July 21, 2026 18:42
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from a49ec38 to b145150 Compare July 30, 2026 14:11
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from e1aba28 to cce1265 Compare August 14, 2026 18:32
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from cce1265 to 8dc58c7 Compare August 26, 2026 12:04
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 62f2ed0 to 2277552 Compare September 3, 2026 10:53
@renovate renovate Bot changed the title Update dependency tsdown to ^0.22.0 Update dependency tsdown to ^0.23.0 Sep 3, 2026
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from e6377db to 27e9cbb Compare September 9, 2026 21:43
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 512c64c to c136499 Compare October 1, 2026 00:38
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 537b891 to ade15fa Compare October 10, 2026 18:12
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from ade15fa to 1357068 Compare October 13, 2026 17:37
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from a8669ac to 9a6fb2f Compare October 22, 2026 11:20
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 9a6fb2f to cfdb153 Compare October 23, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants