Skip to content

Releases: web-infra-dev/rspack

v1.0.0-alpha.1

04 Jul 13:02
58ca484
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • refactor!: move global trace export to experiments by @ahabhgk in #7019

Performance Improvements ⚡

  • perf: make picking concatenable modules parallel by @JSerFeng in #7003

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1

v1.0.0-alpha.0

28 Jun 10:41
32c0982
Compare
Choose a tag to compare

What's Changed

See 👉 Announcing Rspack v1.0 Alpha for more details

Breaking Changes 🛠

  • fix!: change default value of css to false, align with webpack by @JSerFeng in #6910
  • feat!: enable lightning css minimizer as default css minimizer by @ahabhgk in #6960
  • feat: deprecate JavaScript API (part 2) by @h-a-n-a in #6859
  • fix: compilation errors and warnings should be RspackError by @h-a-n-a in #6900
  • feat: upgrade swc to latest version by @hardfist in #6887
  • refactor: remove profile integration timestamp by @LingyuCoder in #6947
  • feat: remove fields of SwcJsMinimizerRspackPluginOptions by @h-a-n-a in #6950
  • fix!: align optimization.moduleIds and optimization.chunkIds when mode=none by @LingyuCoder in #6956
  • feat!: remove output.amdContainer from config by @fi3ework in #6958
  • feat!: revert default values of SwcJsMinimizer by @h-a-n-a in #6970
  • fix!: set default value of concatenateModules to true in production mode by @JSerFeng in #6959
  • refactor!: remove resolve tsConfigPath by @ahabhgk in #6872
  • fix!: align devtool default value by @SyMind in #6904

Performance Improvements ⚡

  • perf(rspack_plugin_javascript): use Rayon to parse modules parallelly by @fi3ework in #6864

Exciting New Features 🎉

Bug Fixes 🐞

  • fix: ci wrong in github runner by @SyMind in #6852
  • fix: export default when environment supports const by @ahabhgk in #6861
  • fix: pre walk class blocks by @ahabhgk in #6867
  • fix: should not eval exports in harmony by @ahabhgk in #6883
  • fix: clean up dependencies and types for emotion / relay by @chenjiahan in #6892
  • fix: fix type of CssExtractRspackPluginOptions.{filename,chunkFilename} by @xc2 in #6882
  • fix: missing bailout reason after introducing css extract plugin by @xc2 in #6875
  • fix: sources in source map when use EvalSourceMapDevToolPlugin by @SyMind in #6901
  • fix: CopyRspackPlugin transform option type by @9aoy in #6908
  • fix: devtool plugin cache conflict !macos by @SyMind in #6912
  • fix: fix release build by @h-a-n-a in #6921
  • fix: use entrypoint.options.runtime as key for chunk_graph.runtime_ids map if possible by @escaton in #6928
  • fix: context passed into the ModuleFactory is not correct by @h-a-n-a in #6946
  • fix!: align webpack defaults by @SyMind in #6949
  • fix: sources types by @SyMind in #6944
  • fix: should not using single line match in data url regex by @JSerFeng in #6952
  • fix: fix duplicated harmony exports with named exports and re-exports star by @h-a-n-a in #6962

Document Updates 📖

Other Changes

Read more

v0.7.5

26 Jun 00:19
116e7da
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Full Changelog: v0.7.4...v0.7.5

v0.7.4

19 Jun 02:26
Compare
Choose a tag to compare

What's Changed

Highlights

LightningCSS minimizer

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:

  • removeUnusedLocalIdents: during minification, it removes the CSS declarations corresponding to the unused-symbols. This allows Rspack to work with CSS modules' tree shaking to remove unused CSS declarations corresponding to exports (previously, it would only remove the JS exports).
  • browserslist: with this options minification will also performs downgrading. If the postcss-loader was previously used only for downgrading, it can be removed.

Checkout our docs for more details.

Compatible with worker-loader

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.

Exciting New Features 🎉

Bug Fixes 🐞

  • fix(mf): avoid error webpack_require.f.consume after hmr by @ahabhgk in #6796
  • fix: css modules composes same ident with local class by @ahabhgk in #6815
  • fix: fix segmentation fault with custom loader by @h-a-n-a in #6824
  • fix: basically same codegen of arco-pro by @ahabhgk in #6826
  • fix: parse url dependency for minimized css by @ahabhgk in #6827
  • fix: should be able to add loader resolver dependencies by @h-a-n-a in #6828
  • fix: generate suggestions if api-extractor failed the test by @h-a-n-a in #6834
  • fix(cli): should close compiler after building by @chenjiahan in #6835
  • fix: docs ci wrong in node 16 by @SyMind in #6840
  • fix: source map wrong when columns is false by @SyMind in #6841
  • fix: sourceMapFilename default value by @SyMind in #6845
  • fix: panic of module_graph.get_depth by @LingyuCoder in #6846

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v0.7.3...v0.7.4

v0.7.3

13 Jun 10:29
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: put visited_chunk_group_keys out of the loop and use FxHashMap by @SyMind in #6769
  • perf: code splitter by @SyMind in #6750

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: v0.7.2...v0.7.3

v0.7.2

12 Jun 06:13
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: code-splitting should not regenerate chunk by @JSerFeng in #6749

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v0.7.1...v0.7.2

v0.7.1

05 Jun 07:45
a1e014e
Compare
Choose a tag to compare

What's Changed

Highlights

Check exports presence

Now Rspack will emit warnings for using non-existent exports and conflicting re-exports, checkout docs for more details.

10%-15% performance improvement for JavaScript parsing

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.

image

Performance Improvements ⚡

  • perf: parallel collect export presence diagnostics by @ahabhgk in #6676

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v0.7.0...v0.7.1

v0.7.0

28 May 03:33
Compare
Choose a tag to compare

What's Changed

see Announcing Rspack v0.7 for more details

Notable Changes 🍭

Breaking Changes 🛠

Performance Improvements ⚡

Exciting New Features 🎉

  • feat: compat chunkGroup.chunks by @ahabhgk in #6490
  • feat: support performance config by @inottn in #6456
  • feat: support resolve.enforceExtension / descriptionFiles / importsFields options by @9aoy in #6491
  • feat: support contextModuleFactory beforeResolve hook by @SyMind in #6420
  • feat: export types of CSS extract plugin by @chenjiahan in #6528
  • feat: improve diagnostics if expressions passed into DefinePlugin are failed to parse by @shulaoda in #6382
  • feat: support cjs css with css esModule generator options by @ahabhgk in #6376
  • feat(create-rspack): add template-vue-ts by @cnryb in #5834
  • feat: inline entry modules by @ahabhgk in #6554
  • feat: support stage option of BannerPlugin by @colinaaa in #6623

Bug Fixes 🐞

Document Updates 📖

Other Changes

Read more

v0.7.0-beta.2

22 May 12:55
Compare
Choose a tag to compare
v0.7.0-beta.2 Pre-release
Pre-release

What's Changed

Performance Improvements ⚡

  • perf(core): prebundle enhanced-resolve to reduce dependencies by @chenjiahan in #6585

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

  • docs: add moment-locales-webpack-plugin support status by @9aoy in #6601
  • docs: translate the dev guide by @SoonIter in #6584
  • docs: fix the video component in md by @SoonIter in #6604
  • docs: change Storybook migration to storybook-rsbuild by @fi3ework in #6599

Other Changes

Full Changelog: v0.7.0-beta.1...v0.7.0-beta.2

v0.7.0-beta.1

21 May 07:05
Compare
Choose a tag to compare
v0.7.0-beta.1 Pre-release
Pre-release

What's Changed

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: v0.7.0-beta.0...v0.7.0-beta.1