You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: pnpm-lock.yaml
✓ Lockfile passes supply-chain policies (verified 14s ago)
Progress: resolved 1, reused 0, downloaded 0, added 0
[ERR_PNPM_UNSUPPORTED_ENGINE] Unsupported environment (bad pnpm and/or Node.js version)
This error happened while installing a direct dependency of /tmp/renovate/repos/github/mirror-kt/textlint-plugin-rustdoc
Your Node version is incompatible with "tsdown@0.23.7".
Expected version: ^22.18.0 || ^24.11.0 || >=26.0.0
Got: 25.9.0
This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.22.14→^0.23.0Release Notes
rolldown/tsdown (tsdown)
v0.23.7Compare Source
Notes
rolldown-plugin-dtsis now v0.30. Full details are in the rolldown-plugin-dts v0.30.0 release notes.Migration
dts.entryonly 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 toentry. The filter now applies to.d.ctsas well as.d.mts.dts.entryis resolved fromcwd. Patterns are relative to tsdown'scwd, the same as the top-levelentry, instead ofprocess.cwd(). This only matters when the two differ, e.g. in workspace builds. Setdts.cwdto override it.dts.emitDtsOnlyanddts.dtsInputare deprecated. Usedts.dtsOnlyinstead. The old names still work but log a warning.Highlights
sourceMappingURL.tscgenerator, they build one program for all entries.tsdownskill. 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.5Compare Source
Notes
rolldown-plugin-dtsis now v0.29. tsdown passesdtsoptions 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
dtsoptions move underdts.tsc. The top-levelbuild,incremental,parallel,eager,newContextandvueoptions still work but log a deprecation warning. Setting the same option at both levels throws an error.emitJsstays at the top level.export default defineConfig({ dts: { - vue: true, + tsc: { vue: true }, }, })tsgo (experimental, not covered by semver):
@typescript/native-previewis no longer supported. Install TypeScript 7.1+ (typescript@7.1.0-beta), or pointtsgo.moduleUrlat another build.tsgo.pathis the API server executable, not thetsgoCLI. You usually don't need to set it.compilerOptions.declarationMap: truein tsconfig; thesourcemapoption no longer enables them.🚀 Features
css: falseto disable built-in CSS handling - by @sxzzbot in #1113 (181af)🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v0.23.4Compare Source
🚀 Features
platformis ignored for the CJS format - by @sxzz and @sxzzbot in #1111 (58003)🐞 Bug Fixes
?inlineCSS imported from dependencies - by @sxzz and @sxzzbot in #1109 (75a78)🏎 Performance
View changes on GitHub
v0.23.3Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.23.2Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.23.1Compare Source
🐞 Bug Fixes
npm publish --dry-run- by @giaBaoJS in #1076 (83f0c)View changes on GitHub
v0.23.0Compare Source
🧭 Migration Guide
Most users can upgrade directly. Before upgrading, run one final build with
tsdown@0.22.14and resolve all deprecation warnings.bundle: false→unbundle: true;bundle: truecan be removedoutExtension→outExtensionspublicDir/--public-dir→copy/--copyremoveNodeProtocol: true→nodeProtocol: 'strip'injectStyle→css.injectinlineOnly/deps.onlyAllowBundle→deps.onlyBundleskipNodeModulesBundle: true→deps.neverBundle: trueresolveDepSubpathnow defaults tofalse; set it totrueto preserve the previous behaviorrolldown-plugin-dtswas upgraded from0.27.13to0.28.5dts.oxc: true→dts.generator: 'oxc'dts.tsgo: true→dts.generator: 'tsgo';oxcandtsgoobjects now only configure their respective generatorsdts.volarPlugins→dts.customLanguages; rename each language'screatehook tocreateVolarPluginsvue, now throw when combined with an incompatible generatordts.cjsReexportwas removed; dual-format builds now generate CJS declarations in a separate passstricttoesm-only; setprofile: 'strict'to preserve the previous checksbuild()now returns{ bundles, watch }; replaceconst bundles = await build()withconst { bundles } = await build()^22.18.0,^24.11.0, or>=26.0.0rolldown-plugin-dtsnow requires Rolldown 1.2.xtypesandtypesVersionsfallbacks were removed; use TypeScript'sbundler,node16, ornodenextmodule resolution🚨 Breaking Changes
typesandtypesVersionsfields - by @sxzz (be3ea)esm-only- by @sxzz (9b3cf)deps.onlyAllowBundle- by @sxzz (30c55)resolveDepSubpathby default - by @sxzz (d300f)skipNodeModulesBundle- by @sxzz (f2a3d)dts.generatorthe only way to select generator - by @sxzz (eb75f)🚀 Features
css.modules.localsConvention- by @sxzz and @lazerg (b566f)summaryoption to skip per-file size logs - by @lazerg in #1036 (020e9)🐞 Bug Fixes
unplugin-unusedv0.5+ - by @sxzz (53c78)@import- by @lazerg in #1038 (ebee5)resolveDepSubpathwhenneverBundleistrue- by @lazerg in #1053 (4943c)🏎 Performance
asyncDisposepolyfill - by @sxzz (82675)ansiswithutil.styleText- by @sxzz (be6bf)View changes on GitHub
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.