NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4399 most downloaded on npm
Node binding for rspack
Last release today
16 Sep 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
1122 releases · first in 2022
One column per quarter.
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-beta.1 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-beta.1 -->
Rspack now supports Import Attributes by defaults:
import json from "./foo.json" with { type: "json" };
import("foo.json", { with: { type: "json" } });
PR: https://github.com/web-infra-dev/rspack/pull/7333
Rspack now supports module and chunk layers. This feature can be used by frameworks like Rsnext (The Rspack-based Next.js) to implement React Server Components.
export default {
entry: {
index: {
import: './src/index.js',
layer: 'modern',
},
'index-legacy': {
import: './src/index.js',
layer: 'legacy',
},
},
module: {
rules: [
{
test: /\.js$/,
issuerLayer: 'modern',
use: [
{
loader: 'builtin:swc-loader',
options: {
env: {
targets: 'Chrome >= 87',
},
},
},
],
},
{
test: /\.js$/,
issuerLayer: 'legacy',
use: [
{
loader: 'builtin:swc-loader',
options: {
env: {
targets: 'ie >= 11',
},
},
},
],
},
],
},
experiments: {
layers: true,
},
};
export default {
module: {
rules: [
// set `layer` for some modules
{
test: /rsc-modules/,
layer: 'rsc',
},
// set resolve options for specified layer
{
issuerLayer: 'rsc',
resolve: {
conditionNames: ['react-server', '...'],
},
},
{
// set loaders for specified layer
oneOf: [
{
issuerLayer: 'rsc',
test: /\.tsx?$/,
use: ['some-rsc-loader'],
},
{
test: /\.tsx?$/,
use: ['some-normal-loader'],
},
],
},
],
},
experiments: {
layers: true,
},
};
PR: https://github.com/web-infra-dev/rspack/pull/7330
parser.importMeta and output.importMetaName by @xc2 in https://github.com/web-infra-dev/rspack/pull/7231serwist in community compatibility table by @JoseVSeb in https://github.com/web-infra-dev/rspack/pull/7345Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-beta.0...v1.0.0-beta.1
If your project is using the SWC Wasm plugin, this will be a breaking change, and you will need to upgrade the SWC Wasm plugin to the latest version.
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-beta.0 -->
In version 1.0.0-beta.0 we have made a number of performance optimizations, which together add up to significant performance gains. According to benchmark data, Rspack's dev startup is 4.7% faster, and its prod build is 11% faster.
Detailed changes:
Stats by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7124ModuleRule matching by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7249JavascriptParser::new by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7286Ukeys by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/7287@rspack/core now depends on swc_core v0.99 (previously v0.96).
If your project is using the SWC Wasm plugin, this will be a breaking change, and you will need to upgrade the SWC Wasm plugin to the latest version.
PR: https://github.com/web-infra-dev/rspack/pull/7292
@rspack/cli now depends on webpack-dev-server v5 (previously v4).
If you are using @rspack/cli, please be aware of the following breaking changes:
webpack-dev-server@5 is 18.12.0.PR: https://github.com/web-infra-dev/rspack/pull/7130
rspack/plugin-minify has been deprecated as it was a temporary package to support Terser.
Now Rspack has full support for terser-webpack-plugin. If you need to use Terser as the minimizer, we recommend using terser-webpack-plugin instead of @rspack/plugin-minify:
// rspack.config.js
- const MinifyPlugin = require('@rspack/plugin-minify');
+ const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
optimization: {
minimize: true,
minimizer: [
- new MinifyPlugin({ minifier: 'terser' }),
+ new TerserPlugin(),
],
},
};
PR: https://github.com/web-infra-dev/rspack/pull/7307
lightningcss-loader by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/7214__webpack_get_script_filename__ by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/7203publicPath options with webpack by @xc2 in https://github.com/web-infra-dev/rspack/pull/7216compilation.chunkGroups and compilation.namedChunkGroups by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/7254test, include and exclude options for LightningCssMinimizerRspackPlugin by @simonxabris in https://github.com/web-infra-dev/rspack/pull/7290FileSystem trait by @hardfist in https://github.com/web-infra-dev/rspack/pull/7275truthy || any and falsy && any by @xc2 in https://github.com/web-infra-dev/rspack/pull/7277await to async module export by @CPunisher in https://github.com/web-infra-dev/rspack/pull/7308packages/rspack/src/util from js to ts and esm by @jithyan in https://github.com/web-infra-dev/rspack/pull/7246packages/rspack/src/config from js to ts/esm by @jithyan in https://github.com/web-infra-dev/rspack/pull/7255prebundle when prepare by @colinaaa in https://github.com/web-infra-dev/rspack/pull/7304rspack-test-tools by @colinaaa in https://github.com/web-infra-dev/rspack/pull/7303Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.5...v1.0.0-beta.0
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.5 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.5 -->
TraceableError by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7192output.assetModuleFilename by @xc2 in https://github.com/web-infra-dev/rspack/pull/7191glob_match by @shulaoda in https://github.com/web-infra-dev/rspack/pull/6668walk_expression into create_context_dependency by @CPunisher in https://github.com/web-infra-dev/rspack/pull/6963Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.4 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.4 -->
test, include and exclude options for SwcCssMinimizerRspackPlugin by @simonxabris in https://github.com/web-infra-dev/rspack/pull/7111StatsError.moduleTrace by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/7123Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.3 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.3 -->
Rspack v1.0.0-alpha.3 enabled Rust 'fat' LTO to improve performance (https://github.com/web-infra-dev/rspack/pull/7088):
DefinePlugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7045compilation.entrypoints by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/7059get_scheme allocation by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7109DefinePlugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7108builtins.provide by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/7086Module not found instead of Resolve Error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/7106Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.2...v1.0.0-alpha.3
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.2 -->
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.2 -->
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.1...v1.0.0-alpha.2
refactor: resolve nodejs 22 deprecation warning by @xc2 in https://github.com/web-infra-dev/rspack/pull/6987
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.1 -->
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.0.0-alpha.0...v1.0.0-alpha.1
docs(contributing): breaking change PR format by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6969
<!-- Release notes generated using configuration in .github/release.yml at v1.0.0-alpha.0 -->
RspackError by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6900SwcJsMinimizerRspackPluginOptions by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6950to option by @9aoy in https://github.com/web-infra-dev/rspack/pull/6866factoryMeta to JsModule and optimize InnerGraphPlugin for variable decl with iife by @CPunisher in https://github.com/web-infra-dev/rspack/pull/6888ModuleFactory is not correct by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6946VariableInfo by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/6914Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.5...v1.0.0-alpha.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.x -->
<!-- Release notes generated using configuration in .github/release.yml at v0.x -->
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.4...v0.7.5
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.7.4 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.7.4 -->
In v0.7.4 Rspack provides a new CSS minimizer which uses Lightning CSS under the hood, for now you can enable it by optimization.minimizer, and in Rspack v1.0, it will be enabled by default.
And here are two very useful features powered by the new LightningCSS minimizer:
Checkout our docs for more details.
In v0.7.4 Rspack is compatible with worker-loader, which is usually used by some older projects, so this is provided only as a temporary solution to facilitate these older projects migration to Rspack, checkout our docs for more details.
module.rules.descriptionData by @leimonio in https://github.com/web-infra-dev/rspack/pull/6797Rule.descriptionData by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6813Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.3...v0.7.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.7.3 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.7.3 -->
ProgressPlugin configuration by @CPunisher in https://github.com/web-infra-dev/rspack/pull/6722Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.2...v0.7.3
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.7.2 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.7.2 -->
AssetInfo type with webpack by @wxiaoyun in https://github.com/web-infra-dev/rspack/pull/6721strict: true to RawModule by @colinaaa in https://github.com/web-infra-dev/rspack/pull/6755Rule.descriptionData won't match object types by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6758in_function_scope for walking method function by @CPunisher in https://github.com/web-infra-dev/rspack/pull/6760Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.1...v0.7.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.7.1 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.7.1 -->
Now Rspack will emit warnings for using non-existent exports and conflicting re-exports, checkout docs for more details.
The old JavaScript parser performs multiple times of parsing and code generation. In this version, Rspack refactored the current implementation. It's one time parsing now. Check out the PR for detail.
optimization.moduleIds: 'natural' by @colinaaa in https://github.com/web-infra-dev/rspack/pull/6685optimization.chunkIds: 'natural' by @colinaaa in https://github.com/web-infra-dev/rspack/pull/6692_module of LoaderContext by @CPunisher in https://github.com/web-infra-dev/rspack/pull/6631\0 to \u200b by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6656BannerPlugin by @colinaaa in https://github.com/web-infra-dev/rspack/pull/6693toMatchFileSnapshot by @colinaaa in https://github.com/web-infra-dev/rspack/pull/6663Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.7.0...v0.7.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →