v0.23.5
Added 1
- Support `css: false` to disable built-in CSS handling
Changed 6
- Upgrade rolldown-plugin-dts to v0.29 and upgrade dependencies
- The top-level dts options build, incremental, parallel, eager, newContext and vue are deprecated in favour of dts.tsc, logging a deprecation warning, and setting the same option at both levels throws an error deprecated · vendor-flagged, marked in the notes belowbehavior changed · vendor-flagged, marked in the notes below
- @typescript/native-preview is no longer supported for tsgo; install TypeScript 7.1+ or point tsgo.moduleUrl at another build removed · vendor-flagged, marked in the notes below
- On TypeScript 7.1+, tsgo.path refers to the API server executable rather than the tsgo CLI behavior changed · vendor-flagged, marked in the notes below
- Declaration maps for tsgo are enabled only by compilerOptions.declarationMap in tsconfig, no longer by the sourcemap option behavior changed · vendor-flagged, marked in the notes below
- Read each package.json once when resolving dependency subpaths
Fixed 1
- Remove dangling requires and handle CSS extensions in chunk names
Deprecated 1
- TypeScript 7.0 support for tsgo still works with a deprecation warning and will be removed soon vendor-flagged, marked in the notes below
5 changes to check, marked in the notes below
From tsdown
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. deprecated · vendor-flagged behavior changed · vendor-flagged
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. removed · vendor-flagged- On TypeScript 7.1+,
tsgo.pathis the API server executable, not thetsgoCLI. You usually don't need to set it. behavior changed · vendor-flagged - Declaration maps come only from
compilerOptions.declarationMap: truein tsconfig; thesourcemapoption no longer enables them. behavior changed · vendor-flagged - TypeScript 7.0 still works with a deprecation warning, but that backend will be removed soon. deprecated · vendor-flagged
🚀 Features
- css: Support
css: falseto disable built-in CSS handling - by @sxzzbot in https://github.com/rolldown/tsdown/issues/1113 (181af) - dts: Upgrade rolldown-plugin-dts to v0.29, upgrade deps - by @sxzzbot in https://github.com/rolldown/tsdown/issues/1121 (e12ab)
🐞 Bug Fixes
- css: Remove dangling requires and handle CSS extensions in chunk names - by @sxzzbot in https://github.com/rolldown/tsdown/issues/1114 (c8ca3)
🏎 Performance
- deps: Read each package.json once when resolving dep subpaths - by @Cherry and @sxzzbot in https://github.com/rolldown/tsdown/issues/1093 (4435a)