Skip to content

Releases: web-infra-dev/rspack

v0.3.1

29 Aug 11:53
Compare
Choose a tag to compare

Highlight

Support option resolveLoader

With this option, you can specify the resolving strategy for each loader.

For example, if you are developing a loader and want to showcase its usage from a user's perspective in an example, you can write:

module.exports = {
  resolveLoader: {
    alias: {
      'amazing-loader': require.resolve('path-to-your-amazing-loader'),
    },
  },
};

Then, in the example code, you can write:

require('!!amazing-loader!./amazing-file.js');

See more

What's Changed

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

Other Changes

Full Changelog: v0.3.0...v0.3.1

v0.3.0

24 Aug 06:20
Compare
Choose a tag to compare

Rspack 0.3.0 is out!

Read the announcement blog post: Announcing Rspack 0.3.

Overview

What's Changed

Performance Improvements ⚑

  • perf: reduce memory size of const dependency and dependency type by @underfin in #3972

Exciting New Features πŸŽ‰

  • feat: add profile switch in cli by @ahabhgk in #3937
  • feat(chunkIds): support optimization.chunkIds: 'deterministic' by @nebarf in #3053
  • feat: add logging when RSPACK_PROFILE enabled by @ahabhgk in #3965
  • feat(core): expose RuntimeGlobals by @lippzhang in #3973
  • feat: support dispatching builtin loaders on Node by @h-a-n-a in #3980
  • feat: add timestamp on profile dist by @ahabhgk in #3985
  • feat: support builtin loader with inline loader syntax by @h-a-n-a in #3988
  • feat: support resolving builtin loaders in Rust tests by @h-a-n-a in #3998

Bug Fixes 🐞

  • fix: getHash occasionally panic when rebuild by @ahabhgk in #3970

Other Changes

New Contributors

Full Changelog: v0.2.12...v0.3.0

v0.2.12

15 Aug 06:45
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

  • perf: reduce compilation.getAssets overhead by @h-a-n-a in #3934

Exciting New Features πŸŽ‰

  • feat: support minifyOptions.asciiOnly by @9aoy in #3915
  • feat: add more logger.time in plugins by @ahabhgk in #3916
  • feat: support configuration.profile by @ahabhgk in #3924
  • feat(chunkIds): align chunkIds: 'named' with Webpack by @hyf0 in #3923
  • feat: support minifyOptions.comments by @9aoy in #3927
  • feat: support more predefined processAssets stage on js side by @ahabhgk in #3942

Bug Fixes 🐞

Other Changes

Full Changelog: v0.2.11...v0.2.12

v0.2.11

08 Aug 06:09
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: render library runtime for include entry chunks by @underfin in #3876
  • fix: modify Configuration type to support MultiRspackOptions by @suica in #3831
  • fix(core): add resove failing reason for import in esm file by @hardfist in #3884
  • fix: HarmonyImportSpecifierDependency interop should scan xxx.xxx by @underfin in #3910
  • fix: fix a panic issue of get_hash if assertion is failed by @h-a-n-a in #3907
  • fix: should generate diffrent name for chunk asset at hmr by @underfin in #3912

Other Changes

New Contributors

Full Changelog: v0.2.10...v0.2.11

v0.2.10

01 Aug 04:25
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: export imported a import declaration with all as. by @IWANABETHATGUY in #3847
  • fix: banner shouldn't be injected to asset by @hardfist in #3809
  • fix: generate correct name for library umd define by @underfin in #3856
  • fix: should replace _webpack_require to _nested_webpack_require at … by @underfin in #3857

Other Changes

New Contributors

Full Changelog: v0.2.9...v0.2.10

v0.2.9

25 Jul 12:00
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

  • feat(splitChunks): support splitChunks.{cacheGroup}.idHint by @hyf0 in #3783
  • feat(core): add test/include/exclude options to builtins.minifyOptions by @LingyuCoder in #3775
  • feat: support stats option "source" by @suxin2017 in #3682
  • feat(packages/rspack): add version check for binding by @lippzhang in #3717
  • feat: nested import tree shaking by @IWANABETHATGUY in #3800
  • feat: implement statsFactory and simplified DefaultStatsFactoryPlugin by @9aoy in #3805

Bug Fixes 🐞

Other Changes

  • ci: release canary without debug mode because binary size is too big to upload (>1G) by @Boshen in #3788
  • chore: fix canary release by @h-a-n-a in #3792
  • chore: support passing ref to reusable build by @h-a-n-a in #3793
  • chore: bump swc version by @h-a-n-a in #3791
  • chore: enable some runtime & context module webpack test by @underfin in #3796
  • ci: split cargo check and cargo test into two jobs by @Boshen in #3807
  • chore: remove rspack_build by @Boshen in #3806
  • refactor: assign dep id for each symbol. by @IWANABETHATGUY in #3808
  • chore: use v0.x.y instead of 0.x.y for release tag by @hardfist in #3819
  • test: basic webpack side effects and treeshaking tests by @IWANABETHATGUY in #3833
  • chore(types): should not return null when only called rspack with one parameter by @9aoy in #3835

New Contributors

Full Changelog: 0.2.8...v0.2.9

0.2.8

18 Jul 04:48
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

Other Changes

Full Changelog: 0.2.7...0.2.8

0.2.7

13 Jul 06:57
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

  • perf: convert to RawSource in devtool to reduce one time source map calculation when convert to JsCompatSource by @ahabhgk in #3748

Exciting New Features πŸŽ‰

  • feat(ast_viewer): support contexting in ast viewer by @h-a-n-a in #3756

Bug Fixes 🐞

Other Changes

Full Changelog: 0.2.6...0.2.7

0.2.6

11 Jul 09:04
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: rumtime_stmts => runtime_stmts by @jerrykingxyz in #3693
  • fix: resolve worker without extension by @ahabhgk in #3702
  • fix(splitChunks): should validate min_size of ModuleGroup in the each end of round by @hyf0 in #3706
  • fix: worker chunk looses runtime modules in incremental rebuild by @ahabhgk in #3703
  • fix(minifier): fix minifier options difference between minifications by @h-a-n-a in #3697
  • fix: chunkhash should be available in chunk context by @h-a-n-a in #3710
  • fix: replace module refrence or webpack_module to module argument by @underfin in #3708
  • fix: worker HMR by @ahabhgk in #3711
  • fix(rspack_plugin_html): favicon behavior when using absolute file path by @LingyuCoder in #3700
  • fix: non amd external break amd library by @ahabhgk in #3725
  • fix: react refresh in async entrypoint by @ahabhgk in #3731
  • fix: infer async module for EsmExport dependency by @ahabhgk in #3739
  • fix: _nested_webpack_require by @underfin in #3742

Other Changes

New Contributors

Full Changelog: 0.2.5...0.2.6

0.2.5

04 Jul 08:39
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

Other Changes

New Contributors

Full Changelog: 0.2.4...0.2.5