npm rolldown 1.0.0-rc.4
v1.0.0-rc.4

latest releases: 1.0.0-rc.7, 1.0.0-rc.6, 1.0.0-rc.5...
21 days ago

[1.0.0-rc.4] - 2026-02-11

๐Ÿ’ก Granular comments Option

  • New output.comments option provides fine-grained control over comment preservation
  • The output.legalComments option is now deprecated and use comments.legal instead

๐Ÿš€ Features

  • rename error name to RolldownError from RollupError (#8262) by @sapphi-red
  • add hidden resolve_tsconfig function for Vite (#8257) by @sapphi-red
  • rust: introduce rolldown_watcher (#8161) by @hyf0
  • unify comments and legalComments into a single granular comments option (#8229) by @IWANABETHATGUY
  • add builtin plugin for visualizing chunk graph (#8162) by @IWANABETHATGUY
  • show import declaration location in AssignToImport errors (#8222) by @Copilot
  • show import declaration span in CannotCallNamespace error (#8223) by @Copilot
  • emit error when plugin accidentally removes runtime module symbols (#8203) by @IWANABETHATGUY
  • support tsconfig loading & inputMap for transform (#8180) by @sapphi-red
  • rolldown_plugin_vite_reporter: update warning message to link to Rolldown docs (#8205) by @sapphi-red

๐Ÿ› Bug Fixes

  • avoid panic on untranspiled JSX syntax by reporting a diagnostic error (#8226) by @IWANABETHATGUY
  • rolldown_plugin_vite_import_glob: relax absolute path check and improve invalid glob warning (#8219) by @shulaoda
  • merge chunks after detect circular reference (#8154) by @IWANABETHATGUY
  • rust: detect runtime module side effects based on its content (#8209) by @hyf0

๐Ÿšœ Refactor

๐Ÿ“š Documentation

๐Ÿงช Testing

  • ensure runtime module is preserved even if it's not used but has side effects (#8213) by @hyf0

โš™๏ธ Miscellaneous Tasks

Co-authored-by: shulaoda 165626830+shulaoda@users.noreply.github.com

Don't miss a new rolldown release

NewReleases is sending notifications on new releases.