Skip to content

Releases: web-infra-dev/rspack

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

v1.0.2

04 Sep 03:38
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚑

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

03 Sep 11:05
Compare
Choose a tag to compare

πŸ’‘ Highlights

Improved create-rspack

Support for the addition of Biome / ESLint / Prettier when creating a new Rspack project:

create-rspack

Improve error logs of serde deserialize error

  • before:
    image

  • after:
    image

What's Changed

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Bug Fixes 🐞

  • fix: use topological order when SideEffectsFlagPlugin optimize incoming connections by @ahabhgk in #7717
  • fix(core): improve error report when load builtin:swc-loader and buitin:lightningcss-loader by @hardfist in #7700
  • fix: align ignored module debug comment with webpack by @fi3ework in #7736
  • fix: template react logo animation css selector by @velusgautam in #7741
  • fix: add in_function_scope for getters and setters by @CPunisher in #7745

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

28 Aug 04:50
Compare
Choose a tag to compare

image

See Announcing Rspack 1.0 for more details πŸŽ‰

What's Changed

Breaking Changes πŸ› 

  • fix: compilation errors and warnings should be RspackError by @h-a-n-a in #6900
  • feat: deprecate JavaScript API by @h-a-n-a in #6859
  • 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!: use swc_plugin_prefresh instead of builtin swc plugin by @LingyuCoder in #7069
  • feat!: detect conflicting values in DefinePlugin by @h-a-n-a in #7045
  • feat!: remove builtins.provide by @h-a-n-a in #7086
  • feat!: use native resolver in loader by @bvanjoi in #4945
  • fix!: correct names of hash fields in asset.info by @xc2 in #7220
  • feat(deps)!: updatewebpack-dev-server to v5 and no longer lock the versions by @SoonIter in #7130
  • fix!: remove @rspack/plugin-minify by @hardfist in #7307
  • feat!(crates): upgrade swc_core to 0.99.5 by @LingyuCoder in #7292
  • feat!: improve HtmlRspackPlugin by @LingyuCoder in #7577
  • refactor!: disable css minify in html minify and remove SwcCssMinimizerRspackPlugin by @ahabhgk in #7547
  • feat!: support optimization.emitOnErrors by @LingyuCoder in #7595
  • feat(core)!: change dojang default escape|unescape to lodash.template syntax by @hardfist in #7661

Performance Improvements ⚑

Exciting New Features πŸŽ‰

Read more

v1.0.0-rc.2

27 Aug 15:03
Compare
Choose a tag to compare

What's Changed

Exciting New Features πŸŽ‰

  • feat: apply affected modules to all cgm phase by @ahabhgk in #7684
  • feat: apply affected modules for provide exports by @ahabhgk in #7703
  • feat: support "loose-unrecognized-keys" for config validation by @h-a-n-a in #7705

Bug Fixes 🐞

Document Updates πŸ“–

Other Changes

  • revert: feat(diagnostic): improve diagnostics for swc wasm plugins by @h-a-n-a in #7690

Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2