Skip to content

Update dependency tsdown to ^0.21.0#84

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/tsdown-0.x
Mar 5, 2026
Merged

Update dependency tsdown to ^0.21.0#84
renovate[bot] merged 1 commit intomainfrom
renovate/tsdown-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2026

This PR contains the following updates:

Package Change Age Confidence
tsdown (source) ^0.19.0^0.21.0 age confidence

Release Notes

rolldown/tsdown (tsdown)

v0.21.0

Compare Source

v0.21.0 - Notable Changes

Breaking Changes
Dependency options renamed to deps namespace

The dependency-related options have been moved under a new deps namespace with clearer names:

  • external -> deps.neverBundle
  • noExternal -> deps.alwaysBundle
  • inlineOnly -> deps.onlyAllowBundle
  • skipNodeModulesBundle -> deps.skipNodeModulesBundle

Before:

export default defineConfig({
  external: ['vue'],
  noExternal: ['lodash'],
})

After:

export default defineConfig({
  deps: {
    neverBundle: ['vue'],
    alwaysBundle: ['lodash'],
  },
})

The old options still work but are deprecated and will emit warnings.

failOnWarn default changed from 'ci-only' to false

If you relied on the previous behavior where warnings would fail the build in CI environments, you now need to explicitly set failOnWarn: true or failOnWarn: 'ci-only' in your config.

Node.js < 22.18.0 deprecated

tsdown now emits a deprecation warning when running on Node.js versions below 22.18.0. Plan to upgrade your Node.js version accordingly.

New Features
Experimental Node.js SEA executable bundling (exe)

tsdown can now bundle your TypeScript project into a standalone executable using Node.js Single Executable Applications (SEA). A new @tsdown/exe package provides cross-platform executable building support. See the exe documentation for details.

export default defineConfig({
  exe: true, // or { useCodeCache: true, useSnapshot: true }
})
Full CSS pipeline with @tsdown/css

CSS handling has been reimplemented as a native Rolldown plugin and extracted into the @tsdown/css package, providing a complete CSS pipeline with Lightning CSS and PostCSS support via the css.transformer option. See the CSS documentation for details.

inlinedDependencies field in package.json

When using the exports feature, tsdown now auto-generates an inlinedDependencies field in your package.json, listing dependencies that are bundled into the output.

Object option for customExports

customExports now supports an object format for more fine-grained control over the generated exports field.

Migration Guide
  1. Update dependency options: Rename external -> deps.neverBundle, noExternal -> deps.alwaysBundle, etc.
  2. Check failOnWarn: If you need warnings to fail the build in CI, explicitly set failOnWarn: 'ci-only' or failOnWarn: true.
  3. Upgrade Node.js: Ensure you're running Node.js >= 22.18.0 to avoid deprecation warnings.
Links

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.20.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.20.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.20.1

Compare Source

   🚀 Features
    View changes on GitHub

v0.20.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 8 times, most recently from 8d987de to 1050940 Compare February 1, 2026 16:57
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch from 1050940 to 08bff1f Compare February 4, 2026 21:24
@renovate renovate bot changed the title Update dependency tsdown to ^0.20.1 Update dependency tsdown to ^0.20.2 Feb 4, 2026
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch from 08bff1f to 3552237 Compare February 5, 2026 10:36
@renovate renovate bot changed the title Update dependency tsdown to ^0.20.2 Update dependency tsdown to ^0.20.3 Feb 5, 2026
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch 7 times, most recently from ef0e995 to f17ca60 Compare February 9, 2026 05:17
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch 3 times, most recently from 699cb9d to 1d8f6f1 Compare February 17, 2026 16:42
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch 4 times, most recently from c682f7e to a99d25a Compare February 24, 2026 23:47
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch 2 times, most recently from 1ffd66f to c6375dd Compare March 4, 2026 05:49
@renovate renovate bot force-pushed the renovate/tsdown-0.x branch from c6375dd to 0f1734d Compare March 5, 2026 10:55
@renovate renovate bot changed the title Update dependency tsdown to ^0.20.3 Update dependency tsdown to ^0.21.0 Mar 5, 2026
@qltysh
Copy link

qltysh bot commented Mar 5, 2026

Qlty

Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@renovate renovate bot merged commit bec7e67 into main Mar 5, 2026
8 checks passed
@renovate renovate bot deleted the renovate/tsdown-0.x branch March 5, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants