Skip to content

Releases: web-infra-dev/rspack

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

v0.7.0-beta.0

16 May 09:00
Compare
Choose a tag to compare
v0.7.0-beta.0 Pre-release
Pre-release

What's Changed

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

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

New Contributors

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

v0.6.5

08 May 13:19
Compare
Choose a tag to compare

Hotfixes

  • fix: template strings panic by @ahabhgk in #6473
  • fix: should distinguish context for css modules local ident name by @ahabhgk in #6472

What's Changed

Performance Improvements ⚑

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v0.6.4...v0.6.5

v0.6.4

07 May 13:37
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix(create-rspack): remove useless sourceMap option in templates by @chenjiahan in #6319
  • fix: incremental rebuild clean module_graph.block & dependencies by @jerrykingxyz in #6298
  • fix: align get_nested_exports_info with webpack by @JSerFeng in #6351
  • fix: default resolve roots by @ahabhgk in #6340
  • fix: errors thrown in userland callbacks should not panic by @h-a-n-a in #6082
  • fix: process dependencies task remove resolve_options by @jerrykingxyz in #6377
  • fix: swc minimizer extracted comments should be stable by @h-a-n-a in #6380
  • fix: minify comments extract by @LingyuCoder in #6386
  • fix: runtimeChunk should control all entries' runtime by @ahabhgk in #6388
  • fix(mf): remove empty chunk mapping by @ahabhgk in #6394
  • fix(config): snapshot.module accept { timestamp: true} by @SoonIter in #6387
  • fix: swc parser should always preserve comments by @h-a-n-a in #6389
  • fix: wrong module source by @h-a-n-a in #6396
  • fix(config): support snapshot config {timestamp: true} and {hash: true} by @SoonIter in #6399
  • fix: handle unhandled scheme by @h-a-n-a in #6404
  • fix: allow all characters for webpackChunkName by @xc2 in #6411
  • fix: remove outdated TODOs in runtime code by @chenjiahan in #6409
  • fix: comment preserver should be placed prior to inline globals by @h-a-n-a in #6423
  • fix(rspack_loader_runner): char_boundary panic when debug content by @SoonIter in #6412
  • fix(mf): webpack_init_sharing with empty config by @ahabhgk in #6450
  • fix: consistent md4 hash in localNameIdent by @LingyuCoder in #6444

Document Updates πŸ“–

Other Changes

Read more

v0.6.3

23 Apr 12:23
Compare
Choose a tag to compare

What's Changed

Highlights

Provide type declaration for builtin:swc-loader

@rspack/core now provides the type declaration for builtin:swc-loader, which can help you to configure the swc-loader correctly:

// rspack.config.js
module.exports = {
  module: {
    rules: [
      {
        test: /\.js$/,
        use: {
          loader: 'builtin:swc-loader',
+         /** @type {import('@rspack/core').SwcLoaderOptions} */
          options: {
            // some options
          },
        },
      },
    ],
  },
};

Updated Plugin Documentation for Rspack

We've revamped the plugin documentation for Rspack to enhance clarity and improve your experience.

Please visit: https://www.rspack.dev/plugins

image

Exciting New Features πŸŽ‰

Bug Fixes 🐞

Other Changes

New Contributors

Full Changelog: v0.6.2...v0.6.3