Skip to content

Releases: web-infra-dev/rspack

v1.0.12

16 Oct 10:40
089aa68
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: side effects optimize for dynamic reexports by @ahabhgk in #8125
  • fix(json): only add RuntimeGlobals::MODULE for concatenation by @fi3ework in #8126
  • fix: should not panic when passing test option to SourceMapDevToolPlugin by @inottn in #8136
  • fix(core): should external package.json from bundle by @chenjiahan in #8140

Other Changes

Full Changelog: v1.0.11...v1.0.12

v1.0.11

15 Oct 06:50
Compare
Choose a tag to compare

Highlights πŸ’‘

Faster Startup πŸš€

The Node.js code from @rspack/core is now bundled into a single bundle, making Rspack startup 30ms faster.

Benchmark 1 (Rspack 1.0.10)
  Time (mean Β± Οƒ):     370.5 ms Β±  12.1 ms    [User: 412.9 ms, System: 68.1 ms]
  Range (min … max):   357.9 ms … 395.1 ms    10 runs

Benchmark 2 (Rspack 1.0.11)
  Time (mean Β± Οƒ):     335.4 ms Β±   2.6 ms    [User: 380.3 ms, System: 59.0 ms]
  Range (min … max):   331.8 ms … 339.1 ms    10 runs

What's Changed

Performance Improvements ⚑

  • perf: bundle @rspack/core for faster startup by @chenjiahan in #8072
  • perf(rspack_core): replace HASH_PLACEHOLDER_REGEX with simple string parsing by @shulaoda in #7907
  • perf: add cache for getting sideEffectState by @JSerFeng in #8070

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: avoid renaming the export name when outputting a library by @inottn in #8046
  • fix(ci/preview-commit): remove predicate-quantifier by @shulaoda in #8091
  • fix: return url in CreateScriptUrlRuntimeModule by @LingyuCoder in #8088
  • fix: css module should not calculate id by @JSerFeng in #8084
  • fix: avoid extra runtime for get javascript chunk filename by @inottn in #8099
  • fix: generate code correctly for dynamically importing the same file by @inottn in #8100

Other Changes

New Contributors

Full Changelog: v1.0.10...v1.0.11

v1.0.10

11 Oct 07:00
Compare
Choose a tag to compare

What's Changed

Highlights

The swc_core crate has been upgraded from version 0.106.1 to 0.109.1. Fixed the source map error in SWC minifier when used with Sentry.

For a detailed comparison between swc versions, see the https://github.com/swc-project/swc/compare/[email protected][email protected].

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: the value of this.sourceMap in LoaderContext is incorrect when using SourceMapDevToolPlugin by @inottn in #7968
  • fix: source map is not works with Sentry by @SyMind in #8080
  • fix: should support chunk.contentHash in PathData of compilation.getPath by @LingyuCoder in #8074
  • fix: allow file names and directory names to contain brackets by @inottn in #8069

Other Changes

Full Changelog: v1.0.9...v1.0.10

v1.0.9

10 Oct 03:06
adcabc6
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

  • feat(parser): add new javascript parser options by @fi3ework in #7939

Bug Fixes 🐞

  • fix(externals): distinguish "module" and "import" in "module-import" by @fi3ework in #7999
  • fix: should set code generation hash to concatenated module by @LingyuCoder in #8062
  • fix: should use chunk in path data of compilation.getPath by @LingyuCoder in #8032
  • fix(type): be compitable to ts5.6 by @SoonIter in #8071

Document Updates πŸ“–

  • docs: upgrade breaking change description by @hardfist in #8012
  • docs(progress-plugin): support custom handler by @9aoy in #8014

Other Changes

Full Changelog: v1.0.8...v1.0.9

v1.0.8

29 Sep 06:57
Compare
Choose a tag to compare

What's Changed

Highlights

  • the Rust crate swc_core has been upgraded to 0.106.0 and swc minifier source map error has been fixed by @SyMind in #7991

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: the progress values for the make and sealing statuses are inaccurate by @inottn in #7990
  • fix: correctly display the progress bar when it reaches 100% by @inottn in #7989
  • fix: use HookMap for runtimeRequirementInTree by @colinaaa in #7987
  • fix: swc minifier source map by @SyMind in #7991
  • fix: generate params of runtime module by @LingyuCoder in #8000
  • fix(modern-module): use module style export for non entry module by @fi3ework in #7996
  • fix: dedup asset_contents to avoid multiple hash changes by @inottn in #8002
  • fix(core): allow non-utf8 string in source code by @hardfist in #8009

Document Updates πŸ“–

Other Changes

Full Changelog: v1.0.7...v1.0.8

v1.0.7

24 Sep 17:14
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

  • refactor: phases level switcher for incremental options by @ahabhgk in #7954
  • refactor: remove mut options in plugin apply by @ahabhgk in #7958
  • chore: migrate @rspack/dev-server to an independent repo by @LingyuCoder in #7959
  • chore: not allow run typecheck when run node bin/rspack for other project by @hardfist in #7964

Full Changelog: v1.0.6...v1.0.7

v1.0.6

24 Sep 09:53
Compare
Choose a tag to compare

What's Changed

Caution

This version has a bug which requires install webpack together to work, use v1.0.7 instead

Highlights

Support ContextReplacementPlugin

For more information, please refer to the documentation ContextReplacementPlugin.

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix(rspack-test-tools): corret script testu by @shulaoda in #7894
  • fix: should run watch cases test in build assets by @ahabhgk in #7897
  • fix(core): use resource shouldn't contain query by @hardfist in #7911
  • fix: preserve variable names declared with var by @inottn in #7903
  • fix: use SourceMapSource in js side to support map method by @SyMind in #7828
  • fix: avoid import external module re-assigin in concatenation by @fi3ework in #7839
  • fix: make stage has_module_graph_change calculate incorrectly by @jerrykingxyz in #7920
  • fix(core): align assetInfo with webpack by @hardfist in #7924
  • fix: should create an empty codegen result for module that has failure in codegen by @JSerFeng in #7777
  • fix: eco-ci prebundled enhanced-resolve by @SoonIter in #7933
  • fix: attach when add runtime module by @LingyuCoder in #7935
  • fix: infer async modules when incremental enabled by @ahabhgk in #7927
  • fix: change javascript parser options to properly merge by @inottn in #7946

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v1.0.5...v1.0.6

v1.0.5

13 Sep 06:47
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(external_module): use "const" if supported when concatenation by @fi3ework in #7836
  • fix(create-rspack): eslint-plugin-react-hooks version conflict by @chenjiahan in #7854
  • fix: remove LightningCssMinimizerRspackPlugin exclude option default value by @noshower in #7811
  • fix: trusted type with devtool eval by @LingyuCoder in #7866
  • fix: do not use affected for side-effects-flag-plugin by @JSerFeng in #7865
  • fix: should forward sourcemaps for refresh loaders by @h-a-n-a in #7872
  • fix: should provide full error message with error name when hideStack is set to true by @h-a-n-a in #7867

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v1.0.4...v1.0.5

v1.0.4

10 Sep 11:24
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix(core): try fix EBUSY problem in windows ci by @hardfist in #7803
  • fix(core): fix resolve faild when do recursive symbol link by @hardfist in #7744
  • fix: overflow panic when shifting left value greater then 31 by @SyMind in #7792
  • fix: remove HotUpdateChunk in chunks by @SyMind in #7810
  • fix: should not transform source to buffer by @SyMind in #7821
  • fix: change javascript parser options in child compiler by @ahabhgk in #7812
  • fix(loader-runner): remove legacy Node compatible code by @chenjiahan in #7818
  • fix: improve stats string for match resource with long data url by @ahabhgk in #7823
  • fix: duplicate emit source map from child compiler by @SyMind in #7847
  • fix: loader intermediate data should be overridden between loaders by @h-a-n-a in #7846

Document Updates πŸ“–

Other Changes

Full Changelog: v1.0.3...v1.0.4

v1.0.3

04 Sep 15:45
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

  • chore(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in #7783
  • chore: cleanup unused module syntax by @ahabhgk in #7790

Full Changelog: v1.0.2...v1.0.3