Improved
v2.0.0-beta.0
What's Changed
Breaking Changes π
- feat!: remove experiments.outputModule config by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12912
Performance Improvements β‘
- perf: remove ropey crate to reduce binary size by @SyMind in https://github.com/web-infra-dev/rspack/pull/12433
New Features π
- feat: add cache.portable configuration by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12842
- feat: support
import.defer()for statical path by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12900 - feat(rstest): only handle global variables when globals is true by @9aoy in https://github.com/web-infra-dev/rspack/pull/12921
Bug Fixes π
- fix: enable panic backtrace for release-debug profile by @Copilot in https://github.com/web-infra-dev/rspack/pull/12856
- fix(mf): respect request changes in shared plugins by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12863
- fix: prevent panic on template literals with invalid escape sequences by @Copilot in https://github.com/web-infra-dev/rspack/pull/12867
- fix: rsc should handle concat module in build server manifest by @SyMind in https://github.com/web-infra-dev/rspack/pull/12859
- fix: fix used exports for global entry that inject to async entrypoints by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12883
- fix: should render export name when re-export from different modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12886
- fix: unsafe cache cannot watch symlink by @SyMind in https://github.com/web-infra-dev/rspack/pull/12885
- fix!: remove unsafe cache by @SyMind in https://github.com/web-infra-dev/rspack/pull/12892
- fix: prevent server actions from being removed in production build by @SyMind in https://github.com/web-infra-dev/rspack/pull/12898
- fix(rstest):
rstest.importActualnot work when imported from@rstest/coreby @9aoy in https://github.com/web-infra-dev/rspack/pull/12908 - fix: build_chunk_graph recover logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/12920
Refactor π¨
- refactor: collect module runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12843
- refactor: use runtime module for optimized deferred module by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12884
- refactor: optimize RuntimeGlobals definition with auto-inc macro by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12889
- refactor: enable rule for all crates by @hardfist in https://github.com/web-infra-dev/rspack/pull/12893
- refactor: enable more perf rule by @hardfist in https://github.com/web-infra-dev/rspack/pull/12901
- refactor: incremental.buildChunkGraph works only for skip building chunk graph by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12845
Other Changes
- chore: run workflow for v1.x branch by @SyMind in https://github.com/web-infra-dev/rspack/pull/12855
- chore: release 2.0.0-alpha.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12860
- chore(build): remove banner plugin for CommonJS default export workaround by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12869
- chore(deps): update dependency lodash to v4.17.23 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12832
- test: use tapAsyc api to wait server to close by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12870
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12871
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12872
- chore: move agents folder to .agents and add rspack-perf-profiling skill by @hardfist in https://github.com/web-infra-dev/rspack/pull/12880
- chore(ci): update diff action commit id by @yifancong in https://github.com/web-infra-dev/rspack/pull/12881
- chore: update Rspress to v2 and enable llms by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12907
- chore: add rspack-sftrace skill by @quininer in https://github.com/web-infra-dev/rspack/pull/12911
- chore: bump swc_core from 55 to 56 and swc-experimental from 0.4.1 to 0.5.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12906
- chore(test): remove rust flaky test by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12914
- chore: gracefully explain unsupported interfaces by @martinjlowm in https://github.com/web-infra-dev/rspack/pull/12782
New Contributors
- @martinjlowm made their first contribution in https://github.com/web-infra-dev/rspack/pull/12782
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-alpha.1...v2.0.0-beta.0