Zum Inhalt springen

Rolldown Release Notes

Einträge
53
Quellen
1
Zuletzt aktualisiert

Folge Rolldown, um die Release Notes in deinen Feed zu holen.

Rolldown

Rolldown 1.2.2: Inlining gemeinsamer Abhängigkeiten, viele Fehlerbehebungen

Rolldown 1.2.2 unterstützt das Inlining gemeinsamer Abhängigkeiten in dynamischen Entries, misst vom Nutzer konfigurierte Options-Callbacks in den Timings und behebt zahlreiche Fehler im Dev-Modus, bei zirkulären Star-Re-Exports, Plugin-Metadaten und im Browser-Build.

🚀 Features

  • code-splitting: support inlining of shared deps in dynamic entries (#10526) by @nicolo-ribaudo
  • plugin: time the user callbacks configured on the options (#10509) by @IWANABETHATGUY

🐛 Bug Fixes

  • dev: force cleanDir off in dev mode (#10579) by @shulaoda
  • dev: keep ?rolldown-lazy proxy ids out of user resolveId hooks (#10580) by @btea
  • initialize re-exported wrapped ESM modules at the entry chunk (#10567) by @hyfdev
  • link: resolve circular star reexports as null (#10445) by @Nic-Polumeyv
  • transform: transformer gate skips newer syntax that oxc can lower (#10564) by @sekyungk
  • code-splitting: materialize consumer-local barrel routing when the order-wrap plan is empty (#10544) by @hyfdev
  • plugin: measure plugin hooks in JavaScript, report them from Rust (#10508) by @IWANABETHATGUY
  • plugin: include external dynamic imports in chunk metadata (#10557) by @hyfdev
  • plugin: report plugin timings after closeBundle has run (#10521) by @IWANABETHATGUY
  • browser: avoid using node builtin modules (#10542) by @sapphi-red

🚜 Refactor

  • plugin: give the build's own clocks their own type (#10520) by @shulaoda

📚 Documentation

  • correct stale buildStart comment in ScanStageCache::merge (#10577) by @shulaoda
  • update outdated pluginutils references (#10574) by @dogledogle

⚡ Performance

  • external: drop the runtime import from chunks that never wrap (#10517) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.2.1: Plugin-Hook resolveFileUrl und hotUpdate im Dev-Modus

Rolldown 1.2.1 führt den Plugin-Hook resolveFileUrl mit import.meta.ROLLDOWN_FILE_URL_* ein, unterstützt den hotUpdate-Hook im Dev-Modus, wrappt Module mit strikter Ausführungsreihenfolge bei Bedarf und behebt mehrere Fehler bei Externals, Code-Splitting und Plugin-Validierung.

🚀 Features

  • dev: support hotUpdate hook (#10305) by @h-a-n-a
  • dev: expose disableWatcher through the dev engine bindings (#10474) by @shulaoda
  • plugin: surface output-option callbacks in [PLUGIN_TIMINGS] (#10411) by @IWANABETHATGUY
  • import.meta.ROLLDOWN_FILE_URL_<referenceId>_<urlId> support to pass context to resolveFileUrl hook (#10297) by @sapphi-red
  • dev: skip the HMR update when a module's rebuilt output is unchanged (#10333) by @h-a-n-a
  • code-splitting: wrap strict execution order modules on demand (#10104) by @hyfdev
  • support import.meta.ROLLDOWN_FILE_URL_* (#10296) by @sapphi-red
  • implement resolveFileUrl plugin hook (#10291) by @sapphi-red
  • magic-string: support storeName on overwrite/update (#10312) by @IWANABETHATGUY

🐛 Bug Fixes

  • external: keep __toESM when the importing module is tree-shaken (#10516) by @IWANABETHATGUY
  • dev: resolve re-exports from externals through a real import (#10489) by @tbvjaos510
  • code-splitting: route CJS barrel initialization per consumer (#10488) by @hyfdev
  • error: align filename-pattern diagnostics with Rollup's wording (#10501) by @IWANABETHATGUY
  • plugin: validate emitted prebuilt-chunk file names (#10399) by @IWANABETHATGUY
  • code-splitting: point a two-argument dynamic import at the chunk that holds the module (#10479) by @hyfdev
  • common: align is_path_fragment with Rollup's isPathFragment (#10398) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.2.0: Clientseitiges HMR im Dev-Modus und FILE_NOT_FOUND

Rolldown 1.2.0 bringt clientseitiges HMR im Dev-Modus, schreibt import.meta['url'] um, ergänzt den Fehler FILE_NOT_FOUND und behebt Fehler bei Sourcemap-Komposition, tsconfig-Änderungen im Watch- und Dev-Modus sowie beim [format]-Platzhalter für ESM.

🚀 Features

  • dev: skip shipping factories for newly imported top-level modules (#10223) by @h-a-n-a
  • dev: per-client ship map for HMR patch sizing (#10208) by @h-a-n-a
  • dev: client-side HMR (#10164) by @h-a-n-a
  • dev: send a full-reload update to clients when a tsconfig changes (#10262) by @shulaoda
  • treat import.meta['url'] and import.meta['ROLLUP_FILE_URL_*'] as side-effect free (#10267) by @sapphi-red
  • rewrite import.meta['url'] (#10251) by @sapphi-red
  • add FILE_NOT_FOUND error (#10220) by @sapphi-red
  • treat import.meta.ROLLUP_FILE_URL_* as side-effect free (#10217) by @sapphi-red

🐛 Bug Fixes

  • sourcemap: preserve unmapped boundaries during composition (#10254) by @hyfdev
  • [format] in *FileNames option for ESM format should be es instead of esm (#10214) by @sapphi-red
  • sourcemap: preserve coarse mappings during composition (#10249) by @hyfdev
  • rolldown_plugin_vite_import_glob: support tsconfig paths with import.meta.glob (#10167) by @sapphi-red
  • dev: clear tsconfig caches for bare full builds (#10276) by @shulaoda
  • dev: force a full rebuild when a tsconfig changes (#10261) by @shulaoda
  • treat rooted drive-less module ids as absolute in preserveModules naming (#10235) by @IWANABETHATGUY
  • watch: rebuild when tsconfig files change (#10258) by @shulaoda
  • watch: drop tsconfig-merged transform options on each rebuild (#10257) by @shulaoda …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.5: Option sourcemapFileNames und --configLoader=native

Rolldown 1.1.5 ergänzt die Option sourcemapFileNames und --configLoader=native, liefert beschreibende Metadaten in der Plugin-API und bessere Fehlermeldungen für unaufgelöste virtuelle Imports und behebt Fehler bei Tree-Shaking, Annotationswarnungen und im Dev-/HMR-Modus.

🚀 Features

  • detect top-level import-binding reads as execution-order sensitive (#10180) by @hyf0
  • sourcemap_filenames: add a sourcemapFileNames option (#9271) by @V1OL3TF0X
  • binding: record plugin hook result kind in tracing spans (#10154) by @IWANABETHATGUY
  • linking: skip side-effect-free modules in per-entry reachability (#10111) by @IWANABETHATGUY
  • improve error message for unresolved virtual imports (#10156) by @sapphi-red
  • add descriptive metadata to plugin API (#10106) by @sapphi-red
  • add --configLoader=native option (#10118) by @sapphi-red

🐛 Bug Fixes

  • improve invalid annotation warnings (#10185) by @hyf0
  • keep deduplicated asset filenames stable once they can be observed (#10191) by @shulaoda
  • sourcemap_filenames: use public option name in pattern errors (#10188) by @IWANABETHATGUY
  • sourcemap_filenames: hash prepared sourcemap content (#10178) by @hyf0
  • tree-shake unused circular declarators exported via export list (#10166) by @IWANABETHATGUY
  • dev: don't panic when an HMR rebuild hits an unresolved import (#10162) by @shulaoda
  • propagate errors from output.globals function (#9880) by @shulaoda
  • dev: revert cache mutations when a partial scan fails (#10110) by @shulaoda
  • dev: update importer relationships of cached modules in incremental build (#10107) by @shulaoda
  • hmr: fall back to full reload when a changed module is not registered as executed (#10132) by @shulaoda …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.4

Dieses Update deaktiviert die experimentelle Lazy-Barrel-Funktion standardmäßig und behebt zahlreiche Fehler, darunter Probleme mit JSON-Exporten, MagicString-Zeilenumbrüchen und Entwicklungsmodus-Funktionen.

🚀 Features

  • disable experimental.lazyBarrel by default (#10071) by @shulaoda

🐛 Bug Fixes

  • dev: disable lazy barrel in dev mode (#10060) by @shulaoda
  • generate: keep full JSON interface under preserveModules namespa… (#10056) by @IWANABETHATGUY
  • check finalize_other_specifiers in its own Debug attribute (#10032) by @shulaoda
  • serialize the KeepAssign unused minify option as "keep_assign" (#10031) by @shulaoda
  • keep fragments after the newline fragment in MagicString::last_line (#10023) by @shulaoda
  • generate: undeclared JSON named exports under preserveModules (#10020) (#10027) by @IWANABETHATGUY
  • deconflict: rename CJS-wrapped locals that shadow chunk-root bindings (#9921) by @IWANABETHATGUY
  • rolldown: keep entry facade when a shared chunk holds another entry's module (#9997) by @hyf0
  • treeshake: also bail JSON default split when the object escapes (#9996) by @IWANABETHATGUY
  • don't classify await in a strict-mode function as top-level await (#9987) by @shulaoda
  • avoid spurious leading newline in addon hooks (banner/footer/intro/outro) (#9989) by @shulaoda
  • handle JSON default mutation bailouts (#9972) by @TheAlexLichter
  • plugin: make lazy hook metadata enumerable (#9991) by @TheAlexLichter
  • dev: make init errors in lazy-compiled modules catchable (#9981) by @h-a-n-a
  • treeshake: keep computed-key side effects on namespace member access (#9986) by @shulaoda …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.3

Dieses Release behebt mehrere Fehler, darunter Abstürze des Browser-Hauptthreads durch defer_drop, Probleme mit der Kamel-Schreibweise von Optionen und Fehler im Watch-Modus, und enthält zudem Code-Bereinigungen und Dokumentationsupdates.

🐛 Bug Fixes

  • defer_drop crashes the browser main thread (#9942) by @shulaoda
  • camel-case: correct camel case for nested values (#9933) by @kb019
  • cli: display --help options in camelCase (#9941) by @IWANABETHATGUY
  • preserve used re-exports under preserveModules (#9122) (#9934) by @IWANABETHATGUY
  • watch: make close reentrant in event callbacks (#9904) by @hyf0
  • git for windows treats symlink files as regular files (#9915) by @AliceLanniste
  • dev: cancel pending full reload on build error (#9903) by @h-a-n-a
  • chunking: pass plugin meta to codeSplitting groups name function (#9267) by @Kyujenius
  • dev: serve assets emitted during HMR/lazy compile (vite#22596) (#9815) by @h-a-n-a
  • release: dry-run step no longer publishes binding packages (#9866) by @Boshen

🚜 Refactor

  • rolldown_common: model ModuleId as a classified Path/Virtual/Bare enum (#9927) by @Boshen
  • remove unused LegacyModuleIdx (#9872) by @shulaoda
  • remove unused StmtInfos::get_namespace_stmt_info (#9870) by @shulaoda
  • remove unused Module::as_external_mut (#9871) by @shulaoda
  • remove unused EcmaAst::is_body_empty (#9869) by @shulaoda
  • drop dead is_css_module handling in resolve_dependencies (#9867) by @shulaoda
  • drop redundant with_commonjs on cjs source type (#9868) by @shulaoda

📚 Documentation

  • clarify on drafting PRs (#9952) by @h-a-n-a
  • update contribution guidelines (#9944) by @fubhy
  • note Rust crates don't follow semver in AGENTS.md (#9905) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.2

Diese Version fügt neue Optionen für Fehlermeldungen hinzu, verbessert die TypeScript-Transformationslogik und behebt zahlreiche Fehler, einschließlich Problemen mit JSON-Zahlen, Plugin-Timings und Entwicklungsmodus.

🚀 Features

  • add option named for invalid return type errors for more places (#9846) by @shulaoda
  • add option names for invalid return type errors (#9821) by @sapphi-red
  • transform: infer decorator strictNullChecks from tsconfig (#9590) by @kylecannon
  • expose React Compiler options for rolldown and Vite users (#9801) by @Boshen
  • tracing: gate chrome-json trace layer behind chrome-tracing feature (#9773) by @hyf0
  • dev: align test-dev-server with Vite dev server (#9668) by @h-a-n-a

🐛 Bug Fixes

  • plugin_timings: point doc link to existing checks reference page (#9837) by @hyf0
  • generator: correct contradictory panic message in cjs cross-chunk symbol lookup (#9836) by @hyf0
  • esm: preserve with clause on export * from external (#9796) by @hyf0
  • Make external_import_binding_merger deterministic (#9755) by @naruaway
  • surface invalid manualCodeSplitting group test regex as an error (#9792) by @shulaoda
  • avoid panic on output.file without a file name (#9789) by @shulaoda
  • avoid O(N^2) rendering of high-volume diagnostics (#9748) (#9749) by @IWANABETHATGUY
  • avoid panic on JSON numbers outside f64 range (#9788) by @shulaoda
  • deps: bump mimalloc-safe to 0.1.63 to fix worker_threads segfault (#9785) by @shulaoda
  • cache ESM evaluation errors (#9784) by @sapphi-red
  • wrap node require helper in pure IIFE (#9783) by @kb019
  • lazy-barrel: load locally-used imports on a re-exported record (#9757) by @shulaoda …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.1

Dieses Update führt eine neue AstFactory für die AST-Konstruktion ein, optimiert die Initialisierung von Modulen und behebt Fehler wie Probleme mit package.json-Typen, HMR und der Reihenfolge von Chunk-Importen.

🚀 Features

  • ecmascript_utils: introduce AstFactory for AST construction (#9682) by @hyf0
  • drop no-op init calls for empty wrapped-ESM modules (#9678) by @IWANABETHATGUY

🐛 Bug Fixes

  • resolver: honor package.json#type for .jsx/.tsx extensions (#9690) (#9699) by @IWANABETHATGUY
  • hmr: report the full-reload reason for the invalidate-loop case (#9708) by @hyf0
  • explicit moduleSideEffects from a hook must take priority over the package.json#sideEffects (#9688) by @sapphi-red
  • keep the rolldown-runtime name for the standalone runtime chunk (#9685) by @shulaoda
  • lazy-barrel: request all exports for entry barrels on first encounter (#9672) by @shulaoda
  • finalizer: skip init_*() for tree-shaken wrapped ESM owners (#9669) by @IWANABETHATGUY
  • order chunk.imports by execution order (#9654) by @chuganzy
  • vite-resolve: preserve slash separators for Sass partial exports (#9546) by @cjc0013
  • cross-chunk CJS wrapper shadowed by author-local binding (#9648) by @IWANABETHATGUY

🚜 Refactor

  • precompute wrapped-ESM init metadata in generate stage (#9712) by @IWANABETHATGUY
  • ecmascript_utils: fold construction ext traits onto AstFactory and delete AstSnippet (#9702) by @hyf0
  • finalizer: finish ScopeHoistingFinalizer migration to AstFactory (#9701) by @hyf0
  • finalizer: migrate module_finalizers/mod.rs to AstFactory (#9700) by @hyf0
  • hmr: migrate hmr finalizer to AstFactory (#9695) by @hyf0 …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.1.0

Diese Version aktiviert die Lazy-Barrel-Funktion standardmäßig, unterstützt caseSensitive-Optionen für import.meta.glob und fügt Warnungen für ungültige Sourcemaps hinzu, während mehrere Fehler behoben werden.

🚀 Features

  • enable experimental.lazyBarrel by default (#9632) by @shulaoda
  • import.meta.glob support caseSensitive option (#9594) by @btea
  • add SOURCEMAP_BROKEN warning for renderChunk hook (#9601) by @sapphi-red
  • add SOURCEMAP_BROKEN warning for transform hook (#9600) by @sapphi-red
  • add @__NO_SIDE_EFFECTS__ hint for invalid @__PURE__ before function declarations (#9505) by @Copilot
  • code-splitting: support group-local includeDependenciesRecursively (#9587) by @hyf0

🐛 Bug Fixes

  • report TSCONFIG_ERROR instead of UNHANDLEABLE_ERROR for a missing tsconfig file (#9633) by @shulaoda
  • browser: add missing exports and ensure consistency with rolldown package (#9629) by @sapphi-red
  • should build test-dev-server when test-node (#9610) by @situ2001
  • chunk-optimizer: refuse asymmetric merge for cyclic dynamic entries (#9320) (#9322) by @aminpaks
  • dev: handle the remaining errors in dev (#9570) by @h-a-n-a
  • handle slash-normalized ids with preserveModulesRoot (#9595) by @IWANABETHATGUY
  • json: preserve .default access on JSON default imports (#9568) by @IWANABETHATGUY
  • testing: remove unintended trigger_full_build from test harness (#9573) by @hyf0

🚜 Refactor

  • js-regex: use regress native replace/replace_all (#9607) by @IWANABETHATGUY
  • remove never-constructed ImportStatus variants (#9606) by @Boshen

📚 Documentation

  • clarify that RolldownBuild::close method should be called in most cases (#9619) by @sapphi-red …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.3

Dieses Update fügt Unterstützung für die strictNullChecks-Option bei Dekoratoren hinzu, entfernt das defer-Schlüsselwort und behebt zahlreiche Fehler, unter anderem in der Entwicklungsumgebung und bei JSON-Importen.

🚀 Features

  • transform: respect decorator strictNullChecks option (#9580) by @kylecannon
  • drop defer keyword (#9503) by @TheAlexLichter

🐛 Bug Fixes

  • ci: create target dir before cargo release-oxc update (#9584) by @shulaoda
  • ci: reorder prepare-release steps to avoid dirty git check failure (#9583) by @shulaoda
  • testing: canonicalize temp dir early and use platform-specific separator in test262 (#9582) by @shulaoda
  • testing: resolve symlinked temp dir in test262 snapshot normalization (#9581) by @shulaoda
  • testing: canonicalize temp dir path in test262 snapshot normalization (#9579) by @shulaoda
  • dev: onOutput called twice when initial build fails (#9552) by @hyf0
  • dev: make ensureCurrentBuildFinish not returning error when engine closes (#9564) by @h-a-n-a
  • oxc-runtime: route require() to CJS helper variant (#9263) (#9526) by @IWANABETHATGUY
  • generator: use exporter chunk's export mode for CJS default re-exports (#9299) (#9529) by @IWANABETHATGUY
  • rolldown: always run reduced-atom static cycle check (#9441) (#9514) by @IWANABETHATGUY
  • apply transform.dropLabels before scanning (#9521) (#9522) by @IWANABETHATGUY
  • rolldown_watcher: take rolldown dep through the workspace (#9510) by @Boshen
  • cache: keep the scan-stage cache consistent when a build fails (#9495) by @h-a-n-a
  • skip JSON default-import namespace optimization for write targets (#9484) (#9489) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.2

Diese Version bringt neue DevTools-Funktionen zur Paketanalyse, aktualisiert oxc und ermöglicht die Eskalation von Warnungen zu harten Fehlern, während viele Fehler behoben werden.

🚀 Features

  • devtools: emit package size in PackageGraphReady (#9434) by @IWANABETHATGUY
  • devtools: classify package dependency types (#9427) by @IWANABETHATGUY
  • devtools: map packages to modules and chunks (#9426) by @IWANABETHATGUY
  • devtools: mark used packages (#9423) by @IWANABETHATGUY
  • devtools: make duplicate packages discoverable (#9422) by @IWANABETHATGUY
  • devtools: emit package metadata (#9421) by @IWANABETHATGUY
  • update oxc to 0.132.0 (#9449) by @shulaoda
  • update oxc to 0.131.0 (#9424) by @shulaoda
  • allow checks.* to escalate emissions to hard errors (#9388) by @IWANABETHATGUY
  • dev: support watcher options include and exclude (#9395) by @h-a-n-a
  • emit warnings for invalid pure annotations (#9381) by @Kyujenius

🐛 Bug Fixes

  • hash: keep chunk file names stable when an unrelated entry is added (#9444) by @hyf0
  • call codeSplitting.groups[].name in deterministic order (#9457) by @sapphi-red
  • dev/lazy: make resolve_id idempotent when the resolved id is already a lazy entry (#9439) by @h-a-n-a
  • chunk-optimization: publish absorbed dynamic-entry namespace cross-chunk (#9448) by @IWANABETHATGUY
  • treeshake: propagate pure annotation through compound exprs (#9431) by @Dunqing
  • finalizer: skip redundant init call when barrel executes in same chunk (#9354) by @IWANABETHATGUY
  • linking: initialize wrapped ESM re-export owners (#9353) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.1

Dieses Update bietet Ratschläge für übermäßig große Barrel-Module, verbessert die Optimierung dynamischer Abhängigkeiten und behebt Fehler in der Transformations- und Entwicklungsmodus-Funktionalität.

🚀 Features

  • experimental/lazy-barrel: advice on oversized barrel modules (#9236) by @shulaoda
  • rolldown: inline optional-chain enum access (#9379) by @Dunqing
  • chunk-optimization: dedupe already-loaded dynamic deps (#9305) by @IWANABETHATGUY
  • binding: call moduleParsed hook in ParallelJsPlugin (#9318) by @jaehafe

🐛 Bug Fixes

  • transform: enable enum_eval for transformSync and vite TS transform (#9325) by @Dunqing
  • error: remove severity prefix from diagnostic messages (#9262) by @Kyujenius
  • deps: pin pnpm to 10.23.0 to work around catalog mismatch on Netlify (#9364) by @shulaoda
  • ci: pin mimalloc-safe to 0.1.58 (#9361) by @shulaoda
  • dev/lazy: fix exports of lazy requests in lazy chunks (#9249) by @h-a-n-a
  • rolldown_plugin_vite_resolve: handle errors in resolveSubpathImports callback (#9355) by @sapphi-red
  • rolldown_plugin_lazy_compilation: use loadExports for fetched proxy to preserve original export names (#9132) by @h-a-n-a
  • common: include offending index in HybridIndexVec panic message (#9296) by @SAY-5

🚜 Refactor

  • ecmascript: extract semantic_builder_for_transform helper (#9326) by @Dunqing
  • test: extract reusable static-import-cycle helper (#9332) by @IWANABETHATGUY

📚 Documentation

  • clarify scope of topLevelVar (#9380) by @IWANABETHATGUY
  • meta/design: add ast-mutation design doc (#9338) by @hyf0
  • feat: add ai policy in contribution guide (#9315) by @mdong1909

⚡ Performance …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0

Dieses Release behebt mehrere Fehler im Entwicklungsmodus und bei der Modulverknüpfung, verbessert die Leistung durch Hintergrund-Protokollierung und enthält Dokumentationsupdates für den 1.0.0-Start.

🐛 Bug Fixes

  • dev/lazy: lazily compiled modules should be watched (#9301) by @h-a-n-a
  • implement dynamic dominator merge logic (#9270) by @TheAlexLichter
  • dev: apply __toCommonJS interop when CJS requires ESM in HMR finalizer (#9261) by @h-a-n-a

🚜 Refactor

  • ecma_ast: tighten allocator access to enforce Sync invariant (#9278) by @IWANABETHATGUY
  • scan_stage: remove stmt_infos field from EcmaView (#9276) by @IWANABETHATGUY
  • link_stage: detach stmt_infos from EcmaView (#9274) by @IWANABETHATGUY
  • link_stage: detach depended_runtime_helper from EcmaView to remove unsafe (#9265) by @IWANABETHATGUY
  • link_stage: remove unsafe in determine_module_exports_kind (#9253) by @IWANABETHATGUY

📚 Documentation

  • getting-started: remove RC warning for 1.0.0 release (#9310) by @shulaoda
  • getting-started: update version references for 1.0.0 release (#9309) by @shulaoda
  • add Vite+ tab to getting-started snippets (#9285) by @shulaoda
  • lazy-barrel: clarify own-exports behavior for import-then-export records (#9298) by @shulaoda
  • restructure top navigation around Learn vs Reference (#9284) by @shulaoda
  • builtin-plugins: add bundle analyzer plugin docs (#9292) by @shulaoda
  • design doc for reference_needed_symbols (#9264) by @IWANABETHATGUY

⚡ Performance

  • devtools: write logs on a background thread (#9219) by @IWANABETHATGUY

⚙️ Miscellaneous Tasks

  • mark esbuild/ts/parameter_props_use_define_for_class_fields_true as passed (#9308) by @sapphi-red …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.18: Optimierung und Fehlerbehebungen

Standardmäßig wird der inlineConst-Modus auf smart gesetzt, und mehrere Fehler in der Chunk-Optimierung sowie Plugins wurden behoben.

💥 BREAKING CHANGES

  • optimization: default unspecified inlineConst.mode to smart (#9248) by @IWANABETHATGUY

🐛 Bug Fixes

  • rolldown_plugin_vite_import_glob: return error instead of panicking when virtual module uses a relative glob (#9241) by @shulaoda
  • binding: treat empty inlineConst object as omitted (#9247) by @IWANABETHATGUY
  • rolldown: keep enum declaration for optional-chain access (#9229) by @Dunqing
  • link_stage: restore inline let-else in exports-kind filter (#9237) by @IWANABETHATGUY
  • dev/lazy: avoid module reinitialization in lazy compilation patches (#9179) by @h-a-n-a
  • dev: visit identifier references for runtime rewrites in HMR finalizer (#9191) by @h-a-n-a
  • chunk-optimizer: pick dominator for runtime placement to avoid cycles (#9164) by @IWANABETHATGUY
  • make this.emitFile chunk path synchronous to avoid deadlock (#9031) by @lazarv
  • use sentinel id for browser: false ignored modules (#9192) by @shulaoda
  • prevent chunk optimizer from creating import cycles (#9228) by @IWANABETHATGUY

🚜 Refactor

  • replace tokio::sync::Mutex with std::sync::Mutex for non-IO data (#9176) by @shulaoda
  • rolldown_plugin_vite_import_glob: do not rewrite import path for absolute base (#9195) by @shulaoda
  • runtime_helper: wrap DependedRuntimeHelperMap in a struct (#9215) by @IWANABETHATGUY
  • drop redundant clear() in determine_safely_merge_cjs_ns (#9206) by @IWANABETHATGUY
  • clean up generate_lazy_export (#9208) by @IWANABETHATGUY …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.17: Fehlerbehebungen und Dokumentation

Mehrere Fehler in der Verlinkung und Plugins wurden behoben, das Design-Dokument für die Modulausführungsreihenfolge ergänzt und die Leistung verbessert.

🐛 Bug Fixes

  • link: error on missing export between TS modules (#9197) by @IWANABETHATGUY
  • rolldown_plugin_vite_import_glob: import path should not be affected by absolute base option (#9145) by @kermanx
  • this.resolve() returns null for bare relative paths without importer (#9142) by @Copilot
  • collect destructured bindings in HMR module exports (#9146) by @h-a-n-a
  • esbuild-tests: handle 0.28.0 test cases (#9149) by @sapphi-red
  • plugin/copy-module: honor external resolutions from other plugins (#9139) by @TheAlexLichter
  • allow undefined in sourcesContent type (#9136) by @jurijzahn8019
  • reduce false positives in chunk optimizer circular dependency detection (#9049) by @AlonMiz

🚜 Refactor

  • chunk-optimizer: extract runtime-module placement into rehome_runtime_module (#9163) by @IWANABETHATGUY

📚 Documentation

  • add design doc for sort_modules execution ordering (#9169) by @IWANABETHATGUY
  • add document for RenderedModule (#9147) by @sapphi-red

⚡ Performance

  • rolldown_plugin_vite_import_glob: skip self-import earlier using raw path comparison (#9193) by @shulaoda

🧪 Testing

  • lazy: add playground/lazy-compilation (#7974) by @hyf0

⚙️ Miscellaneous Tasks

  • use app token for release PR (#9198) by @Boshen
  • upgrade oxc to 0.127.0 (#9194) by @Dunqing
  • use oxc security action (#9196) by @Boshen
  • esbuild-tests: remove some tests from ignored list as enum inline is now supported (#9184) by @sapphi-red …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.16: Neue Funktionen und Fehlerbehebungen

Unterstützung für konstante Enumerationen über Modulgrenzen und ein Modul-Tagging-System wurden eingeführt, zusammen mit mehreren Fehlerbehebungen.

🚀 Features

  • const enum cross-module inlining support (#8796) by @Dunqing
  • implement module tagging system for code splitting (#9045) by @hyf0

🐛 Bug Fixes

  • rolldown_plugin_vite_manifest: handle duplicate chunk names for CSS entries (#9059) by @sapphi-red
  • improve error message for invalid return values in function options (#9125) by @shulaoda
  • await async export-star init wrappers (#9101) by @thezzisu
  • never panic during diagnostic emission (#9091) by @IWANABETHATGUY
  • include array rest pattern in binding_identifiers (#9112) by @IWANABETHATGUY
  • rolldown: set worker thread count with ROLLDOWN_WORKER_THREADS (#9086) by @fpotter
  • rolldown_plugin_lazy_compilation: escape request ID in proxy modules (#9102) by @h-a-n-a
  • treat namespace member access as side-effect-free (#9099) by @IWANABETHATGUY
  • relax overly conservative side-effect leak check in chunk optimizer (#9085) by @IWANABETHATGUY
  • runtime: release cb reference after __commonJS factory initialization (#9067) by @hyf0-agent
  • @__NO_SIDE_EFFECTS__ wrapper should not remove dynamic imports (#9075) by @IWANABETHATGUY
  • rolldown_plugin_vite_import_glob: use POSIX path join/normalize for glob resolution (#9077) by @shulaoda
  • emit REQUIRE_TLA error when require() loads a module with top-level await (#9071) by @jaehafe
  • emit namespace declaration for empty modules in manual chunks (#8993) by @privatenumber …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.15: Fehlerbehebung und Refactoring

Ein Stack-Overflow bei zirkulären Abhängigkeiten wurde verhindert und ein Agenten-Refactoring durchgeführt.

🐛 Bug Fixes

  • prevent stack overflow in generate_transitive_esm_init on circular dependencies (#9041) by @shulaoda

🚜 Refactor

  • agents: rename Spec-Driven Development to Context Engineering (#9036) by @hyf0

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.14: Neue Funktionen und Fehlerbehebungen

Optionen für panic_hook und inlineConst für CJS-Exporte wurden hinzugefügt, Fehler in Plugins und beim Laden externer Module behoben.

🚀 Features

  • rust: add disable_panic_hook feature to disable the panic hook (#9023) by @sapphi-red
  • support inlineConst for CJS exports accessed through module.exports (#8976) by @h-a-n-a

🐛 Bug Fixes

  • rolldown_plugin_vite_import_glob: normalize resolved alias path to prevent double slashes (#9032) by @shulaoda
  • rolldown_plugin_vite_import_glob: follow symlinks in file scanning (#9000) by @Copilot
  • wrap CJS entry modules for IIFE/UMD when using exports/module (#8999) by @IWANABETHATGUY
  • emit separate __toESM bindings for mixed ESM/CJS external imports (#8987) by @IWANABETHATGUY
  • tree-shake dead dynamic imports to side-effect-free CJS modules (#8529) by @sapphi-red
  • skip inlining stale CJS export constants on module.exports reassignment (#8990) by @IWANABETHATGUY

🚜 Refactor

  • generator: migrate ecma formatting from npx oxfmt to vp fmt (#9022) by @shulaoda
  • generator: replace npx oxfmt with vp fmt for ecma formatting (#9021) by @shulaoda

📚 Documentation

  • contrib-guide: mention that running tests on older Node.js version will have different stat results (#8996) by @Claude

⚙️ Miscellaneous Tasks

  • deps: update npm packages (#9002) by @renovate[bot]
  • deps: update dependency @napi-rs/cli to v3.6.1 (#9034) by @renovate[bot]
  • deps: upgrade oxc to 0.124.0 (#9018) by @shulaoda
  • deps: update test262 submodule for tests (#9010) by @sapphi-red
  • deps: update dependency oxfmt to ^0.44.0 (#9012) by @renovate[bot] …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.13: Verbesserte Fehlermeldungen und Fehlerbehebungen

Freundliche Fehlermeldungen für nicht ladbare virtuelle Module wurden eingeführt, und diverse Fehler in der Chunk-Optimierung, im Watch-Modus und bei der Reihenfolge von Initialisierungen wurden behoben.

🚀 Features

  • add friendly error for unloadable virtual modules (#8955) by @sapphi-red
  • better error message for unsupported CSS error (#8911) by @sapphi-red

🐛 Bug Fixes

  • prevent chunk merging from leaking entry side effects (#8979) by @IWANABETHATGUY
  • correct inlining based on module's def format and esModule flag (#8975) by @h-a-n-a
  • generate init calls for excluded re-exports in strict execution order (#8858) by @IWANABETHATGUY
  • consistent order for meta.chunks in renderChunk hook (#8956) by @sapphi-red
  • subpath imports in glob imports failing to find files (#8885) by @kalvenschraut
  • browser: bundle binding types in dts output (#8930) by @nyan-left
  • ci: guard artifact download step in vite-test-ubuntu when build is skipped (#8934) by @Copilot
  • track CJS re-export import records to fix inline const and tree-shaking (#8925) by @h-a-n-a
  • use ImportKind::Import for common-chunk root computation (#8899) by @IWANABETHATGUY
  • watch: clear emitted_filenames between rebuilds (#8914) by @IWANABETHATGUY
  • ci: cache esbuild snapshots to avoid 429 rate limiting (#8921) by @IWANABETHATGUY
  • always check circular deps in chunk optimizer (#8915) by @IWANABETHATGUY
  • don't mark calls to reassigned bindings as pure (#8917) by @IWANABETHATGUY
  • magic-string: throw TypeError for non-string content args (#8905) by @IWANABETHATGUY
  • magic-string: add split-point validation and overwrite/update options (#8904) by @IWANABETHATGUY

🚜 Refactor …

Originalquelle(öffnet in neuem Tab)Problem melden

Rolldown

Rolldown 1.0.0-rc.12: Fehlerbehebungen und Refactoring

Fehler in der Watch-Modus-Neuerstellung, bei der Ausführungsreihenfolge von CJS-Init-Aufrufen und der deterministischen Chunk-Erzeugung wurden behoben, außerdem ein Refactoring im Tree-Shaking.

🚀 Features

  • chunk-optimizer: skip circular dependency check when strict execution order is enabled (#8886) by @hyf0

🐛 Bug Fixes

  • emit build warnings during watch mode rebuilds (#8897) by @IWANABETHATGUY
  • lazy-barrel: load import-then-export specifiers when barrel has local exports (#8895) by @shulaoda
  • correct execution order of transferred CJS init calls (#8877) by @IWANABETHATGUY
  • mcs: entriesAware should calculate sizes without duplication (#8887) by @hyf0
  • non-deterministic chunk generation (#8882) by @sapphi-red
  • is_top_level incorrectly treats strict-mode scopes as top-level (#8878) by @Dunqing

🚜 Refactor

  • treeshake: migrate SideEffectDetector to Oxc's MayHaveSideEffects trait (#8624) by @Dunqing

🧪 Testing

  • make dev server tests deterministic by replacing fixed sleeps with event-driven polling (#8561) by @Boshen

⚙️ Miscellaneous Tasks

  • deps: update dependency vite-plus to v0.1.14 (#8902) by @camc314
  • deps: update dependency oxfmt to ^0.42.0 (#8891) by @renovate[bot]
  • deps: update rust crate oxc_sourcemap to v6.1.1 (#8890) by @renovate[bot]
  • remove Rolldown MF plan (#8883) by @shulaoda
  • deps: update rollup submodule for tests to v4.60.0 (#8881) by @sapphi-red
  • deps: update test262 submodule for tests (#8880) by @sapphi-red
  • deps: upgrade oxc crates to 0.122.0 (#8879) by @shulaoda

Originalquelle(öffnet in neuem Tab)Problem melden