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 🎉
- feat(rspack_plugin_javascript): improve provide dependency by @shulaoda in #7871
- feat(progress-plugin): support custom handler by @LingyuCoder in #7896
- feat: allow ModuleFactoryCreateData modify dependencies by @jerrykingxyz in #7895
- feat: support
compilation.hooks.runtimeRequirementInTree
by @LingyuCoder in #7917 - feat: support experimental loader
emitDiagnostic
by @h-a-n-a in #7879 - feat: support
compilation.addRuntimeModule
by @LingyuCoder in #7925 - feat: context repl plugin by @SyMind in #7853
- feat(core): integrate rspack_resolver with input_filesystem by @hardfist in #7858
- feat(core): support using tokio-console by @hardfist in #7945
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 📖
- docs(landingpage): update @rstack-dev/doc-ui to 1.5.1 by @SoonIter in #7899
- docs: update node version and webpack-dev-server@5 by @SoonIter in #7900
- docs: update how to use swc plugin in rspack rule by @zhangmingyuan666 in #7904
- docs: add Trellis logo at who is using rspack by @yharaskrik in #7901
- docs(landingpage): update @rstack-dev/doc-ui by @SoonIter in #7909
- docs: update who is using by @chenjiahan in #7948
- docs: fix link is 404 in README by @lzxb in #7947
- docs: add use case for
extensionAlias
by @chenjiahan in #7951 - docs(website): update blog credit by @ScriptedAlchemy in #7931
- docs: webpack-merge also applies to rspack by @wjw99830 in #7953
Other Changes
- refactor(types): remove @ts-expect-error in loaderRunner and StatsFactory by @SoonIter in #7864
- refactor: clean dev server code by @LingyuCoder in #7794
- chore(rspack): remove unnecessary files by @shulaoda in #7910
- chore(deps): bump mio from 0.8.8 to 0.8.11 by @dependabot in #7928
- test: disable dev server e2e test by @LingyuCoder in #7929
- chore(infra/biome): enable no-errors-on-unmatched by @CPunisher in #7932
- refactor: use
realDependencyLocation
instead ofrange
in dependency by @shulaoda in #7892 - chore(workflow): remove rangeStrategy from renovate config by @chenjiahan in #7950
- test: fix css concat stats test by @ahabhgk in #7955
New Contributors
- @zhangmingyuan666 made their first contribution in #7904
- @yharaskrik made their first contribution in #7901
- @lzxb made their first contribution in #7947
- @wjw99830 made their first contribution in #7953
Full Changelog: v1.0.5...v1.0.6