Skip to content

chore(deps): update dependency tsdown to v0.23.7 - #479

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 Jul 22, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
tsdown (source) 0.12.9 → 0.23.7 age confidence

Release Notes

rolldown/tsdown (tsdown)

v0.23.7

Compare Source

[!NOTE]
v0.23.6 was skipped on purpose: its release failed, so this release follows v0.23.5 directly.

Notes

rolldown-plugin-dts is now v0.30. Full details are in the rolldown-plugin-dts v0.30.0 release notes.

Migration

dts.entry only filters entries. Only entries that match get declaration files. A matching file that is not an entry no longer gets its own declaration file. To emit declarations for such a file, add it to entry. The filter now applies to .d.cts as well as .d.mts.

dts.entry is resolved from cwd. Patterns are relative to tsdown's cwd, the same as the top-level entry, instead of process.cwd(). This only matters when the two differ, e.g. in workspace builds. Set dts.cwd to override it.

dts.emitDtsOnly and dts.dtsInput are deprecated. Use dts.dtsOnly instead. The old names still work but log a warning.

Highlights
  • dts: An entry's file-level doc comment is kept in its declaration file.
  • dts: Declaration files no longer contain a dangling sourceMappingURL.
  • dts: CJS declaration builds no longer emit a throwaway JS chunk. With the tsc generator, they build one program for all entries.
  • tsgo (experimental): Diagnostics show code context in color terminals, and packages from project references and files outside the tsconfig directory now get declarations.
  • Agent skill: The npm package now ships a small tsdown skill. pnpm 12.11+ can link it into agent skill directories, and it points agents to the full skill on GitHub for the installed version.

   🚀 Features
    View changes on GitHub

v0.23.5

Compare Source

Notes

rolldown-plugin-dts is now v0.29. tsdown passes dts options through to it unchanged, so its deprecations show up in your config too. Full details are in the rolldown-plugin-dts v0.29.0 release notes.

Migration

tsc-only dts options move under dts.tsc. The top-level build, incremental, parallel, eager, newContext and vue options still work but log a deprecation warning. Setting the same option at both levels throws an error. emitJs stays at the top level.

 export default defineConfig({
   dts: {
-    vue: true,
+    tsc: { vue: true },
   },
 })

tsgo (experimental, not covered by semver):

  • @typescript/native-preview is no longer supported. Install TypeScript 7.1+ (typescript@7.1.0-beta), or point tsgo.moduleUrl at another build.
  • On TypeScript 7.1+, tsgo.path is the API server executable, not the tsgo CLI. You usually don't need to set it.
  • Declaration maps come only from compilerOptions.declarationMap: true in tsconfig; the sourcemap option no longer enables them.
  • TypeScript 7.0 still works with a deprecation warning, but that backend will be removed soon.

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.23.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.23.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

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

v0.21.10

Compare Source

   🚀 Features
    View changes on GitHub

v0.21.9

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.7

Compare Source

   🚀 Features
  • Add module option for attw and publint to allow passing imported modules directly  -  by @​sxzz (31e90)
   🐞 Bug Fixes
  • deps: Add skipNodeModulesBundle dep subpath e2e tests and fix docs  -  by @​sxzz (deff7)
    View changes on GitHub

v0.21.6

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
  • exports: Preserve CRLF line endings in package.json  -  by @​sxzz (a4d4e)
    View changes on GitHub

v0.21.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.21.2

Compare Source

   🚨 Breaking Changes
  • exe: Add exe.outDir for separate executable output dir, defaults to build  -  by @​sxzz (d49ef)

Note: Executable is still an experimental feature and does not follow SemVer. Breaking changes may occur in any release.

   🚀 Features
   🐞 Bug Fixes
  • css: Skip data URIs and external URLs in CSS url() rebasing  -  by @​sxzz (13907)
    View changes on GitHub

v0.21.1

Compare Source

   🚨 Breaking Changes

[!IMPORTANT]
If you are using CSS features (e.g., CSS imports), you now need to manually install the @tsdown/css package:

npm install @tsdown/css -D
# or
pnpm add @tsdown/css -D

Note: CSS support is still an experimental feature and does not follow SemVer. Breaking changes may occur in any release.

   🚀 Features

[!IMPORTANT]
✂ PR body was truncated to here.


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 added the renovate label Jul 22, 2025
@changeset-bot

changeset-bot Bot commented Jul 22, 2025 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6d7d8a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from d20587f to 2fedb03 Compare August 1, 2025 11:32
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.13.0 chore(deps): update dependency tsdown to v0.13.1 Aug 1, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 251bd0e to 038eb37 Compare August 2, 2025 19:04
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.13.1 chore(deps): update dependency tsdown to v0.13.2 Aug 2, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 038eb37 to 39c3c7b Compare August 5, 2025 14:44
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.13.2 chore(deps): update dependency tsdown to v0.13.3 Aug 5, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 39c3c7b to b8b9ddf Compare August 8, 2025 08:39
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.13.3 chore(deps): update dependency tsdown to v0.13.4 Aug 8, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from b8b9ddf to d929099 Compare August 10, 2025 01:19
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.13.4 chore(deps): update dependency tsdown to v0.14.0 Aug 10, 2025
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.14.0 chore(deps): update dependency tsdown to v0.14.1 Aug 11, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from d929099 to cb2934f Compare August 11, 2025 12:42
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from cb2934f to 773c750 Compare August 21, 2025 11:40
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.14.1 chore(deps): update dependency tsdown to v0.14.2 Aug 25, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 773c750 to 89cfb49 Compare August 25, 2025 10:49
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from bbddaec to 949b568 Compare September 9, 2025 13:49
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.14.2 chore(deps): update dependency tsdown to v0.15.0 Sep 9, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 949b568 to 5b6e1ba Compare September 13, 2025 04:04
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.0 chore(deps): update dependency tsdown to v0.15.1 Sep 13, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 5b6e1ba to 16fbf20 Compare September 16, 2025 20:33
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.1 chore(deps): update dependency tsdown to v0.15.2 Sep 16, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 16fbf20 to 8cd5e91 Compare September 20, 2025 08:49
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.2 chore(deps): update dependency tsdown to v0.15.3 Sep 20, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 8cd5e91 to fb0f624 Compare September 20, 2025 21:39
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.3 chore(deps): update dependency tsdown to v0.15.4 Sep 20, 2025
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.9 chore(deps): update dependency tsdown to v0.15.10 Oct 26, 2025
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.10 chore(deps): update dependency tsdown to v0.15.11 Oct 28, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 8a78913 to 136a6df Compare October 30, 2025 00:56
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.11 chore(deps): update dependency tsdown to v0.15.12 Oct 30, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 136a6df to 332159b Compare November 4, 2025 18:05
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.15.12 chore(deps): update dependency tsdown to v0.16.0 Nov 4, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 332159b to 27f4588 Compare November 7, 2025 23:12
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.0 chore(deps): update dependency tsdown to v0.16.1 Nov 7, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 27f4588 to fad92fa Compare November 11, 2025 00:14
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.1 chore(deps): update dependency tsdown to v0.16.2 Nov 11, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 86366f8 to fc30873 Compare November 12, 2025 01:06
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.2 chore(deps): update dependency tsdown to v0.16.3 Nov 12, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from fc30873 to 362a0f6 Compare November 16, 2025 23:53
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.3 chore(deps): update dependency tsdown to v0.16.4 Nov 16, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 362a0f6 to 431472e Compare November 17, 2025 06:45
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.4 chore(deps): update dependency tsdown to v0.16.5 Nov 17, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from 431472e to e601ed0 Compare November 20, 2025 09:48
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.5 chore(deps): update dependency tsdown to v0.16.6 Nov 20, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from e601ed0 to ac9ab8e Compare November 25, 2025 17:56
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.6 chore(deps): update dependency tsdown to v0.16.7 Nov 25, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from ac9ab8e to 1b531c9 Compare November 27, 2025 21:16
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.7 chore(deps): update dependency tsdown to v0.16.8 Nov 27, 2025
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.16.8 chore(deps): update dependency tsdown to v0.17.0 Dec 4, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from f1f6678 to bd13b89 Compare December 8, 2025 06:10
@renovate renovate Bot changed the title chore(deps): update dependency tsdown to v0.17.0 chore(deps): update dependency tsdown to v0.17.1 Dec 8, 2025
@renovate
renovate Bot force-pushed the renovate/tsdown-0.x branch from bd13b89 to d057f95 Compare December 8, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants