v1.6.0-beta.0
Rspack now provides a new ESM library output that is cleaner, statically analyzable, and supports custom chunk splitting.
This new output format is fully independent of the existing chunk loading logic — each chunk can be used in isolation, and all exports are placed at the top level instead of being wrapped inside the __webpack_modules__
closure.
- Before:
exports.modules = {
"src/async-module.js": function(exports) {
__webpack_require__.d(exports, {
foo: () => foo
})
const foo = 42
}
}
- After:
// src/async-module.js
const foo = 42
export { foo }
If you'd like to try this now, follow this example:
import { rspack } from "@rspack/core";
export default{
entry: "./index.js",
output: {
chunkFormat: false, // required, EsmLibraryPlugin handles how chunk renders
chunkLoading: 'import', // required, using es module dynamic import syntax to load other chunks
},
optimization: {
runtimeChunk: true, // recommended if you have async chunks
concatenateModules: false, // required, EsmLibraryPlugin handles scope hoisting
},
plugins: [new rspack.experiments.EsmLibraryPlugin()],
};
We'll make this out-of-box in Rslib soon.
See EsmLibraryPlugin for more.
The layer feature is now enabled by default - you no longer need to enable it manually using the experiments.layer
option.
Layers is a feature that helps you group certain modules and their dependencies, allowing you to bundle them using different transforms.
For example, you can generate both ES5 and ES2015 outputs in one compilation by assigning different layers to different entries with the following configuration:
export default {
entry: {
legacy: {
import: "./index.js",
layer: "es5",
},
modern: {
import: "./index.js",
layer: "es6",
},
},
module: {
rules: [
{
test: /\.js$/,
oneOf: [
{
issuerLayer: "es5",
use: [
{
loader: "builtin:swc-loader",
options: {
jsc: {
target: "es5",
// ...
},
},
},
],
},
{
issuerLayer: "es6",
use: [
{
loader: "builtin:swc-loader",
options: {
jsc: {
target: "es2015",
// ...
},
},
},
]
},
],
},
],
},
};
Rspack now supports extracting existing source map data from files (from their //# sourceMappingURL comment
) via Rule.extractSourceMap. This feature is particularly useful for preserving source maps provided by third-party libraries, ensuring that debugging information remains accurate even when those libraries are bundled or transformed.
It was originally introduced in webpack v5.102.0 as a built-in replacement for the source-map-loader
plugin, offering better performance and tighter integration with the build process.
export default {
// ...
module: {
rules: [
{
test: /\.m?js$/,
extractSourceMap: true,
},
],
},
};
Since Rspack v1.5 introduced experimental barrel file optimization, it has been enabled by default in Rsbuild to collect early feedback.
After extensive usage and validation within Rsbuild, we now consider lazyBarrel stable, and it is enabled by default in Rspack as well.
- perf(browser): minor performance optimization for @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11795
- perf(swc_plugin_import): replace handlebars with custom template engine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11852
- feat(mf): runtimePlugins support pass params by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11818
- feat(browser): support
modules
inBrowserRequirePlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11822 - feat(mf): support lazy compilation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11779
- feat: enable lazy barrel by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11841
- feat: rslib supports add shims for js/esm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11840
- feat: eval simple expression for enum member by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11859
- feat: implement
extractSourceMap
option by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11814
- fix(loader-runner): add missing break statements in switch cases by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11794
- fix: revert "fix: remove
serde
feature oflightningcss
(#11706)" by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11796 - fix: correct
stats.color
type to include fine-grained options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11797 - fix: export interop default symbol and ensure import required chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11793
- fix: should re-export real exportInfo when export dynamic js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11776
- fix: should process runtime chunk after normal chunks of same chunk group by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11778
- fix: should use external source as name hint by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11825
- fix(swc_plugin_import): fix panic and optimize diagnostic logs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11862
- fix: distinguish external modules when there are import attributes by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11845
- fix: should render default exports for cjs entry and json entry by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11860
- refactor: update type definitions to fix Rslint issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11798
- refactor: remove experiments.layers by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11819
- refactor: output.charset false by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11837
- docs: improve documentation for stats properties by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11792
- docs: explain how
resolve.alias
affects package resolution by @SyMind in https://github.com/web-infra-dev/rspack/pull/11799 - docs(browser): add usage of
useInputFileSystem
to "In-Memory File system" section by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11833 - docs(browser): Add compatibility with
resolve.alias
description for BrowserHttpImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11838
- test: run webpack multi compiler test cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11787
- test: fix hot update loader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11774
- chore: rspack_plugin_esm_library should have description by @SyMind in https://github.com/web-infra-dev/rspack/pull/11789
- chore: upgrade mf runtime tools to v0.19.1 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11788
- test: run webpack stats cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11791
- chore(deps): update dependency @rslib/core to v0.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11748
- chore(deps): lock file maintenance by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11783
- chore(deps): update dependency typescript to ^5.9.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11802
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11801
- chore(deps): update dependency memfs to v4.48.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11807
- chore(deps): update dependency zx to v8.8.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11811
- test: run webpack example cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11820
- test: run webpack watch cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11821
- chore(deps): update dependency @microsoft/api-extractor-model to v7.31.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11816
- chore(deps): update pnpm to v10.18.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11812
- test: skip flaky test cases by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11827
- test: run webpack hot cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11826
- test: add type of test config files by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11831
- test: add missing await in basic tests by @deepcoldy in https://github.com/web-infra-dev/rspack/pull/11824
- test: align more test cases with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11834
- chore(wasm): bump and fix @napi-rs/wasm-runtime by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11836
- test: run webpack error cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11839
- chore: avoid lazy compilation mf e2e flaky by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11843
- test: remove webpack tests by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11842
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11806
- ci: fix lazy-compilation persistent cache e2e case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11844
- chore: fix Node typeless warning when building packages by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11847
- chore: clean up TODO comments and simplify code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11848
- test: sync webpack config test cases to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11853
- test: inject test and rspack pathes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11856
- test: remove legacy builtin configuration of builtin test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11857
- chore: fix invalid lint:rs script in package.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11863
- test: rename all webpack config files to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11864
- test: remove
template.md
andreadme.md
in webpack-examples by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11865 - test: move test scripts to test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11866
- chore(swc_plugin_import): inherit workspace lint config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11867
- test: remove legacy supports checker and test filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11868
- test: use new hot update plugin to run legacy hot cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11870
- chore: avoid using
BROWSER
env by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11855
- @deepcoldy made their first contribution in https://github.com/web-infra-dev/rspack/pull/11824
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.8...v1.6.0-beta.0
v1.5.8
Rspack now supports more precise tree shaking for nested exports accessed through destructuring assignments.
// lib.js
export * as a from "./a";
export * as b from "./b";
// index.js
import * as lib from "./lib";
// Before: All exports under `lib.a` were retained, only `lib.b` was tree-shaken
// Now: Only the specific property `inner` from `lib.a` is kept; everything else is removed
const { a: { inner } } = lib;
- perf: rspack sources buffer function by @SyMind in https://github.com/web-infra-dev/rspack/pull/11749
- perf: avoid unnecessary source map creation by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11773
- feat: should retain source error name by @SyMind in https://github.com/web-infra-dev/rspack/pull/11762
- feat(parser): add
commonjs
options by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11744 - feat: transform url in new URL without runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11765
- feat: add experimental EsmLibraryPlugin for better esm output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10350
- feat: tree shaking nested exports for destructuring assignment by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11781
- fix: cjs export require tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11758
- fix: should always walk import then arguments by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11760
- fix: should update alias resolution when a higher-priority file is created in watch mode by @SyMind in https://github.com/web-infra-dev/rspack/pull/11643
- fix: should analyze correct variable for dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11768
- fix: URLPlugin in child compiler by @SyMind in https://github.com/web-infra-dev/rspack/pull/11785
- refactor: remove unused parameters and clean up code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11756
- refactor: file counter save the resource id which used the file by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11757
- docs: add commonjsMagicComments docs by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11752
- docs: document parser jsx option by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11767
- docs: add Snap to who is using section by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11777
- docs(style): remove unexpected borders on code block focus by @ritoban23 in https://github.com/web-infra-dev/rspack/pull/11784
- test: remove simple tester by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11751
- chore(deps): update dependency memfs to v4.46.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11721
- test: close compiler by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11764
- chore(deps): lock file maintenance by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11726
- test: add persistent cache symlink test case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11769
- chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11747
- @ritoban23 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11784
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.7...v1.5.8
v1.5.7
This release enhances tree shaking capabilities specifically for the .then()
callbacks of dynamic imports. Rspack can now statically analyze and eliminate unused exports when destructuring is performed on the resolved module within promise chains:
// Tree shaking now works for destructuring in .then() callbacks
import('./utils').then(module => {
const { usedFunction } = module; // Only usedFunction will be included
usedFunction();
// unusedFunction will be tree-shaken out
});
Rspack now supports parsing and preserving JSX syntax. This allows JSX syntax to be parsed without transformation, making it compatible with external JSX transformers.
// rspack.config.js
export default {
module: {
parser: {
javascript: {
jsx: true // Enable JSX parsing
}
},
rules: [
{
test: /\.jsx?$/,
use: {
loader: 'swc-loader',
options: {
jsc: {
parser: { jsx: true },
transform: {
// Preserve JSX syntax
react: { runtime: 'preserve' }
}
}
}
}
}
]
}
};
- feat: static analyze destructuring assignment dynamic import variable for tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11731
- feat: parser support jsx by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11664
- fix: correct infrastructureLog type and add documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11742
- fix: inline enum not only properties used by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11740
- fix: mf should correctly hoist modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11743
- docs: improve Web Workers documentation with more details by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11737
- test: refactor processor by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11732
- test: rename config files by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11733
- test: remove processor by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11738
- test: remove runner factory by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11741
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11746
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11680
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.6...v1.5.7
v1.5.6
- perf: IndexSet for ArcPath by @SyMind in https://github.com/web-infra-dev/rspack/pull/11727
- feat: rspack_cacheable add custom with wrapper by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11711
- feat: persistent cache save ModuleProfiler by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11715
- feat: static analyse import then for tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11665
- feat: support webpackIgnore in commonjs require by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11704
- fix: align context module element dependence resource identifer with webpack by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11674
- fix: inline value condition connection active for re-export by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11701
- fix: support non-ascii paths in dirname by @hardfist in https://github.com/web-infra-dev/rspack/pull/11686
- fix(rslib): only treat "module" as normal variable when module have ESM syntax by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11634
- fix: remove
serde
feature oflightningcss
by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11706 - fix(browser): inject
Buffer
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11714
- refactor: rspack_cacheable
owned_or_ref
implement rkyv macro by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11708 - refactor: rspack module profiler by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11712
- docs: update test path by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11690
- docs(resolve): clarify mainFields behavior and exports precedence by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11696
- docs: update join-us page content and structure by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11700
- chore: release v1.5.5 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11688
- ci: fix build-dependencies-resolve test case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11692
- test: use case directory name as case names to match the filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11699
- test: refactor runner by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11705
- test: split snapshots to the case directories by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11707
- chore(deps): update crate swc_core to v42.0.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11702
- test: enable lazyBarrel and inlineConst for rspack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11710
- chore(deps): update swc plugins and crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11602
- chore(deps): update dependency case-police to v2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11719
- chore(deps): update dependency heading-case to v1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11720
- chore(deps): update dependency cross-env to v10 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11722
- chore(deps): update dependency cspell to v9 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11723
- chore(website): Add link for the positions in position-information by @danpeen in https://github.com/web-infra-dev/rspack/pull/11728
- @danpeen made their first contribution in https://github.com/web-infra-dev/rspack/pull/11728
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.5...v1.5.6
v1.5.5
- fix: should walk call member chain args for dynamic import referenced by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11661
- fix(core): support NAPI_RS_NATIVE_LIBRARY_PATH by @hardfist in https://github.com/web-infra-dev/rspack/pull/11670
- fix: inline value condition for namespace import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11679
- fix: allow Infinity for stats space options by @hardfist in https://github.com/web-infra-dev/rspack/pull/11685
- fix: inline value with export as by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11687
- docs: remove incorrect
emitRecords
compiler hook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11671 - docs: improve
resolve.extensions
configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11672 - docs: fix esm document example errors by @lzxb in https://github.com/web-infra-dev/rspack/pull/11673
- test: run webpack normal test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11660
- chore: deprecate copilot-instruction.md in favor of AGHENTS.md by @hardfist in https://github.com/web-infra-dev/rspack/pull/11669
- test: run webpack normal hot test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11662
- chore(refactor): inline base64 utilities into rspack_util by @hardfist in https://github.com/web-infra-dev/rspack/pull/11668
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11297
- test: run webpack compiler test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11676
- chore(deps): bump rspack-resolver to v0.6.3 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11639
- chore: add setup script and update AGENTS.md by @hardfist in https://github.com/web-infra-dev/rspack/pull/11684
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.4...v1.5.5
v1.5.4
- perf: fix drop regression by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11649
- perf: introduce pre-computed hashing for ArcPath by @SyMind in https://github.com/web-infra-dev/rspack/pull/11651
- feat: add inline value condition for reexport by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11628
- feat: throw specified error to indicate undefined factory case in HMR by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11584
- fix: e2e lazy-compialtion/default-prefix flasky by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11610
- fix: no mangle for enum member value by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11629
- fix: revert "fix(rslib): treat
module
identifier as normal (#11588)" by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11630 - fix: webpackexports comment by @zhangyuang in https://github.com/web-infra-dev/rspack/pull/11597
- fix: mark import.meta.webpackHot type as optional by @yf-yang in https://github.com/web-infra-dev/rspack/pull/11638
- fix: persistent cache update issuer is updated modules by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11633
- fix: using tokens from parser to handle asi by @hardfist in https://github.com/web-infra-dev/rspack/pull/11577
- fix: ensure resource data always have resource path by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11632
- refactor: remove expect for lazy barrel pending forwarded ids by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11646
- refactor: use temporary data to replace unsupported Module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11652
- docs: remove
Preview with stackblitz
section by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11614 - docs(browser): update
BrowserHttpImportEsmPlugin
and add "Using Module Federation" by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11640 - docs: correct dynamic call to writeModule example by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11650
- test: move rspack test cases to
tests/rspack-test
by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11617 - test: fix concurrent of config cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11618
- chore(deps): update dependency @rslib/core to v0.13.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11624
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11623
- chore(deps): update dependency postcss-loader to ^8.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11604
- chore(deps): update dependency create-rstack to v1.6.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11625
- chore(deps): update dependency emnapi to ^1.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11626
- chore: enable canary nightly release by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11627
- chore: make @rspack/tests private by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11636
- chore(ci): add fallback value for scheduled workflow run by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11641
- chore(deps): update dependency axios to v1.12.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11653
- chore(deps): update pnpm to v10.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11605
- test: run webpack config test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11645
- chore(ci): add rstest to ecosystem-ci by @9aoy in https://github.com/web-infra-dev/rspack/pull/11657
- @zhangyuang made their first contribution in https://github.com/web-infra-dev/rspack/pull/11597
- @yf-yang made their first contribution in https://github.com/web-infra-dev/rspack/pull/11638
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.3...v1.5.4
v1.5.3
Rspack v1.5.3 ships advanced tree-shaking for dynamic imports via member expression analysis.
Ongoing improvements are in progress, and upcoming releases will continue to improve static analysis to cover more syntax patterns, such as dynamic import
with a subsequent .then()
.
- perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11556
- perf: improve for each runtime by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11573
- perf: improve exports info by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11524
- perf: improve deterministic chunk ids by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11575
- perf: improve get chunk modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11579
- perf: improve create hash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11598
- perf: drop some big data in rayon by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11611
- feat(browser): support
ModuleFederationPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11558 - feat: simplify mock logic, dynamic import based hoist by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11521
- feat: add css field support in Experiments configuration by @ityuany in https://github.com/web-infra-dev/rspack/pull/11548
- feat: add start time parameter to NativeWatcher by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11570
- feat: tree shake statically analyse-able dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11457
- feat: static analyze in operator for esm import specifier by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11613
- feat(browser): add
postprocess
andResolvedRequest
toBrowserHttpImportEsmPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11571
- fix: don't throw error when browserslist config is resolved from env var by @Themezv in https://github.com/web-infra-dev/rspack/pull/11528
- fix: use stable swc lexer for correct asi by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11555
- fix: mf hoist should record mutation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11560
- fix: respect to
jsc.output.charset
in swc loader by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11568 - fix: BuildDependencies resolve exports_fields incorrectly by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11576
- fix(types): correct the source map type for loaders by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11574
- fix: only enable inline const in production by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11591
- fix(rslib): treat
module
identifier as normal by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11588 - fix: css-chunking-plugin for global css by @SyMind in https://github.com/web-infra-dev/rspack/pull/11592
- fix: flaky css chunking test case by @SyMind in https://github.com/web-infra-dev/rspack/pull/11608
- fix: swc wasmtime cache corruption by @quininer in https://github.com/web-infra-dev/rspack/pull/11607
- refactor: use for_name for cjs import parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11569
- refactor: rspack error by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11500
- refactor: Dependency remove source_map field by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11582
- refactor: private javascript parser dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11587
- refactor: lazy compilation stop cache create_data by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11612
- refactor: remove wasm plugin useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11615
- docs: add tree shaking blog to the blog list by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11561
- docs(loader-api): add new sections for handling source maps by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11585
- docs: fix esm syntax error by @lzxb in https://github.com/web-infra-dev/rspack/pull/11601
- chore(deps): update dependency @rsbuild/plugin-sass to ^1.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11564
- chore(deps): update dependency @shikijs/transformers to ^3.12.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11566
- chore(deps): update dependency @rspack/plugin-react-refresh to ^1.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11565
- chore: use pnpm in package.json scripts by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11520
- chore: use local package for scripts by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11572
- chore(workflow): allow renovate to update SWC related crates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11580
- chore(deps): update crate swc_core to v38.0.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11586
- chore: update Rspress to beta.31 to use JSON schemas by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11596
- chore(deps): update dependency memfs to v4.38.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11603
- chore(deps): update swc (major) by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11606
- @Themezv made their first contribution in https://github.com/web-infra-dev/rspack/pull/11528
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.2...v1.5.3
v1.5.2
- perf: revert runtime key to string by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11522
- feat(wasm): add webcontainer fallback by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11526
- fix: enhance PathManager to handle relative paths and set base directory by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11516
- fix: import.meta.prop with define plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11525
- fix: incremental not update exports info when lazyBarrel enabled by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11539
- fix: css infinite reload when module chunk enabled by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11536
- fix: should handle import.meta.webpackHot in production by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11546
- fix: should update initial css link with correct url by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11544
- fix: should check http url using
link.href
for extract-css runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11547 - fix: extend modify event handling to include metadata changes by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11519
- fix: should not lazy-barrel import-then-export by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11550
- refactor: disable incremental buildChunkGraph by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11533
- refactor: use real_hi for evaluation range by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11549
- docs(browser): add docs for response header settings and known issues by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11523
- chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11542
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.1...v1.5.2
v1.5.1
- perf(browser): disable
ProgressPlugin
,RsdoctorPlugin
andRstestPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11484 - perf: improve data structures of bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11506
- fix: build chunk graph when dynamic entry with depend-on chain by @SyMind in https://github.com/web-infra-dev/rspack/pull/11486
- fix: wrong match object logic in
SwcJsMinimizerRspackPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11496 - fix: asset info related source map can set null by @SyMind in https://github.com/web-infra-dev/rspack/pull/11497
- fix: source map sources in node modules should convert to absolute path by @SyMind in https://github.com/web-infra-dev/rspack/pull/11501
- fix: add tsEnumIsMutable option to SWC loader schema by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11499
- fix: inline value with properties access by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11508
- fix(types): allow async loader to return void by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11511
- fix: code splitting incremental missing module to update by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11510
- refactor: commonjs export parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11488
- refactor: use Module.needBuild to trigger lazy modules compile by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11507
- docs: 1.5.0 announcement blog by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11448
- docs: update TypeScript config file guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11495
- docs(config): update
Rule.type
with more details by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11503
- chore: release 1.5.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11485
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11489
- chore(deps): update SWC related crates to v37.0.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11505
- chore(deps): update dependency @playwright/test to v1.55.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11492
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.0...v1.5.1
v1.5.0
🎉 See Announcing Rspack 1.5 for more details.
- feat!: update minimum Node.js version to 18.12.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11338
- perf: align number hash algorithm with webpack by @nilptr in https://github.com/web-infra-dev/rspack/pull/10643
- perf: improve bundle splitting part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11233
- perf: improve process runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11259
- perf: improve process concatenated configurations by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11264
- perf: improve
try_to_add
of module concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11279 - perf: improve add concatenated modules by parallelizing conneciton modifications by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11286
- perf: parallel mangle exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10877
- perf: Update swc and switch to wasmtime by @quininer in https://github.com/web-infra-dev/rspack/pull/11303
- perf: cache concatenated imports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11334
- perf: Replace hot regex with parser by @quininer in https://github.com/web-infra-dev/rspack/pull/11341
- perf: use new swc lexer for asi by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11357
- perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11364
- perf(browser): remove tracing by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11436
- perf(browser): set
fmt_debug
tonone
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11439 - perf: improve concatenated plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11434
- perf: reuse plugin hooks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11449
- perf: not to call module graph modules multiple times by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11455
- perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11465
- perf: add fast path for
get_scheme
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11475 - perf: replace
Mutex<Option<T>>
withOnceLock<T>
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11480
- feat(cli): use SWC to do TS config transformamation by @hardfist in https://github.com/web-infra-dev/rspack/pull/11411
- feat: add resolver JavaScript API by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11211
- feat(wasm): support
@rspack/browser
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10870 - feat: lazy make for reexport in side effects free barrel file by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11117
- feat: support persistent cache for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11285
- feat: rspack cli add config path to build dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11288
- feat: expose
experiments.swc
in parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11300 - feat: propagate const for inline const by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11311
- feat: module chunk HMR by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11160
- feat: move experiments.lazyCompilation to configuration toplevel by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11337
- feat: add VirtualModulesPlugin by @nilptr in https://github.com/web-infra-dev/rspack/pull/11021
- feat: lazy compilation with persistent cache by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11235
- feat: define plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11339
- feat(rslib): do not hoist
import
externalized module to webpack modules by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11358 - feat: port normal module replacement plugin to builtin plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11362
- feat: support
[folder]
template string inlocalIdentName
option by @mochiya98 in https://github.com/web-infra-dev/rspack/pull/11356 - feat: provide plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11380
- feat: support using declaration by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11395
- feat: should rebuild all entries if there are entry removals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11381
- feat(rslib): intercept more APIPlugin expressions by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11418
- feat(browser): add
BrowserImportEsmPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11431 - feat(loader): merge identifier to loader trait by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11453
- feat: allow external modules placed in async chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11421
- feat(browser): introduce
BrowserRequirePlugin
and removenonWebpackRequire
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11470
- fix(types): change HotUpdateStatus from enum to union type by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11238
- fix: JsResolverFactory should cache Resolver instance based on different options by @SyMind in https://github.com/web-infra-dev/rspack/pull/11245
- fix: lifetime error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11260
- fix: avoid render weak import dependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11262
- fix: buildDependencies skip resolve nodejs builtin module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11256
- fix: handle unwatch errors gracefully and improve native watcher integration by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11210
- fix: get resolve in externals should return query by @SyMind in https://github.com/web-infra-dev/rspack/pull/11276
- fix: CssGetFilenameRuntime should detect runtime requirements correctly by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11271
- fix: update lazy compilation middleware order to apply devServer Middleware by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11157
- fix: not changed related source-map when rename asset by @SyMind in https://github.com/web-infra-dev/rspack/pull/11293
- fix: swc transform api output sourcemaps by @jbroma in https://github.com/web-infra-dev/rspack/pull/11299
- fix: pass actual root context to parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11301
- fix: missing code generation report by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11308
- fix: split chunks min chunks config with enforce by @SyMind in https://github.com/web-infra-dev/rspack/pull/11294
- fix: should not render export in modern-module when iife enabled by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/11317
- fix: export the missing
PathData
type by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11315 - fix: rsdoctor multi compiler data scope by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11310
- fix: batch rename_asset with parallel optimization by @SyMind in https://github.com/web-infra-dev/rspack/pull/11325
- fix: should synchronously bind html plugin hooks in sri plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11342
- fix: add unknown_context_critical option for unknown require as expression by @PeterCardenas in https://github.com/web-infra-dev/rspack/pull/10329
- fix(incremental): LimitChunkCountPlugin panic with incremental turned on by @pgoldberg in https://github.com/web-infra-dev/rspack/pull/11360
- fix(loader): fix JS loader type detection for issue #11129 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11361
- fix(cli): resolve port conflicts in parallel test execution by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11363
- fix: modify lazy compilation tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11349
- fix: should use specific runtime to get target url by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11372
- fix(wasm): remove cjs loader support by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11283
- fix: cache concatenated module imports is not safe by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11385
- fix: add query to avoid browser cache the link by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11394
- fix: fix identifier typo by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11403
- fix: correct export alias for json by @inottn in https://github.com/web-infra-dev/rspack/pull/11402
- fix: NormalModuleReplacementPlugin doesn't update path, query and fragment by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11407
- fix(browser): fix @rspack/browser building by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11417
- fix: bailout optimize if there are external modules in other concate scope by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11430
- fix: native watcher fails to work correctly with persistent cache by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11420
- fix: define plugin can rename by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11435
- fix(ci): should check package name in pre-release check by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11438
- fix: update node inspector import and remove workaround by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11444
- fix: lazy compilation with only loader module by @SyMind in https://github.com/web-infra-dev/rspack/pull/11443
- fix(create-rspack): remove ts-node from templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11458
- fix: check force_build_deps target module is isolated by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11461
- fix: update event handling to support batch processing of FsEvents by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11460
- fix: should recompile correctly when a shared entry specified in 'dependOn' is modified during watch mode by @SyMind in https://github.com/web-infra-dev/rspack/pull/11464
- fix(browser): rename and ignore requests with match resource and inline loaders by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11469
- fix: unstable render dependency template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11473
- fix: unstable bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11474
- fix: build chunk graph incremental logic when dynamic entry with depend on by @SyMind in https://github.com/web-infra-dev/rspack/pull/11481
- refactor: remove features that are not supported in stable Rust by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11243
- refactor: move make dir by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11244
- refactor: bench external getResolve & remove ResolveClosureContext by @SyMind in https://github.com/web-infra-dev/rspack/pull/11171
- refactor: move builtin loader registration to plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11258
- refactor: limit exported symbols in
rspack_binding_api
by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11263 - refactor: remove redundant
PluginContext
andasync_trait
from traitPlugin
by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11272 - refactor: streamline native watcher path management and API design by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11282
- refactor: remove __rust_probestack workaround by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11326
- refactor: move builtin virtual module plugin to experiments by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11353
- refactor: inline const parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11359
- refactor: distinguish free variable and tagged variable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11389
- refactor: rspack error remove useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11406
- refactor: add module pre walk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11416
- refactor: only collect destructuring assignment properties for specific expression by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11433
- refactor: clean paren ast for analyzing dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11447
- refactor: run_loaders always return loader result by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11463
- refactor(browser): remove
esm.sh
default domain inBrowserHttpImportEsmPlugin
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11482 - refactor: use Atom for parser variable name by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11483
- docs: add docs for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11274
- docs: add docs for custom binding crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11290
- docs(rspress): upgrade to 2.0.0-beta.25 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/11312
- docs: add Rslint to the list of Rstack tools by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11318
- docs: add version badges to Rstack tools table by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11321
- docs(quick-start): update runtime installation instructions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11327
- docs(config): output.filename link fix by @vsn4ik in https://github.com/web-infra-dev/rspack/pull/11369
- docs: update examples and terminology by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11374
- docs: fix typos in asset modules by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11382
- docs: add playground to navbar by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11384
- docs(website): restructure navigation and update sidebar config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11386
- docs: remove outdated Node version requirements from quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11393
- docs: update ts config guide by @hardfist in https://github.com/web-infra-dev/rspack/pull/11409
- docs: add building and testing guide for rspack wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11414
- docs(ESM): add ESM guide by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11344
- docs: some minor documentation updates for branding by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11459
- docs: improve virtual-modules-plugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11467
- docs: add guide for the
@rspack/browser
package by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11472
- chore: bump rust toolchain to
2025-07-28
by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11217 - chore: release v1.4.11 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11215
- chore(releasing): should not publish testing crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11248
- chore: add crates.io badge by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11250
- chore: upgrade rslint@0.1.0 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11253
- chore: upgrade rslint to 0.1.1 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11261
- chore: ignore moduleFederationDefaultRuntime.js in rslint by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11269
- chore(wasm): release
@rspack/browser
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11254 - chore: supporting linux cache compressing with zstd by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11270
- chore: upgrade rslint to 0.1.3 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11267
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11295
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11296
- chore: deprecated
experiments.topLevelAwait
config by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11284 - chore(deps): update dependency @playwright/test to v1.54.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11298
- chore: remove from
rspack_binding_api
in CODEOWNERS by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11307 - chore: upgrade rslint@0.1.5 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11316
- chore(ci): update test node matrix by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10871
- chore(deps): update dependency prebundle to ^1.4.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11348
- chore(deps): update dependency memfs to v4.36.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11347
- chore(deps): update dependency typescript to ^5.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11323
- chore(ci): use npm trusted publish by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11343
- chore(deps): update dependency @module-federation/runtime-tools to v0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11322
- chore(ci): fix flaky serve test by @quininer in https://github.com/web-infra-dev/rspack/pull/11352
- chore(ci): fix flaky serve test (take 2) by @quininer in https://github.com/web-infra-dev/rspack/pull/11355
- chore(deps): update dependency @shikijs/transformers to ^3.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11367
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11365
- chore(deps): update dependency @types/babel__traverse to v7.28.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11368
- chore(deps): update dependency core-js to v3.45.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11370
- chore: build http test case avoid send http request by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11375
- chore: Use macro instead of runtime debug_assert by @quininer in https://github.com/web-infra-dev/rspack/pull/11379
- chore: remove
@rsbuild/core
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11383 - chore: upgrade rslint to 0.1.11 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11396
- chore(browser): fix generated types by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11388
- chore(deps): update pnpm to v10.14.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11399
- chore(deps): update dependency @rslib/core to v0.12.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11397
- chore(deps): update dependency rsbuild-plugin-open-graph to v1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11398
- chore(deps): update lightningcss crate to 1.0.0-alpha.67 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11405
- chore: release v1.5.0-beta.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11340
- chore: bump
swc_core
from 35.0.0 to 36.0.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11419 - chore: update swc types and docs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11423
- chore: release 1.5.0-beta.1 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11415
- chore(deps): update dependency mermaid to v11.10.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11428
- chore(deps): update dependency @shikijs/transformers to ^3.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11429
- chore(ci): prevent prerelease published to lastest by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11424
- test: remove legacy Node version helpers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11442
- docs: fix various documentation errors including grammar, terminology and typos by @Copilot in https://github.com/web-infra-dev/rspack/pull/11445
- chore: add Claude local config to gitignore by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11452
- ci: enable parallel execution of npm and crates releases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11450
- revert: "fix: lazy compilation with only loader module (#11443)" by @SyMind in https://github.com/web-infra-dev/rspack/pull/11456
- chore: release 1.5.0-rc.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11446
- chore: set up Copilot instructions for Rspack repository by @Copilot in https://github.com/web-infra-dev/rspack/pull/11336
- chore(deps): update dependency @biomejs/biome to ^2.2.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11426
- revert: Revert "perf: improve bundle splitting" by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11468
- @PeterCardenas made their first contribution in https://github.com/web-infra-dev/rspack/pull/10329
- @vsn4ik made their first contribution in https://github.com/web-infra-dev/rspack/pull/11369
- @mochiya98 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11356
- @Copilot made their first contribution in https://github.com/web-infra-dev/rspack/pull/11445
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.11...v1.5.0