What's Changed
New Features 🎉
- feat(module-federation): enhance manifest generation and shared module handling by @2heal1 in #12399
Bug Fixes 🐞
- fix: make after optimize modules hook immutable by @hardfist in #12589
- fix: should export rspack function from
compiler.rspackby @LingyuCoder in #12636
Refactor 🔨
- refactor: make compilation readonly for module ids hook by @hardfist in #12588
- refactor: make compilation readonly for optimize tree hooks by @hardfist in #12597
- refactor: use readonly compilation reference for after seal hook by @stormslowly in #12602
- refactor: remove option in dependency_by_id by @hardfist in #12569
- refactor: don't return option for dependency_id_to_parents by @hardfist in #12609
- refactor: make compilation readonly for chunk_ids hooks by @hardfist in #12608
- refactor: remove option in module_graph_module_by_identifier_mut by @hardfist in #12610
- refactor: use read only compilation reference in after process assets hook by @stormslowly in #12615
- refactor: move try_dependency_by_id api in internal folder by @hardfist in #12611
- refactor: remove MaybeDynamicTargetExportInfo and simplify get_target by @LingyuCoder in #12601
- refactor: introduce
ExprRefto avoid cloneExprast nodes by @CPunisher in #12622 - refactor: remove unused SWC helpers by @CPunisher in #12614
- refactor: replace UsageCallback closure with InnerGraphUsageOperation enum by @JSerFeng in #12619
Document Updates 📖
- docs: add 1.7.0 release blog by @CPunisher in #12571
- docs: update links from rspack-contrib to rstackjs by @chenjiahan in #12603
- docs: fix benchmark repo links by @chenjiahan in #12607
- docs: add link to pure annotation specification by @chenjiahan in #12624
- docs: SRI plugin of old rspack versions by @LingyuCoder in #12637
Other Changes
- chore: release v1.7.0 by @CPunisher in #12595
- chore(deps): update patch npm dependencies by @renovate[bot] in #12594
- ci: only download bindings artifacts during release by @stormslowly in #12604
- chore(deps): update rust crate indicatif to 0.18.3 by @renovate[bot] in #12539
- chore(deps): update patch crates by @renovate[bot] in #12593
- chore: use Node 24 for WASM tests by @CPunisher in #12613
- chore: limit workers for loader parallel tests by @CPunisher in #12620
- chore(deps): update github-actions by @renovate[bot] in #12592
Full Changelog: v1.7.0...v1.7.1