v2.0.0-beta.3
- perf: Enable more Clippy performance checks and reduce redundant clones by @hardfist in https://github.com/web-infra-dev/rspack/pull/13069
- perf: remove unused env call by @hardfist in https://github.com/web-infra-dev/rspack/pull/13080
- perf: use slotmap for scope info by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13101
- feat(progress-plugin)!: replace handler rest args with structured info object by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13049
- feat!: Add
pnp_manifestoption to resolver by @smeng9 in https://github.com/web-infra-dev/rspack/pull/12417
- fix: infinite loop in
is_available_chunkwhen chunk groups form a cycle by @SyMind in https://github.com/web-infra-dev/rspack/pull/13042 - fix: normalize file dependencies paths in CopyPlugin to prevent incorrect rebuild triggers by @SyMind in https://github.com/web-infra-dev/rspack/pull/13043
- fix(module-federation): encode runtime data URI and support named wrappers by @BleedingDev in https://github.com/web-infra-dev/rspack/pull/12982
- fix: generating correct types for
@rspack/lite-tapableby @colinaaa in https://github.com/web-infra-dev/rspack/pull/13048 - fix(rstest): hoist importActual ESM imports by @9aoy in https://github.com/web-infra-dev/rspack/pull/13025
- fix(rstest): replace
mockRequiretorstest_mock_requireby @9aoy in https://github.com/web-infra-dev/rspack/pull/13056
- refactor: move exports info out of module graph by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13055
- refactor: Bind ImportedByDeferModulesArtifact to optimize chunk modules pass by @hardfist in https://github.com/web-infra-dev/rspack/pull/13059
- refactor: make finishModules readonly for compilation by @hardfist in https://github.com/web-infra-dev/rspack/pull/13058
- refactor: Add iterators to module graph helpers to avoid cloning by @hardfist in https://github.com/web-infra-dev/rspack/pull/13067
- refactor: replace collect api with iterator api by @hardfist in https://github.com/web-infra-dev/rspack/pull/13095
- refactor: make compilation readonly for CompilationSeal hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/13060
- docs: standardize heading case in documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13051
- docs: fix for words without space between them in the Introduction section by @arijitpatra in https://github.com/web-infra-dev/rspack/pull/13094
- chore: release v2.0.0-beta.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13041
- chore(workflow): remove API check from pre commit by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13044
- chore(deps): remove simd-adler32 crate patch by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13045
- chore(ci): remove setting mirror by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13057
- chore(deps): update dependency prettier to v3.8.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13065
- chore(deps): update dependency rspack-vue-loader to ^17.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13066
- chore(deps): update dependency core-js to v3.48.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13062
- chore(deps): update dependency create-rstack to v1.8.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13063
- chore(deps): update dependency enhanced-resolve to v5.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13064
- chore(deps): update dependency @playwright/test to v1.58.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12874
- chore: update sftrace skill by @hardfist in https://github.com/web-infra-dev/rspack/pull/13078
- chore(deps): update dependency terser to v5.46.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13076
- chore(deps): update dependency mini-css-extract-plugin to ^2.10.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13075
- chore(deps): update dependency markdown-to-jsx to ^9.7.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13073
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13084
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13083
- chore(deps): update dependency @microsoft/api-extractor to v7.56.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13036
- chore(deps): update dependency webpack-sources to v3.3.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13082
- chore(deps): update dependency ws to ^8.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13089
- chore(deps): update dependency acorn to ^8.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13088
- chore(deps): update dependency check-dependency-version-consistency to v6 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13092
- chore(deps): update dependency @actions/core to v3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13090
- chore(ci): don't cancel diff CI task on main branch by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13099
- test: update imports to use rspack instead of webpack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13100
- chore(deps): update dependency @biomejs/biome to ^2.4.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13085
- chore: remove api change and doc coverage checks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13102
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13110
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13111
- chore: Add benchmark for module graph API by @hardfist in https://github.com/web-infra-dev/rspack/pull/13112
- @BleedingDev made their first contribution in https://github.com/web-infra-dev/rspack/pull/12982
- @smeng9 made their first contribution in https://github.com/web-infra-dev/rspack/pull/12417
- @arijitpatra made their first contribution in https://github.com/web-infra-dev/rspack/pull/13094
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-beta.2...v2.0.0-beta.3
v2.0.0-beta.2
- perf: Cache default context regexp for parser plugins by @hardfist in https://github.com/web-infra-dev/rspack/pull/13024
- fix: prevent module point to wild pointer by @SyMind in https://github.com/web-infra-dev/rspack/pull/13021
- fix!: remove deprecated readResourceForScheme hook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13027
- fix(core): missing @rspack/lite-tapable types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13031
- fix: allow both 0.24+ and 2.0+ of @module-federation/runtime-tools by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13039
- refactor: improve rspack_plugin_esm_library code style by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13009
- docs: add Rspack 1.x to 2.0 migration guide by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12826
- docs: improve migration guide content and structure by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13040
- chore: remove rspackExperiments.collectTypeScriptInfo related code by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13026
- chore: release v2.0.0-beta.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13023
- chore(test): use seperate test config for native watcher test project by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13029
- chore(deps): update dependency @swc/plugin-remove-console to ^12.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13038
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13034
- chore(deps): update dependency @shikijs/transformers to ^3.22.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13037
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13035
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-beta.1...v2.0.0-beta.2
v2.0.0-beta.1
- feat!: change default value for devtool by @SyMind in https://github.com/web-infra-dev/rspack/pull/12934
- fix!: enable requireAsExpression by default again and not to throw warning when requireAlias is disabled by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12998
- perf: optimize require regex compilation using static LazyLock by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12944
- perf: try fix mf performance regression by @hardfist in https://github.com/web-infra-dev/rspack/pull/12958
- feat: add
beforeModuleIdshook by @hamlim in https://github.com/web-infra-dev/rspack/pull/12809 - feat: support
import.defer()for context module by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12938 - feat: support MF share treeshake by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12250
- feat: make license banner comment more concise by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12960
- feat: preserve tla expr for EsmLibrary by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12942
- feat: add support for readonly persistent cache by @cellison-figma in https://github.com/web-infra-dev/rspack/pull/12902
- feat(css): introduce
resolveImportparser option for css parser to choose whether to resolve@importsyntax by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12672 - feat: add the map of json data size to rspack_plugin_rsdoctor for use rsdoctor by @yifancong in https://github.com/web-infra-dev/rspack/pull/12950
- feat!: change exports presence default to true by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13002
- fix: rsc plugin stats should use AtomicRefCell by @SyMind in https://github.com/web-infra-dev/rspack/pull/12923
- fix: context dependencies hash calculation use cache.snapshot configuration by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12937
- fix!: remove debug hash algorithm by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12951
- fix: RSC fails to properly handle Windows paths by @SyMind in https://github.com/web-infra-dev/rspack/pull/12969
- fix: webpack_chunk_load api compile wrong by @SyMind in https://github.com/web-infra-dev/rspack/pull/12971
- fix: Replace AtomicRefCell with Mutex in RSC Coordinator by @SyMind in https://github.com/web-infra-dev/rspack/pull/12972
- fix: port webpack fix for webpack_module name collision by @Copilot in https://github.com/web-infra-dev/rspack/pull/12956
- fix: preserve import external without modify mg by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12973
- fix: allow to export the same name of same local, fix entry splitting algorithm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13000
- fix(esm-lib-plugin): support inline export for dyn import by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12949
- refactor: collect runtime module runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12890
- refactor: introduce PassExt trait by @hardfist in https://github.com/web-infra-dev/rspack/pull/12896
- refactor: runtime requirements in parser by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12928
- refactor: improve runtime module macro by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12941
- refactor: make lazy compilation active request meaningful by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12887
- refactor: move build_chunk_graph result to build_chunk_graph_artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12917
- refactor: using sync hook for dependency_referenced_exports hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/12963
- refactor: use runtime template for context module codegen by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12957
- refactor: rename derefOption to stealCell and migrate atomicRefCell to Stealcell by @hardfist in https://github.com/web-infra-dev/rspack/pull/12974
- refactor: wrap artifact in StealCell by @hardfist in https://github.com/web-infra-dev/rspack/pull/12979
- refactor: Replace artifact default initialization with explicit new by @hardfist in https://github.com/web-infra-dev/rspack/pull/13005
- refactor: Ensure each crate enables workspace clippy lint by @hardfist in https://github.com/web-infra-dev/rspack/pull/12995
- refactor: improve runtime code template architecture by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12954
- docs: correct plugin hook in SRI plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12935
- docs: add guide for React Server Components by @SyMind in https://github.com/web-infra-dev/rspack/pull/12919
- docs: remove experimental outputModule configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12952
- docs: move deprecated options to dedicated page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12953
- docs: add docs about using module external with defer import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12965
- docs: update doc links for Rspack versions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12985
- docs: update import defer supported syntax by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12987
- docs(config): clarify output.uniqueName default value and usage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12993
- docs: remove meaningless comments from config examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12994
- docs(agents): clarify semver commit requirements by @hardfist in https://github.com/web-infra-dev/rspack/pull/12996
- docs: sort config option sections alphabetically by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12999
- docs(ecosystem): add Meteor to ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13004
- docs(module-federation): improve plugin documentation for clarity by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12997
- docs: add cache.readonly doc by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12991
- docs: fix various documentation links and typos by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13013
- docs: improve performance configuration documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13015
- docs(config): add examples module rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13016
- docs: improve
optimization.mangleExportsdocs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13018
- chore: release 2.0.0-beta.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12926
- chore(deps): update babel to ^7.29.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12932
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12930
- chore(deps): update rust crate bytes to v1.11.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12931
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12929
- chore(test): unref makes the server garbage unstable by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12936
- chore(core): move @rspack/lite-tapable to dev dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12939
- chore(build): remove 'module.exports' export from dts for backward compatibility of TS < 5.6.2 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12948
- test: bump rstest 0.8.3 by @9aoy in https://github.com/web-infra-dev/rspack/pull/12959
- chore: remove color-backtrace and enable panic backtrace for ci profile by @hardfist in https://github.com/web-infra-dev/rspack/pull/12967
- chore: use httpClient to mock test server by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12962
- chore(test): show cli test stdout/err when child proceess killed by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12913
- chore(ci): keep debug info in CI profile by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12981
- chore: bump @rslint/core to 0.2.1 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13003
- chore(deps): update dependency axios to v1.13.5 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13014
- chore: Add build_module_graph benchmark in codspeed suite by @hardfist in https://github.com/web-infra-dev/rspack/pull/13012
- @hamlim made their first contribution in https://github.com/web-infra-dev/rspack/pull/12809
- @cellison-figma made their first contribution in https://github.com/web-infra-dev/rspack/pull/12902
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-beta.0...v2.0.0-beta.1
v1.7.6
- fix: context dependencies hash calculation use cache.snapshot configuration by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12947
- fix: port webpack fix for webpack_module name collision for v1.x by @SyMind in https://github.com/web-infra-dev/rspack/pull/12988
- docs: add Rspack 2.x docs links to v1 website by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12984
- chore: release v1.7.5 by @SyMind in https://github.com/web-infra-dev/rspack/pull/12916
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.5...v1.7.6
v2.0.0-beta.0
- feat!: remove experiments.outputModule config by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12912
- perf: remove ropey crate to reduce binary size by @SyMind in https://github.com/web-infra-dev/rspack/pull/12433
- 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
- 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: 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
- 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
- @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
v1.7.5
- fix: fix pnaic for quasic in template literals by @hardfist in https://github.com/web-infra-dev/rspack/pull/12865
- fix(mf): respect request changes in shared plugins (cherry-pick #12863) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12864
- fix: should render export name when re-export from different modules for v1.7 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12888
- fix: fix used exports for global entry that inject to async entrypoints (backport #12883) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12897
- fix(rstest):
rstest.importActualnot work when imported from@rstest/coreby @9aoy in https://github.com/web-infra-dev/rspack/pull/12918
- chore: release 1.7.4 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12862
- chore: enable backtrace for release-debug by @hardfist in https://github.com/web-infra-dev/rspack/pull/12868
- chore: fix bundle-diff for v1 branch by @hardfist in https://github.com/web-infra-dev/rspack/pull/12876
- chore(ci): update diff action commit id by @yifancong in https://github.com/web-infra-dev/rspack/pull/12879
- fix: unsafe cache cannot watch symlink by @SyMind in https://github.com/web-infra-dev/rspack/pull/12891
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.4...v1.7.5
v1.7.4
- feat: support import and export string specifier by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12759
- feat(mf): add async startup promise gating for entrypoints by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/11899
- fix:
require.resolve()replaced asrequire()by @intellild in https://github.com/web-infra-dev/rspack/pull/12773 - fix: handle
rs.requireActualandrs.importActualin all contexts by @9aoy in https://github.com/web-infra-dev/rspack/pull/12806 - fix(mf): filter runtime plugin invocation for used exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12807
- fix: fix panic caused by missing lazy dependency by @hardfist in https://github.com/web-infra-dev/rspack/pull/12820
- fix(mf): use dynamic exports type for MF modules (cherry-pick #12841) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12848
- fix: normalize paths for extract source map (cherry-pick #12825) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12847
- fix: enable panic backtrace for release-debug by @hardfist in https://github.com/web-infra-dev/rspack/pull/12854
- fix: should not panic when accessing slate stats for Rspack 1.x by @SyMind in https://github.com/web-infra-dev/rspack/pull/12853
- fix(mf): cherry pick mf manifest improving to v1.x by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12851
- refactor: use readonly ref in runtime requirements in tree hook by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12789
- refactor: introduce ArtifactExt trait by @hardfist in https://github.com/web-infra-dev/rspack/pull/12800
- refactor: to use &Compilation in AdditionalTreeRuntimeRequirementsHook by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12801
- refactor: differentiate snapshot strategies by dependency type by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12805
- chore: update Node.js version in .nvmrc to 22 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12797
- chore: enable fair sched for codspeed by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12798
- chore: try to make wasm test more stable by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12795
- chore: disable generation of wasm binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12802
- chore(test): uniform all time to
X msby @stormslowly in https://github.com/web-infra-dev/rspack/pull/12790 - test: hideSkippedTestFiles by @9aoy in https://github.com/web-infra-dev/rspack/pull/12812
- test: skip native watcher test case for skip chunk build case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12858
- @intellild made their first contribution in https://github.com/web-infra-dev/rspack/pull/12773
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.3...v1.7.4
v2.0.0-alpha.1
- feat!: revert enable verbatimModuleSyntax by @hardfist in https://github.com/web-infra-dev/rspack/pull/12846
- feat: improve external module rendering by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12813
- feat: builtin react server component by @SyMind in https://github.com/web-infra-dev/rspack/pull/12012
- feat: expose dependency loc to js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12840
- fix(template): add @rspack/dev-server to dev dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12821
- fix: normalize paths for extract source map by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12825
- fix(mf): use dynamic exports type for MF modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12841
- fix: should not panic when access slate stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12839
- fix(mf): prevent entry-specific chunks from polluting manifest assets and refactor manifest generation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12836
- refactor: align IncrementalPass with rspack hooks naming by @hardfist in https://github.com/web-infra-dev/rspack/pull/12817
- refactor: remove misleadning naming and adjust cache call place by @hardfist in https://github.com/web-infra-dev/rspack/pull/12818
- refactor: unify persistent_cache and memory_cache recover logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/12829
- refactor: additional chunk runtime requirements hook use readonly compilation ref by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12828
- refactor: move recover build_chunk_graph into artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12835
- docs: update externals function callback about
booleantype by @9aoy in https://github.com/web-infra-dev/rspack/pull/12824 - docs: add tip for devtool's cheap modifier in production build by @SyMind in https://github.com/web-infra-dev/rspack/pull/12849
- release: version 2.0.0-alpha.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12815
- chore(ci): read size limit threshold from env variable by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12822
- chore(deps): update dependency lodash-es to v4.17.23 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12833
- chore(test): exclude flaky native watch test case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12837
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-alpha.0...v2.0.0-alpha.1
v2.0.0-alpha.0
This is an early preview release intended for testing only. It introduces a number of breaking changes that are not yet final.
See https://github.com/web-infra-dev/rspack/discussions/9270 for all breaking changes.
- feat!: remove
experiments.SubResourceIntegrityPluginby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12642 - feat!: remove
experiments.rspackFutureand movebundlerInfotooutputby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12654 - feat!: remove
experiments.parallelLoaderby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12658 - feat!: remove
profileandstats.profileby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12662 - feat!: enable
verbatimModuleSyntaxofbuiltin:swc-loaderby default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12668 - feat!: remove
rspack.experiments.lazyCompilationMiddlewareby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12736 - feat!: remove deprecated WarnCaseSensitiveModulesPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12737
- feat!: remove deprecated draft option from LightningCSS minimizer by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12740
- feat!: remove deprecated cssHeadDataCompression option by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12741
- feat!: remove deprecated output library fields by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12745
- feat!: make @rspack/dev-server an optional peer dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12750
- feat!: use rspackChunk as default value of chunkLoadingGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12779
- feat!: disable requireAsExpression by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12786
- feat!: use "rspack" as default trustedTypes policy name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12799
- feat!: remove sri option of HtmlRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12651
- feat!: remove
output.charsetby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12660 - feat!: disable
.swcrcreading in JavaScript compiler by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12667 - feat!: remove deprecated getHooks method from plugins by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12738
- feat!: Rspack off modules and assets in normal stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12701
- feat!: default loader/plugin target by rspack target by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12752
- feat!: use rspackHotUpdate as default hotUpdateGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12774
- feat!: enable css by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12744
- feat!: default targets for loader/plugin derived by rspack target, part 2 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12780
- feat!: do not expose EsmLibraryPlugin to user directly, use modern-module instead by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12792
- refactor!: drop support for Node 18 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12739
- refactor!: drop CommonJS build and transition to pure ESM package by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12733
- refactor!: use EsmLibraryPlugin for modern-module library type by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12712
- refactor!: move incremental option from experiments to top-level config by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12793
- fix: failed to resolve 'browserslist-load-config' module by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12767
- fix: correct watchpack require path by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12771
- fix(browser): fix
@rspack/browserfailure after pure esm transformation by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12781 - fix(mf): async startup e2e test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12808
- docs: remove deprecated parallelCodeSplitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12751
- docs: add missing documentation for JavascriptParserOptions by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12748
- docs: update bundlerInfo version and formatting by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12772
- docs: fix typo in CSS docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12784
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.3...v2.0.0-alpha.0
v1.7.3
- feat: support portable cache and disable by default by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12680
- fix(browser): update worker format and add e2e test by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12747
- fix: sort css by sourceorder, esm import comes first by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12778
- refactor: move pass into separate folder and driven by run_passes by @hardfist in https://github.com/web-infra-dev/rspack/pull/12735
- refactor(lazy-compilation): use POST request to transfer ids of active modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12678
- refactor: move logger into pass and reorg some passes by @hardfist in https://github.com/web-infra-dev/rspack/pull/12742
- refactor: use newtype for alias artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12754
- refactor: move all artifacts together by @hardfist in https://github.com/web-infra-dev/rspack/pull/12755
- refactor: use compilation readonly ref in codegen optimization hook by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12743
- refactor: remove old cache by @hardfist in https://github.com/web-infra-dev/rspack/pull/12777
- chore: release 1.7.2 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12710
- chore(deps): update dependency @rspack/plugin-react-refresh to ^1.6.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12718
- chore(deps): update dependency @shikijs/transformers to ^3.21.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12719
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12716
- test: skip recover-from-error/delete-file in watchCases by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12726
- test: use Rstest projects to define tests by @9aoy in https://github.com/web-infra-dev/rspack/pull/12729
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12717
- chore(lint): bump @rslint/core to 0.2.0 and enable default-param-last rule by @fansenze in https://github.com/web-infra-dev/rspack/pull/12746
- test: support filter test by absolute path by @9aoy in https://github.com/web-infra-dev/rspack/pull/12749
- chore: bump
swc_corefrom 54 to 55 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12758 - chore: limit threads for codspeed benchmark by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12763
- chore(deps): update dependency cspell to ^9.6.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12768
- chore(deps): update dependency emnapi to ^1.8.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12769
- chore(deps): update dependency memfs to v4.53.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12770
- @fansenze made their first contribution in https://github.com/web-infra-dev/rspack/pull/12746
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.2...v1.7.3