Node binding for rspack
Last release 2 days ago
27 Aug 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
1118 releases ยท first in 2022
Release timeline
1118 releases since 2022One column per quarter.
Releases
- 0.3.14-canary-852d1da-2023112008170720 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-70fe8ba-2023111900534919 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-70fe8ba-2023111801314918 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-51916fc-2023112108152521 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-41335db-2023112012521920 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-2892c31-2023112000550720 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-265e2c3-2023111709222017 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-12dadb2-2023112005484020 Nov 2023pre-release
Nothing published for this version
- 0.3.14-canary-020060b-2023112207412022 Nov 2023pre-release
Nothing published for this version
- 0.3.1315 Nov 2023
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.3.13 -->
Highlight
This version contains a hotfix of https://github.com/web-infra-dev/rspack/issues/4643
What's Changed
Exciting New Features ๐
- feat: support library for instance unique name by @nyqykk in https://github.com/web-infra-dev/rspack/pull/4628
Bug Fixes ๐
- fix: ๐ recursive visitor state by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4637
- fix(runtime): get export default when new class by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4639
- fix: ๐ detecting export named decl side effects by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4629
- fix: compiler.webpack.ModuleFilenameHelpers type error by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4650
Other Changes
- fix(3180): panicking when importing empty dependency by @Hamzakh777 in https://github.com/web-infra-dev/rspack/pull/4320
- fix: type error by @xiaoxiangmoe in https://github.com/web-infra-dev/rspack/pull/3863
- chore: support passing refs to ecosystem-ci by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4657
- revert: get export default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4653
- ci: disable more optimization.minimize in examples/ by @Boshen in https://github.com/web-infra-dev/rspack/pull/4658
New Contributors
- @nyqykk made their first contribution in https://github.com/web-infra-dev/rspack/pull/4628
- @xiaoxiangmoe made their first contribution in https://github.com/web-infra-dev/rspack/pull/3863
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.12...v0.3.13
- 0.3.13-canary-98f7538-2023112001563120 Nov 2023pre-release
Nothing published for this version
- 0.3.13-canary-96c8ee2-2023111613200816 Nov 2023pre-release
Nothing published for this version
- 0.3.13-canary-46dbbb1-2023111600493916 Nov 2023pre-release
Nothing published for this version
- 0.3.13-canary-2e891df-2023111613094816 Nov 2023pre-release
Nothing published for this version
- 0.3.13-canary-2b6ef5c-2023111512013215 Nov 2023pre-release
Nothing published for this version
- 0.3.13-canary-149aba6-2023111608432016 Nov 2023pre-release
Nothing published for this version
- 0.3.1214 Nov 2023
Release notes
Open source โHighlight
[!CAUTION] Don't use this version, use 0.3.13 instead, this version contains a serious bug related to https://github.com/web-infra-dev/rspack/issues/4643
support EntryDescription.library
Bundling this entry as a library, and allows you to configure the library format through this option, enabling the generation of different module formats (CommonJS, global variable, ESModule, etc.). This flexibility ensures that your code can be easily used in various environments. Additionally, this feature serves as a prerequisite for Module Federation.
<!-- Release notes generated using configuration in .github/release.yml at v0.3.12 -->
What's Changed
Performance Improvements โก
- perf(plugin-react-refresh): remove schema-utils by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/4591
- perf(@rspack/core): remove schema-utils by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/4593
Exciting New Features ๐
- feat: should have null as placeholder in stats chunks before chunkIds by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4549
- feat: support more minify options by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4554
- feat: support entryDescription.library by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4547
- feat: support webpackContextName for import context by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4570
- feat(example): vue2-tsx by @Y80 in https://github.com/web-infra-dev/rspack/pull/4573
- feat(runtime): alignment of commonjs exports dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4572
- feat: deprecate splitChunks options by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4580
- feat: add module and context fields in loader context by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4586
- feat(runtime): alignment of module runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4581
- feat(resolver): print detailed error messages for oxc_resolver (#4564) by @msdlisper in https://github.com/web-infra-dev/rspack/pull/4614
- feat: add auxiliary_files in js chunk by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4636
Bug Fixes ๐
- fix: deep insert runtime to splitted chunk by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4548
- fix: succeedModule hook panic when can't convert to jsModule by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4555
- fix: make builtin plugins class name consistent with webpack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/4563
- fix: require.context should not fail when using
endWithalgo (#4557) by @hverlin in https://github.com/web-infra-dev/rspack/pull/4577 - fix: fix unsoundness of napi type detection by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4575
- fix: add the
./package.jsonin the package.json's exports by @xfsnowind in https://github.com/web-infra-dev/rspack/pull/4543 - fix: tree shaking dfs_order test case. by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4574
- fix: avoid generate banner when there are not extract comment by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4592
- fix: fix url rewriting in css variables by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4606
- fix: fix infinite while loop when entry name contains '/' like 'routes/index' by @hardfist in https://github.com/web-infra-dev/rspack/pull/4610
- fix: warning for direct access import.meta by @OceanPresentChao in https://github.com/web-infra-dev/rspack/pull/4621
- fix(chunk_graph): chunkGraph insert if not present by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4615
- fix: use original value when
import.styleis object by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4616
Other Changes
- chore: adjust to 14 days for need reproduction label by @hardfist in https://github.com/web-infra-dev/rspack/pull/4561
- feat: support stats runtime modules by @faga295 in https://github.com/web-infra-dev/rspack/pull/4126
- chore: upload artifact use RUNNER_LABELS by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4567
- refactor: remove cumbersome type conversions by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4569
- chore: fix
launch.jsonby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4598 - chore: auto assign author as assignee by @hardfist in https://github.com/web-infra-dev/rspack/pull/4599
- chore: fix auto-assign workflow by @hardfist in https://github.com/web-infra-dev/rspack/pull/4600
- chore(runtime-diff): alignment of compat get default export runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4607
- chore: move @rspack/dev-server from deps to devDeps by @9aoy in https://github.com/web-infra-dev/rspack/pull/4496
- chore: export more stats type for users use by @9aoy in https://github.com/web-infra-dev/rspack/pull/4604
- chore: add react-refresh to rspack-cli reference by @hardfist in https://github.com/web-infra-dev/rspack/pull/4608
- ci: disable minification for example/arco-pro to speed up CI by @Boshen in https://github.com/web-infra-dev/rspack/pull/4620
- chore: better debugging by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4611
- chore: remove goverance by @hardfist in https://github.com/web-infra-dev/rspack/pull/4627
- refactor(process_runtime_requirements): align api with webpack by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4617
- chore: bump swc-emotion by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4631
- refactor: AsyncDependenciesBlock by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4595
- ci: disable most of the optimization.minimize in examples to speed up CI by @Boshen in https://github.com/web-infra-dev/rspack/pull/4624
New Contributors
- @hverlin made their first contribution in https://github.com/web-infra-dev/rspack/pull/4577
- @Y80 made their first contribution in https://github.com/web-infra-dev/rspack/pull/4573
- @xfsnowind made their first contribution in https://github.com/web-infra-dev/rspack/pull/4543
- @msdlisper made their first contribution in https://github.com/web-infra-dev/rspack/pull/4614
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.11...v0.3.12
- 0.3.12-canary-eea9d06-2023111500520715 Nov 2023pre-release
Nothing published for this version
- 0.3.12-canary-bd2e9a8-2023111413133914 Nov 2023pre-release
Nothing published for this version
- 0.3.12-canary-9f38c53-2023111502551315 Nov 2023pre-release
Nothing published for this version
- 0.3.12-canary-95db591-2023111409342514 Nov 2023pre-release
Nothing published for this version
- 0.3.12-canary-2abacde-2023111414420114 Nov 2023pre-release
Nothing published for this version
- 0.3.117 Nov 2023
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.3.11 -->
Highlights
Support WarnCaseSensitiveModulesPlugin
support WarnCaseSensitiveModulesPlugin
Fix issue when optional expression has an imported variable
The bug fix in this release ensures that optional chaining works flawlessly. For more details, you could refer to https://github.com/web-infra-dev/rspack/pull/4502
support asset info source filename
Now compilation.getAsset(chunkFile) can return sourceFilename correctly.
bump swc
Bump swc-core from
0.86.9to0.86.33What's Changed
Performance Improvements โก
- perf: pass
SyntaxContextby copy by @Austaras in https://github.com/web-infra-dev/rspack/pull/4519 - perf(@rspack/core): remove util dependency by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/4539
Exciting New Features ๐
- feat: support banner in extractComments of minify by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4534
- feat: support optional chaining by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4502
- feat: support timestamps by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4545
- feat: support WarnCaseSensitiveModulesPlugin by @OceanPresentChao in https://github.com/web-infra-dev/rspack/pull/4379
Bug Fixes ๐
- fix: the scheduled GitHub action should not run on forked repositories by @SyMind in https://github.com/web-infra-dev/rspack/pull/4514
- fix: class extends by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4481
Other Changes
- chore(runtime-diff): alignment of load script runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4507
- chore(runtime-diff): alignment of startup entrypoint runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4523
- chore: bump swc by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4533
- chore(CODEOWNERS): update some owners by @Boshen in https://github.com/web-infra-dev/rspack/pull/4535
- chore: replace querystring with fast-querystring in @rspack/core deps by @m1911star in https://github.com/web-infra-dev/rspack/pull/4530
- feat: support asset info source filename by @faga295 in https://github.com/web-infra-dev/rspack/pull/4013
New Contributors
- @m1911star made their first contribution in https://github.com/web-infra-dev/rspack/pull/4530
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.10...v0.3.11
- perf: pass
- 0.3.11-canary-dd28d7a-202311090107129 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-d515e8e-202311070929077 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-cdf7fa0-2023111201053512 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-cdf7fa0-2023111101012911 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-b940103-2023111301320313 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-a4f1ece-202311090654049 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-9c34561-2023111007564510 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-83b7594-202311080236218 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-7f3d3d5-2023111005063810 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-7ed96ec-202311080459278 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-3d84a1b-2023111409272414 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-29f35a5-202311081005478 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-0a6f658-2023111001004110 Nov 2023pre-release
Nothing published for this version
- 0.3.11-canary-02f92cc-2023111310272813 Nov 2023pre-release
Nothing published for this version
- 0.3.102 Nov 2023
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.3.10 -->
Highlights
monaco-editor-webpack-plugin support
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!
Optimized performance for
builtin:swc-loaderbuiltin:swc-loadercan now pass AST back to rspack core. Check out performance between legacy transforming and transforming withbuiltin:swc-loaderSupport
Compiler.compile()We have implemented support for
Compiler.compileto ensure smooth operation of ๏ปฟchildCompilerSupport
dynamicImportMode: "eager"For runtime that does not support dynamically loading JavaScript chunks,
module.parser.javascript.dynamicImportMode: "eager"is exactly what you're looking for.What's Changed
Exciting New Features ๐
- feat: support reuse AST passed from builtin loaders by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4367
- feat: support passing query to loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4418
- feat: enable deprecation warnings by default by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4247
- feat: to support the monaco-editor-webpack-plugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/4384
- feat: support weak of
import.meta.wabpackContextby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4466 - feat: support
Compiler.compileby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4499 - feat: support
module.parser.javascript.dynamicImportMode: "eager"by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4510 - feat: replace top-level this in esm by @Austaras in https://github.com/web-infra-dev/rspack/pull/4497
Bug Fixes ๐
- fix: export default as edge case in
HarmonyExportImportedSpecifierDependencyby @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4402 - fix: do not stopped when decode base64 failed by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4403
- fix: cjs bare exports expression detect by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4375
- fix: ๐ pure expression dependency apply replace resouce,and get side effects state impl by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4407
- fix: use indirect call for TaggedTpl by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4412
- fix: fake namespace mode should fallthrough by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4413
- fix: loader definition not being exported by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4423
- fix: insert the path of html template to fileDependencies by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4425
- fix: import/export with string literal by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4430
- fix: ๐ export multiple export by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4444
- fix: use string as key for resolve.by_dependency by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4436
- fix: empty __resourceQuery replace by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4451
- fix: nested member chain by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4448
- fix: mark regexp as None when it has g or y flag for context module by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4457
- fix: not replace require when it not resolved by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4468
- fix: side effects analyze in exported decl or expr by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4463
- fix: the scheduled GitHub action should not run on forked repositories by @SyMind in https://github.com/web-infra-dev/rspack/pull/4469
- fix: not print the warning when use child compiler by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4477
- fix: duplicate entrypoint files by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4480
- fix: should have null as placeholder in stats chunks before chunkIds by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4310
- fix: windows stats snapshot by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4487
- fix: multiStats version by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4491
- fix: remove unnecessary normalize for
output.chunk_loading_globalby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4484
Other Changes
- chore: remove useless rustup target install by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4405
- chore: windows and macos add target before build by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4417
- chore: component style remains consistent by @btea in https://github.com/web-infra-dev/rspack/pull/4286
- chore: upgrade napi by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4428
- chore: follow up fix for rust test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4435
- chore: enable more webpack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4447
- chore: add ./x webpack for run tests against webpack-test suites by @hardfist in https://github.com/web-infra-dev/rspack/pull/4460
- chore: optimize CI running speed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4452
- chore: update rustc version by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4475
- chore: Adding the test toolkit which is used to diff the bundle results of rspack and webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4474
- chore: remove --no-frozen-lockfile when pnpm install by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4482
- chore(runtime-diff): alignment of auto public path runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4488
- chore(runtime diff): cases for runtime modules not need to change by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4490
- revert: should have null as placeholder in stats chunks before chunkIds by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4492
- chore: update pnpm lock file by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4493
- chore: alignment of async runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4494
- chore(runtime-diff): alignment of create fake namespace object runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4498
- chore(runtime-diff): alignment of get main filename by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4501
- chore: check pnpm lockfile on ci by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4495
- chore(runtime-diff): alignment of global runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4506
- chore(runtime-diff): alignment of get trusted type policy runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/4503
- refactor(plugin-react-refresh): using tsc to build by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/4486
- chore: release do not use local cache by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4516
New Contributors
- @btea made their first contribution in https://github.com/web-infra-dev/rspack/pull/4286
- @SyMind made their first contribution in https://github.com/web-infra-dev/rspack/pull/4384
- @Austaras made their first contribution in https://github.com/web-infra-dev/rspack/pull/4497
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.8...v0.3.10
- 0.3.10-canary-c9f721a-202311040102244 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-c463592-202311071353057 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-97f8432-202311020759402 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-97787d0-202311060808546 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-7e36982-202311030227053 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-707f3aa-202311060100136 Nov 2023pre-release
Nothing published for this version
- 0.3.10-canary-707f3aa-202311050122085 Nov 2023pre-release
Nothing published for this version
- 0.3.824 Oct 2023
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.3.8 -->
Highlights
Top-level
awaitSupport top-level
awaitand enabled by default, or you can disable this byexperiments.topLevelAwait = false. Top-levelawaitcan only be used in ECMAScript Module (type: "javascript/esm"), with this feature you can useawaitat top-level,awaitresources,awaitimport, etc.const db = await import('./db.js'); const connection = await db.connect();What's Changed
Exciting New Features ๐
- feat: built in progress plugin support profile option by @faga295 in https://github.com/web-infra-dev/rspack/pull/3803
- feat: inner graph part one by @underfin in https://github.com/web-infra-dev/rspack/pull/4176
- feat: support TLA by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4345
- feat: update dependency by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4361
Bug Fixes ๐
- fix: variable undefined with multiple same import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4356
- fix: update lockfile by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4359
- fix: splitChunks.enforce, pass more webpack-tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4353
- fix(splitChunks): not matched cacheGroup should not affect cacheGroupIndex by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4373
- fix: HarmonyExportImportedDependency
get_exportsby @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4388 - fix: ๐ use get_ids instead of
self.idsby @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4400
Other Changes
- chore: align webpack tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4337
- chore: enable more webpack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4351
- chore: update [email protected] stable version by @jeromehan in https://github.com/web-infra-dev/rspack/pull/4355
- chore: use self hosted ci by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4360
- chore: expose discord explictly in readme by @hardfist in https://github.com/web-infra-dev/rspack/pull/4368
- chore: support run ci with forked repo PR by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4369
- chore: bump swc by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4372
- chore: add auto issue comment by @hardfist in https://github.com/web-infra-dev/rspack/pull/4371
- chore: remove unused vars & prefer const & remove default generic value by @SnowingFox in https://github.com/web-infra-dev/rspack/pull/4079
- chore: set lang to en for react-ts template by @hardfist in https://github.com/web-infra-dev/rspack/pull/4378
- chore: fix rustup install components failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4387
- chore: enable oxc_resolver in webpack tests by @Boshen in https://github.com/web-infra-dev/rspack/pull/4374
New Contributors
- @jeromehan made their first contribution in https://github.com/web-infra-dev/rspack/pull/4355
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.7...v0.3.8
- 0.3.8-canary-f00a017-202311020659012 Nov 2023pre-release
Nothing published for this version
- 0.3.8-canary-a5ecc2e-2023102700590527 Oct 2023pre-release
Nothing published for this version
- 0.3.8-canary-9eb4500-2023102603072926 Oct 2023pre-release
Nothing published for this version
- 0.3.8-canary-9726571-2023102506355925 Oct 2023pre-release
Nothing published for this version
- 0.3.8-canary-9105a43-2023102403094724 Oct 2023pre-release
Nothing published for this version
- 0.3.8-canary-8516f1f-2023102713100427 Oct 2023pre-release
Nothing published for this version
- 0.3.8-canary-1c9f8af-2023102605284426 Oct 2023pre-release
Nothing published for this version
- 0.3.717 Oct 2023
Release notes
Open source โHighlights
experiments.rspackFuture.newResolver
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.tsConfigfor details.module.exports = { resolve: { tsconfig: { configFile: path.resolve(__dirname, './tsconfig.json'), references: 'auto' }, } experiments: { rspackFuture: { newResolver: true } } }styled-components support
This feature enables the
builtin:swc-loaderto provide compile-time support for styled-components. Now you can configure it throughoptions.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.
Vue2 css extract support
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/[email protected]" } }Then, enable vue-loader with
experimentalInlineMatchResourcejust 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 1.0
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 -->
What's Changed
Exciting New Features ๐
- feat: implement styled_components visitor by @Asuka109 in https://github.com/web-infra-dev/rspack/pull/4228
- feat: handle
react-refreshresolving in@rspack/plugin-react-refreshby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4267 - feat: support
Compilation.namedChunksby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4255 - feat: source order for harmony import dependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4262
- feat(rspack_core): configurable tsconfig project references by @Boshen in https://github.com/web-infra-dev/rspack/pull/4290
- feat(split chunks): split chunks should consider chunk combinations by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/4280
- feat: Adding runtime param when executing codegen by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/4263
- feat: comment test markdown for webpack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4316
- feat(plugin-copy): support info option by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/3949
Bug Fixes ๐
- fix: rspack builtin.html.meta.* support Record<string, string> by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/4294
- fix(4314): remove help info print when throw error by @OceanPresentChao in https://github.com/web-infra-dev/rspack/pull/4322
- fix: detect cjs assign esModule mark by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4330
Other Changes
- chore: add github-sync-issue by @hardfist in https://github.com/web-infra-dev/rspack/pull/4281
- chore: move sync workflow by @hardfist in https://github.com/web-infra-dev/rspack/pull/4282
- chore: try free disk for linux by @hardfist in https://github.com/web-infra-dev/rspack/pull/4287
- build: static link msvc runtime on Windows x86_64 platform by @Brooooooklyn in https://github.com/web-infra-dev/rspack/pull/4283
- chore: only remove android sdk by @hardfist in https://github.com/web-infra-dev/rspack/pull/4288
- chore(core): Optimization of compilation duration unit by @cunzaizhuyi in https://github.com/web-infra-dev/rspack/pull/4264
- chore: enable more webpack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4302
- chore: fix nestjs example by @hardfist in https://github.com/web-infra-dev/rspack/pull/4308
- chore: remove unused imports by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/4312
- chore: update vue2 example using experiments.css by @hardfist in https://github.com/web-infra-dev/rspack/pull/4292
New Contributors
- @cunzaizhuyi made their first contribution in https://github.com/web-infra-dev/rspack/pull/4264
- @OceanPresentChao made their first contribution in https://github.com/web-infra-dev/rspack/pull/4322
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.6...v0.3.7
- 0.3.7-canary-f7b7f35-2023102305051823 Oct 2023pre-release
Nothing published for this version
- 0.3.7-canary-eb37f1d-2023101901034819 Oct 2023pre-release
Nothing published for this version
- 0.3.7-canary-beb5892-2023101814394918 Oct 2023pre-release
Nothing published for this version
- 0.3.7-canary-bc422ac-2023102013050420 Oct 2023pre-release
Nothing published for this version
- 0.3.7-canary-b3d72f9-2023102002024620 Oct 2023pre-release
Nothing published for this version
- 0.3.7-canary-78c0946-2023101801005518 Oct 2023pre-release
Nothing published for this version