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 6 days ago
28 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
1125 releases · first in 2022
One column per quarter.
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
feat: enable deprecation warnings by default by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4247
<!-- Release notes generated using configuration in .github/release.yml at v0.3.10 -->
Support monaco-editor-webpack-plugin, you can see example using monaco-editor-webpack-plugin in example-monaco-editor-webpack-plugin WebWorkerTemplatePlugin and LimitChunkCountPlugin are supported at the same time. Really appreciate for @SyMind 's great work!
builtin:swc-loaderbuiltin:swc-loader can now pass AST back to rspack core. Check out performance between legacy transforming and transforming with builtin:swc-loader
Compiler.compile()We have implemented support for Compiler.compile to ensure smooth operation of childCompiler
dynamicImportMode: "eager"For runtime that does not support dynamically loading JavaScript chunks, module.parser.javascript.dynamicImportMode: "eager" is exactly what you're looking for.
import.meta.wabpackContext by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4466Compiler.compile by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4499module.parser.javascript.dynamicImportMode: "eager" by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4510HarmonyExportImportedSpecifierDependency by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4402output.chunk_loading_global by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4484Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.8...v0.3.10
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.3.8 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.8 -->
awaitSupport top-level await and enabled by default, or you can disable this by experiments.topLevelAwait = false.
Top-level await can only be used in ECMAScript Module (type: "javascript/esm"), with this feature you can use await at top-level, await resources, await import, etc.
const db = await import('./db.js');
const connection = await db.connect();
get_exports by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4388self.ids by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4400Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.7...v0.3.8
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
This feature enables the new resolver implementation provided by oxc, which is 5 times faster than the previous resolver implementation. The new resol
This feature enables the new resolver implementation provided by oxc, which is 5 times faster than the previous resolver implementation.
The new resolver also supports tsconfig project references defined in tsconfig-paths-webpack-plugin, which handles the support of nested paths alias inside project references.
To fully opt-in this feature, use the following configuration or see resolve.tsConfig for details.
module.exports = {
resolve: {
tsconfig: {
configFile: path.resolve(__dirname, './tsconfig.json'),
references: 'auto'
},
}
experiments: {
rspackFuture: {
newResolver: true
}
}
}
This feature enables the builtin:swc-loader to provide compile-time support for styled-components. Now you can configure it through options.rspackExperiments.styledComponents.
/** @type {import('@rspack/core').Configuration}*/
module.exports = {
module: {
rules: [
{
test: /\.jsx?$/,
loader: "builtin:swc-loader",
options: {
jsc: {
parser: {
syntax: "ecmascript",
jsx: true
}
},
rspackExperiments: {
styledComponents: {
displayName: true,
ssr: true,
fileName: true,
meaninglessFileNames: ["index", "styles"],
namespace: "rspack-test",
topLevelImportPaths: [
"@xstyled/styled-components",
"@xstyled/styled-components/*"
],
transpileTemplateLiterals: true,
minify: true,
pure: true,
cssProps: true
}
}
}
}
]
}
};
SWC's support for styled-components is essentially aligned with the official Babel plugin, so you can visit babel-plugin-styled-components for more information.
Finished support for experiments.css for Vue2, you can extract css with our custom vue-loader (@rspack/loader-vue2). First, add our custom vue-loader to package.json
{
"devDependencies": {
"vue": "2.7.14",
"vue-loader": "npm:@rspack/loader-vue2@15.10.1-alpha.0"
}
}
Then, enable vue-loader with experimentalInlineMatchResource just like how you did with Vue3:
const { VueLoaderPlugin } = require("vue-loader");
module.exports = {
plugins: [new VueLoaderPlugin()],
module: {
rules: [
{
test: /\.vue$/,
use: [
{
loader: "vue-loader",
options: {
// to extract css, you should enable this
experimentalInlineMatchResource: true
}
}
]
}
]
},
experiments: {
css: true
}
};
Check out the example for details.
Rspress is a static site generator based on Rspack and mdx-rs. It is 5~10 times faster than Docusaurus/Nextra and supports lots of nice features out of the box, such as i18n, full-text search, component preview and etc. See detail in https://github.com/orgs/web-infra-dev/discussions/5
<!-- Release notes generated using configuration in .github/release.yml at v0.3.7 -->
react-refresh resolving in @rspack/plugin-react-refresh by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4267Compilation.namedChunks by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4255Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.6...v0.3.7
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.3.6 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.6 -->
Rule.oneOf and Rule.rules by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4254Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.5...v0.3.6
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
builtin:sass-loader is deprecated in favor of sass-loader. You can still use it in this and the next minor version. It will be officially removed in v…
<!-- Release notes generated using configuration in .github/release.yml at v0.3.5 -->
Default transformation was a default strategy for transform introduced v0.1.x. This introduced ton of problems during our daily development. For example, excluding node_modules for certain libraries are not supported, thus, which results in some mis-transformations.
From now on, you can opt-in experiments.rspackFuture.disableTransformByDefault = true to disable the internal transformations. This greatly aligns Rspack with Webpack architecture. By enabling this option, these few options are not able to use anymore:
builtin:swc-loader for user code transformation for Rspack.Builtin types(Rule.type) are removed in favor of webpack's web-standard bundling:
We will come up a new strategy to add back these DX friendly features in the future. Instead, builtin:swc-loader is added for fine-grained transformation. Please refer to this guide for the migration and details.
In this version, we'd like to introduce a better way to enable react fast refresh with @rspack/plugin-react-refresh, which is more powerful and flexible than builtins.react.refresh = true, now you can use it with builtin:swc-loader, swc-loader, or babel-loader. Checkout docs for more details
builtin:sass-loader is deprecated in favor of sass-loader. You can still use it in this and the next minor version. It will be officially removed in v0.5.0. See this for our deprecation stages.
Preview:
https://github.com/web-infra-dev/rspack/assets/7237365/b11fd939-560d-4a47-83c3-f81a136bae3d
panic_hook by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4210builtin:sass-loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4226output.hotUpdateGlobal by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4227include and exclude of react-refresh-rspack-plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4233react from rspackExperiments of builtin:swc-loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4221self is not defined by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4232&str caused memory leak in builtin:swc-loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4235ExportsInfoId align to webpack by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4209Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.4...v0.3.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
Your coding agent can read these notes before it upgrades. Set up the MCP server →