πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

rolldown

Package Overview
Dependencies
Maintainers
3
Versions
551
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rolldown - npm Package Versions

2345
…
56

1.0.0-beta.19

Diff
rolldownbot
published 1.0.0-beta.19 β€’

Changelog

Source

[1.0.0-beta.19] - 2025-06-22

πŸš€ Features

  • support OutputOptions#manualChunks (#5037) by @hyf0
  • advanced-chunks: support advancedChunks#gruop#name to be function (#5035) by @hyf0
  • rolldown_plugin_import_glob: align with vitejs/vite#20163 (#5034) by @shulaoda
  • rust/advanced-chunks: support MatchGroup#name to be dynamic (#5033) by @hyf0
  • rolldown_plugin_build_import_analysis: align with vitejs/vite#20117 (#5027) by @shulaoda
  • rolldown_plugin_build_import_analysis: align with vitejs/vite#20115 (#5020) by @shulaoda
  • add validation warning for advanced chunks options without groups (#5009) by @sapphi-red

πŸ› Bug Fixes

  • moduleInfo is not updated when entry module is emitted by this.emitFile (#5032) by @IWANABETHATGUY
  • preserveEntrySignatures: false generates circular imports that hangs with TLA (#5029) by @IWANABETHATGUY
  • rolldown_plugin_build_import_analysis: align pure dynamic import handling with rolldown-vite (#5016) by @shulaoda
  • plugin/vite-resolve: normalize leading slash (#5013) by @sapphi-red
  • debug: build_id doesn't increase (#5015) by @hyf0
  • side effects in this.emitFile({ type: 'chunk' }) is removed when preserveEntrySignatures: false is set (#5012) by @IWANABETHATGUY

🚜 Refactor

  • rolldown_utils: simplify block_on_spawn_all (#5019) by @shulaoda
  • use rolldown_utils::futures::block_on for WatcherImpl#start (#5018) by @shulaoda

πŸ“š Documentation

  • jsdoc: document experimental.attachDebugInfo (#5028) by @hyf0
  • clarify that advancedChunks options are in bytes (#5022) by @sapphi-red
  • add a note that sequential conversion may break the code (#5024) by @sapphi-red

βš™οΈ Miscellaneous Tasks

  • infra: clean up dist before building rolldown (#5036) by @hyf0
  • Align status notice in readme with documentation (#5021) by @rijkvanzanten

❀️ New Contributors

  • @rijkvanzanten made their first contribution in #5021
rolldownbot
published 1.0.0-beta.18 β€’

Changelog

Source

[1.0.0-beta.18] - 2025-06-19

πŸš€ Features

  • advancedChunks: no need to include dependencies for PreserveEntrySignatures::False too (#5005) by @hyf0
  • analyze commonjs module side effects and remove unused module (#5003) by @IWANABETHATGUY
  • specially handling commonjs export stmt side effects (#5002) by @IWANABETHATGUY
  • rolldown: oxc v0.73.2 (#5000) by @Boshen
  • debug: attach both session_id and build_id to debug events (#4994) by @hyf0

πŸ› Bug Fixes

  • rolldown_plugin_import_glob: correctly handle alias glob patterns (#5007) by @shulaoda
  • rolldown_plugin_alias: correctly handle resolved_id (#5006) by @shulaoda
  • imported namespace is missing after external import namespace merging (#4999) by @IWANABETHATGUY
  • node: add experimental.viteMode to option validator (#4996) by @sapphi-red
  • plugin/vite-resolve: optional peer dep id parse error (#4995) by @sapphi-red

🚜 Refactor

  • debug: remove extra mechanism for passing session_id and unnecessary passing of spans (#5001) by @hyf0

πŸ“š Documentation

  • update description about directive handling (#4992) by @IWANABETHATGUY

βš™οΈ Miscellaneous Tasks

  • deps: update dependency rolldown-plugin-dts to v0.13.11 (#4863) by @renovate[bot]
  • infra: update changelog configuration in cliff.toml (#4961) by @shulaoda
  • infra: add knip to ci (#4991) by @webpro
rolldownbot
published 1.0.0-beta.17 β€’

Changelog

Source

[1.0.0-beta.17] - 2025-06-17

πŸš€ Features

  • binding: feat(binding): always use the same BindingBundler to create BindingBundlerImpl for the same RolldownBuild by @hyf0 in #4985
  • debug: feat(debug): cache large string by @hyf0 in #4882
  • feat: make require('./foo.json') work as expected even if the json is transformed to JS by a custom plugin by @IWANABETHATGUY in #4984
  • feat: add diagnostic for multiple entries with UMD/IIFE formats by @shulaoda in #4954

πŸ› Bug Fixes

  • plugin/vite-resolve: fix(plugin/vite-resolve): importing an optional peer dep should throw an runtime error by @sapphi-red in #4980
  • fix: upgrade napi, fix wasm url by @sxzz in #4958
  • fix: should rewrite hmr related ast after test if experimental.hmr is enabled. by @IWANABETHATGUY in #4972

πŸ’Ό Other

  • build: provide "type": "module" in package.json by @iiio2 in #4974

🚜 Refactor

  • binding: refactor(binding): rename Bundler to BindingBundleImpl by @hyf0 in #4983
  • rolldown: refactor(rolldown): migrate to ESM package by @sxzz in #4959

πŸ“š Documentation

  • docs: explain how to transpile legacy decorators by @hyf0 in #4989
  • code-splitting: docs(code-splitting): make terms bold instead of wrapped with inline code block by @hyf0 in #4975
  • docs: improve advanced chunks by @hyf0 in #4966
  • docs: refine code splitting guide by @sapphi-red in #4969

πŸ§ͺ Testing

  • test: place empty package.json to prevent all files to be treated as node mode by @sapphi-red in #4979

βš™οΈ Miscellaneous Tasks

  • infra: chore(infra): ensure pnpm install for common commands by @hyf0 in #4987
  • browser: chore(browser): add @oxc-project/runtime by @shulaoda in #4988
  • deps: chore(deps): update dependency tsdown to v0.12.8 by @renovate[bot] in #4977
  • deps: chore(deps): update npm packages (major) by @renovate[bot] in #4963
  • deps: chore(deps): lock file maintenance npm packages by @renovate[bot] in #4967
  • deps: chore(deps): lock file maintenance rust crates by @renovate[bot] in #4965
  • deps: chore(deps): lock file maintenance npm packages by @renovate[bot] in #4964
  • deps: chore(deps): update github-actions by @renovate[bot] in #4962

❀️ New Contributors

  • @iiio2 made their first contribution in #4974
rolldownbot
published 1.0.0-beta.16 β€’

Changelog

Source

[1.0.0-beta.16] - 2025-06-15

πŸš€ Features

  • rolldown: feat(rolldown): oxc v0.73.0 by @Boshen in #4948
  • types: feat(types): generate HMR runtime types by @sapphi-red in #4928
  • rolldown_plugin_build_import_analysis: feat(rolldown_plugin_build_import_analysis): align with rolldown-vite by @shulaoda in #4931
  • feat: allow to configureexperimental#attachDebugInfo: 'none' to disable generating #region comments by @TheAlexLichter in #4918

πŸ› Bug Fixes

  • fix: deduplicate entry point by @IWANABETHATGUY in #4956
  • fix: diagnostic message on minified code is too long to be readable by @IWANABETHATGUY in #4950
  • fix: deduplicated entry points when have same id, name, and filename by @IWANABETHATGUY in #4947
  • fix: unbundle does not work with outExtensions by @IWANABETHATGUY in #4945
  • types: fix(types): remove undefined from return type of generateHmrPatch and hmrInvalidate by @sapphi-red in #4943
  • fix: handle error in hmrInvalidate by @sapphi-red in #4942
  • rolldown_plugin_build_import_analysis: fix(rolldown_plugin_build_import_analysis): preload helper is imported even if it’s not needed by @shulaoda in #4936
  • hmr: fix(hmr): avoid panic after syntax error by @sapphi-red in #4898
  • strictExecutionOrder: fix(strictExecutionOrder): ensure initialization chain of entry exports by @hyf0 in #4933
  • fix: should not panic when meet a syntax error in watch mode. by @IWANABETHATGUY in #4926
  • fix: regression, id filter normalization for windows is not working by @IWANABETHATGUY in #4922
  • rolldown_plugin_json: fix(rolldown_plugin_json): incorrect default JSON export by @shulaoda in #4924

🚜 Refactor

  • refactor: avoid unnecessary collect by @IWANABETHATGUY in #4949
  • refactor: get normalized options via binding by @IWANABETHATGUY in #4938
  • refactor: include DevRuntime base class even if custom HMR implementation is passed by @sapphi-red in #4929

πŸ“š Documentation

  • docs: clarify minifier state by @TheAlexLichter in #4953
  • docs: drafting code splitting by @hyf0 in #4951
  • docs: add link to repl by @sxzz in #4917
  • pluginutils: docs(pluginutils): add example to simple filter functions by @sapphi-red in #4915

πŸ§ͺ Testing

  • test: add testcase for normalized output options by @IWANABETHATGUY in #4939
  • hmr: test(hmr): enable expectExecuted for generatePatchError test by @sapphi-red in #4937
  • test: evaluate hmr tests in node by @sapphi-red in #4930
  • test: add "non used export" hmr test by @sapphi-red in #4900
  • test: enable expectExecuted in HMR tests by @sapphi-red in #4927

βš™οΈ Miscellaneous Tasks

  • deps: chore(deps): lock file maintenance npm packages by @renovate[bot] in #4866
  • infra: chore(infra): remove comments related to cspell by @shulaoda in #4940
  • ci: remove cargo bench test by @IWANABETHATGUY in #4925
rolldownbot
published 1.0.0-beta.15 β€’

Changelog

Source

[1.0.0-beta.15] - 2025-06-11

πŸš€ Features

  • feat: make native json plugin callable by @shulaoda in #4908
  • feat: support preserveSignature in this.emitFile by @IWANABETHATGUY in #4895
  • rolldown_plugin_module_preload_polyfill: feat(rolldown_plugin_module_preload_polyfill): expose plugin config by @shulaoda in #4896

πŸ› Bug Fixes

  • fix: add missing pathe polyfill by @sxzz in #4912
  • node: fix(node): call options hook for experimental_scan by @sapphi-red in #4911
  • fix: better NoEntryPoint error message by @IWANABETHATGUY in #4903
  • fix: fail to bundle when provide entryPoint dynamiclly by @IWANABETHATGUY in #4902

πŸ§ͺ Testing

  • pluginutils: test(pluginutils): add query suffix case for makeIdFiltersToMatchWithQuery by @sapphi-red in #4914
  • test: copy rollup preserveEntrySignature override-via-plugin test by @IWANABETHATGUY in #4910
  • test: include error in hmr test snapshots by @sapphi-red in #4899

βš™οΈ Miscellaneous Tasks

  • chore: update committed dts by @sapphi-red in #4913
  • chore: bump rolldown-ariadne by @IWANABETHATGUY in #4909
  • improve prepare release commit message by @Boshen
rolldownbot
published 1.0.0-beta.14-commit.12b8061 β€’
rolldownbot
published 1.0.0-beta.14 β€’

Changelog

Source

[1.0.0-beta.14] - 2025-06-10

πŸ’₯ BREAKING CHANGES

  • refactor!: move preserveEntrySignatures from output to input options by @IWANABETHATGUY in #4871

πŸš€ Features

  • strictExecutionOrder: feat(strictExecutionOrder): no need to generate plain chunk imports for addressing side effects by @hyf0 in #4890
  • feat: make wasm fallback plugin callable in node by @shulaoda in #4885
  • rolldown_plugin_module_preload_polyfill: feat(rolldown_plugin_module_preload_polyfill): align with rolldown-vite by @shulaoda in #4884
  • attachDebugInfo: feat(attachDebugInfo): improve format and distinguish dynamic entries by @hyf0 in #4861

πŸ› Bug Fixes

  • binding: fix(binding): preserveModules infinity loop by @Brooooooklyn in #4879
  • fix: dynamic import does not return exports when preserveEntrySignatures: false is set and the importee is an entry by @IWANABETHATGUY in #4891
  • fix: preserveEntrySignatures panics with an edge case by @IWANABETHATGUY in #4877
  • fix: directives are missing with preserveModules by @IWANABETHATGUY in #4876
  • fix: exports from dynamically imported chunks are removed by @IWANABETHATGUY in #4875

🚜 Refactor

  • refactor: clearify Chunk entry kind by @IWANABETHATGUY in #4892
  • rolldown_plugin_build_import_analysis: refactor(rolldown_plugin_build_import_analysis): align the logic with rolldown-vite by @shulaoda in #4856

πŸ“š Documentation

  • contrib-guide: docs(contrib-guide): add HMR testing section by @sapphi-red in #4888
  • guide: docs(guide): update release channels - remove nightly, add pkg.pr.new by @Boshen in #4881

πŸ§ͺ Testing

  • test: rename rolldown/topics/hmr/mutiply-entires to snake case by @sapphi-red in #4889
  • test: add test for #4849 by @sapphi-red in #4887
  • test: setup infra for hmr tests by @sapphi-red in #4886

βš™οΈ Miscellaneous Tasks

  • ci: disable publish to nightly by @Boshen in #4874
  • ci: extend Vite tests timeout by @sapphi-red in #4870
  • fix publish-to-npm.yml by @Boshen

◀️ Revert

  • revert: "refactor(rolldown_plugin_load_fallback): align with rolldown-vite" by @shulaoda in #4868
rolldownbot
published 1.0.0-beta.13-commit.024b632 β€’
rolldownbot
published 1.0.0-beta.13-commit.6bb8d8d β€’
rolldownbot
published 1.0.0-beta.13 β€’

Changelog

Source

[1.0.0-beta.13] - 2025-06-07

πŸš€ Features

  • feat: merge same ImportNamespaceSpecifier for external module by @IWANABETHATGUY in #4373

πŸ› Bug Fixes

  • ci: disable generate_release_notes by @Boshen

πŸ“š Documentation

  • docs: add MAINTENANCE.md; remove rolldown.rs/contrib-guide/release by @Boshen in #4854

βš™οΈ Miscellaneous Tasks

  • add input description to prepare-release.yml by @Boshen
  • fix prepare-release.yml by @Boshen
  • CHANGELOG.md: ci(CHANGELOG.md): use git-cliff to generate changelogs by @Boshen in #4858
2345
…
56