Releases: web-infra-dev/rspack
v1.0.0-alpha.1
What's Changed
Breaking Changes 🛠
Performance Improvements ⚡
Exciting New Features 🎉
- feat: enable lightning css minimizer error recovery by @ahabhgk in #6995
- feat: support nmf resolve hook by @ahabhgk in #6998
- feat: support splitChunkSizes type by @wxiaoyun in #6989
- feat: refresh overlay by @JiangWeixian in #6161
- feat: align webpack target and stats api by @SyMind in #7027
- feat: support fetch priority by @LingyuCoder in #7029
Bug Fixes 🐞
- fix(config): allow entry function to return promise by @chenjiahan in #6975
- fix: use max_entrypoint_size in add_entrypoints_over_size_limit_warning by @escaton in #6923
- fix: experiments css exports convention tree shaking by @ahabhgk in #6997
- fix: align source name conflict handling by @CPunisher in #6993
- fix: should not generate pure expression if test is failed by @h-a-n-a in #7014
- fix: use lite-tapable for enhanced-resolve by @ahabhgk in #7021
- fix: fix npm script in window by @daydayhappychao in #5164
- fix: pnpm install failed in ci by @SyMind in #7036
- fix: wrong cjs exports type caused unexpected exports presence by @ahabhgk in #7028
- fix: add warning for context module flag g and y by @ahabhgk in #7044
- fix: deduplicate extracted comments by @CPunisher in #7040
Document Updates 📖
- docs: announcing Rspack v1.0 alpha by @chenjiahan in #6945
- docs: remove invalid OG image by @chenjiahan in #6982
- docs: add doc about switch back to SwcCssMinimizerRspackPlugin by @hardfist in #6983
- docs: deduplicate plugin support status list by @xc2 in #6988
- docs: complete the module methods by @LingyuCoder in #6999
- docs: module variables by @LingyuCoder in #6980
- docs: add specifics for api meta by @LingyuCoder in #7002
- docs: add Module Federation to features list by @chenjiahan in #7011
- docs: improve externals plugin doc by @SyMind in #7009
- docs: add prefetch&preload modules by @LingyuCoder in #7010
- docs: default value in node config by @SyMind in #7015
- docs: update compilation hooks by @LingyuCoder in #7018
- docs: add fetch priority by @LingyuCoder in #7037
Other Changes
- refactor: move test dirs to tests by @LingyuCoder in #6973
- test: stable stage-0-factorize test by @ahabhgk in #6981
- refactor: resolve nodejs 22 deprecation warning by @xc2 in #6987
- chore: disable renovate update for swc by @hardfist in #6991
- chore: add deprecated notice for rspack-plugin-minify by @hardfist in #6992
- chore: fix renovate config by @xc2 in #6994
- refactor: extract lite tapable by @ahabhgk in #7000
- chore(module-federation): update @module-federation/runtime-tools to 0.2.3 version by @zhoushaw in #7025
- test: enable webpack cjs-treeshaking reexport cases by @xc2 in #7017
- chore(readme): remove underlines between badges by @wxiaoyun in #7024
- chore: release force use github runner by @jerrykingxyz in #7038
- test: enable cases/context/issue-10969 by @ahabhgk in #7041
- chore: release run macos test when arch match by @jerrykingxyz in #7046
Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1
v1.0.0-alpha.0
What's Changed
See 👉 Announcing Rspack v1.0 Alpha for more details
Breaking Changes 🛠
- fix!: change default value of css to false, align with webpack by @JSerFeng in #6910
- feat!: enable lightning css minimizer as default css minimizer by @ahabhgk in #6960
- feat: deprecate JavaScript API (part 2) by @h-a-n-a in #6859
- fix: compilation errors and warnings should be
RspackError
by @h-a-n-a in #6900 - 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!: remove resolve tsConfigPath by @ahabhgk in #6872
- fix!: align devtool default value by @SyMind in #6904
Performance Improvements ⚡
Exciting New Features 🎉
- feat(napi): support js chunk hash hook by @ahabhgk in #6853
- feat(napi): compilation chunk hash hook by @ahabhgk in #6858
- feat: root module is less prone to be wrapped in IIFE by @fi3ework in #6697
- feat: CopyRspackPlugin support function
to
option by @9aoy in #6866 - feat: remove styled-components, emotion and relay in builtin swc-loader by @h-a-n-a in #6862
- feat: align split-chunks stats by @SyMind in #6847
- feat: generating provenance statements by @chenjiahan in #6896
- feat: add
factoryMeta
toJsModule
and optimizeInnerGraphPlugin
for variable decl with iife by @CPunisher in #6888 - feat: simple custom worker syntax by @ahabhgk in #6899
- feat: add nwjs target to rspack config by @wxiaoyun in #6880
- feat: add build unique id for detecting by @LingyuCoder in #6865
- feat: encode filename in EvalDevToolModulePlugin by @SyMind in #6903
- feat: add stats.module.dependent by @LingyuCoder in #6913
- feat(cli): defineConfig support all types by @chenjiahan in #6911
- feat: add nwjs external preset by @wxiaoyun in #6907
- feat: custom worker syntax for worklet by @ahabhgk in #6916
- feat: support deep AST parsing in debug by @h-a-n-a in #6919
- feat: add idHints and hash of stats.chunk by @LingyuCoder in #6920
- feat: support nested webpack_exports by @ahabhgk in #6930
- feat: fully support EvalSourceMapDevToolPlugin by @SyMind in #6933
- feat: support use data uri with inline loaders by @h-a-n-a in #6939
- feat(create-rspack): improve the templates by @chenjiahan in #6940
- feat: add contextInfo on resolveData by @ahabhgk in #6948
- feat: align stats.assets[].info by @LingyuCoder in #6951
- feat: optimize filename function diagnostic by @h-a-n-a in #6953
- feat(cli): add --profile to enable stats module profile by @LingyuCoder in #6957
- feat: stats origin moduleid by @LingyuCoder in #6955
- feat: align stats chunk group by @LingyuCoder in #6961
Bug Fixes 🐞
- fix: ci wrong in github runner by @SyMind in #6852
- fix: export default when environment supports const by @ahabhgk in #6861
- fix: pre walk class blocks by @ahabhgk in #6867
- fix: should not eval exports in harmony by @ahabhgk in #6883
- fix: clean up dependencies and types for emotion / relay by @chenjiahan in #6892
- fix: fix type of CssExtractRspackPluginOptions.{filename,chunkFilename} by @xc2 in #6882
- fix: missing bailout reason after introducing css extract plugin by @xc2 in #6875
- fix: sources in source map when use EvalSourceMapDevToolPlugin by @SyMind in #6901
- fix: CopyRspackPlugin transform option type by @9aoy in #6908
- fix: devtool plugin cache conflict !macos by @SyMind in #6912
- fix: fix release build by @h-a-n-a in #6921
- fix: use entrypoint.options.runtime as key for chunk_graph.runtime_ids map if possible by @escaton in #6928
- fix: context passed into the
ModuleFactory
is not correct by @h-a-n-a in #6946 - fix!: align webpack defaults by @SyMind in #6949
- fix: sources types by @SyMind in #6944
- fix: should not using single line match in data url regex by @JSerFeng in #6952
- fix: fix duplicated harmony exports with named exports and re-exports star by @h-a-n-a in #6962
Document Updates 📖
- docs: fixed typo on compatibility list header by @ebektasiadis in #6886
- docs: fix rspack exports in javascript-api.mdx by @sudoaugustin in #6889
- docs: fix rspack exports in zh javascript-api.mdx by @chenjiahan in #6893
- docs: explain
VariableInfo
by @bvanjoi in #6914 - docs: polish up guide docs by @fi3ework in #6922
- docs: review devtool and entry config docs by @Timeless0911 in #6917
- docs: improve webpack migration by @SyMind in #6918
- docs: fix license badge and add node badge by @chenjiahan in #6929
- docs(config): temporary fix for mdx display bug by @wxiaoyun in #6932
- docs: add stats data by @LingyuCoder in #6937
- docs: describe stats data structure with ts types by @LingyuCoder in #6941
- docs: polish up external config by @fi3ework in #6942
- docs(contributing): breaking change PR format by @chenjiahan in #6969
- docs: update assets URLs by @chenjiahan in #6972
- docs: upgrade latest discord invitation link by @SoonIter in #6977
- docs: use of nightly/canary version and install-rspack script by @SoonIter in #6974
Other Changes
- chore(deps): update crates (major) by @renovate in #6855
- chore: remove old tree shaking code by @ahabhgk in #6884
- refactor: worker parser plugin by @ahabhgk in #6881
- revert: chore(deps): update crates (major) (#6855) by @h-a-n-a in #6894
- test: fix using HotSnapshotProcessor in webpack by @colinaaa in #6885
- chore: refactor rspack_plugin_devtool by @SyMind in #6897
- chore: optimize profile dir creation by @xc2 in #6879
- chore(release): rename package canary name by @SoonIter in #6906
- chore: clean up unused dev dependencies by @chenjiahan in #6924
- chor...
v0.7.5
v0.7.4
What's Changed
Highlights
LightningCSS minimizer
In v0.7.4 Rspack provides a new CSS minimizer which uses Lightning CSS under the hood, for now you can enable it by optimization.minimizer
, and in Rspack v1.0, it will be enabled by default.
And here are two very useful features powered by the new LightningCSS minimizer:
- removeUnusedLocalIdents: during minification, it removes the CSS declarations corresponding to the unused-symbols. This allows Rspack to work with CSS modules' tree shaking to remove unused CSS declarations corresponding to exports (previously, it would only remove the JS exports).
- browserslist: with this options minification will also performs downgrading. If the postcss-loader was previously used only for downgrading, it can be removed.
Checkout our docs for more details.
Compatible with worker-loader
In v0.7.4 Rspack is compatible with worker-loader, which is usually used by some older projects, so this is provided only as a temporary solution to facilitate these older projects migration to Rspack, checkout our docs for more details.
Exciting New Features 🎉
- feat: lightningcss minimizer by @ahabhgk in #6801
- feat: export FetchCompileAsyncWasmPlugin for worker loader by @ahabhgk in #6832
- feat: add more stats module properties by @LingyuCoder in #6799
- feat: add build time executed modules to stats by @LingyuCoder in #6829
- feat: upgrade webpack latest version by @SyMind in #6800
- feat(runtime): enable rspack version by @zmzlois in #6817
Bug Fixes 🐞
- fix(mf): avoid error webpack_require.f.consume after hmr by @ahabhgk in #6796
- fix: css modules composes same ident with local class by @ahabhgk in #6815
- fix: fix segmentation fault with custom loader by @h-a-n-a in #6824
- fix: basically same codegen of arco-pro by @ahabhgk in #6826
- fix: parse url dependency for minimized css by @ahabhgk in #6827
- fix: should be able to add loader resolver dependencies by @h-a-n-a in #6828
- fix: generate suggestions if api-extractor failed the test by @h-a-n-a in #6834
- fix(cli): should close compiler after building by @chenjiahan in #6835
- fix: docs ci wrong in node 16 by @SyMind in #6840
- fix: source map wrong when columns is false by @SyMind in #6841
- fix: sourceMapFilename default value by @SyMind in #6845
- fix: panic of module_graph.get_depth by @LingyuCoder in #6846
Document Updates 📖
- docs: update slogan and descriptions by @chenjiahan in #6798
- docs: name and dependencies by @SyMind in #6806
- docs: improve
module.rules.descriptionData
by @leimonio in #6797 - docs: infrastructureLogging by @SyMind in #6808
- docs: translate
Rule.descriptionData
by @chenjiahan in #6813 - docs: complete output config by @SyMind in #6814
- docs: add semver declaration by @h-a-n-a in #6825
- docs: complete experiments docs by @SyMind in #6823
- docs: complete module docs by @SyMind in #6843
Other Changes
- chore: mark defferent between webpack defaults by @SyMind in #6795
- chore: remove useless Serialize and Deserialize by @jerrykingxyz in #6809
- chore: add congcong to team member list by @LingyuCoder in #6811
- chore: remove unused lazy compilation file by @LingyuCoder in #6812
- ci: check implemented but not documented configs by @SyMind in #6810
- refactor: cleanup JavaScript API by @h-a-n-a in #6831
- chore(deps): update dependency ws to v8.17.1 [security] by @renovate in #6842
New Contributors
Full Changelog: v0.7.3...v0.7.4
v0.7.3
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 🎉
- feat: support preact refresh by @LingyuCoder in #5392
- feat: the missing part of loader by @h-a-n-a in #6753
- feat: css tree shaking by @JSerFeng in #6772
- feat:
ProgressPlugin
configuration by @CPunisher in #6722 - feat: use warning for css parsing by @ahabhgk in #6777
- feat: concatenated modules stats by @LingyuCoder in #6784
- feat: allow to reference client module types by @chenjiahan in #6787
Bug Fixes 🐞
- fix: should remove correct connections by @JSerFeng in #6771
- fix: panic when resolve failed and enable concatenateModule by @LingyuCoder in #6778
- fix: panic when resolve context failed by @LingyuCoder in #6779
- fix: concatenate module with external by @ahabhgk in #6781
- fix: increase stack size limit to 4mb by @h-a-n-a in #6783
- fix: diagnostic snapshot by @h-a-n-a in #6788
- fix: diagnostic snapshot by @h-a-n-a in #6794
Document Updates 📖
- docs: fix discord badge by @chenjiahan in #6780
Other Changes
- ci: use @pnpm/exe in Node 16 CI by @chenjiahan in #6770
- chore(deps): update swc by @renovate in #6726
- chore: add interop-test to diff test by @ahabhgk in #6774
- chore: remove console.log in replacePaths by @LingyuCoder in #6792
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed
Performance Improvements ⚡
Exciting New Features 🎉
Bug Fixes 🐞
- fix: extract-css should pass cacheable by @JSerFeng in #6707
- fix: code splitting won't invalidate in some cases by @JSerFeng in #6733
- fix: module-decorator-dep should be module dependency by @JSerFeng in #6732
- fix: override existing css exports by @ahabhgk in #6745
- fix: add chunks and cacheGroupKey to cacheGroups' name by @hulin32 in #6428
- fix: support lazy css using css-extract by @JSerFeng in #6747
- fix: add
strict: true
to RawModule by @colinaaa in #6755 - fix: should clear local classes for invalid composes by @ahabhgk in #6757
- fix:
Rule.descriptionData
won't match object types by @h-a-n-a in #6758 - fix: Add
in_function_scope
for walking method function by @CPunisher in #6760 - fix: has_module_graph_change miscalculation by @jerrykingxyz in #6766
Document Updates 📖
- docs: rewrite document for require.context() by @chenjiahan in #6736
- docs: update Module Federation guide by @chenjiahan in #6746
- docs: bump Rspress to improve container style by @chenjiahan in #6748
- docs: add import.meta.webpackContext by @chenjiahan in #6751
Other Changes
- test: enable jsdom runner by default by @LingyuCoder in #6724
- test: fix runtime diff cases by @LingyuCoder in #6729
- refactor: entry_modules calculate by entry_deps by @jerrykingxyz in #6730
- chore(deps): update julienkode/team-labeler-action action to v1.3.0 by @renovate in #6727
- chore: add test case for chunk graph by @SyMind in #6744
- align: webpack stats preset by @SyMind in #6708
- chore(infra): migrate to biome for import order sorting by @SoonIter in #6741
- refactor: harmony import dependency parser plugin by @ahabhgk in #6752
- test: export setup for plugin testing by @LingyuCoder in #6765
- chore: enable runtime condition webpack-test by @ahabhgk in #6764
- chore(infra): bump pnpm v9 by @chenjiahan in #6767
New Contributors
Full Changelog: v0.7.1...v0.7.2
v0.7.1
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.
Performance Improvements ⚡
Exciting New Features 🎉
- feat: support target in loader context by @LingyuCoder in #6640
- feat(css-extract): add defaultExport and namedExport support by @JSerFeng in #6657
- feat: support javascript.parser.exportPresence by @ahabhgk in #6660
- feat: lazy compilation ignore global entry by @JSerFeng in #6674
- feat: partial support compilation.additionalTreeRuntimeRequirements hook by @LingyuCoder in #6677
- feat: add
optimization.moduleIds: 'natural'
by @colinaaa in #6685 - feat: add
optimization.chunkIds: 'natural'
by @colinaaa in #6692 - feat: support
_module
of LoaderContext by @CPunisher in #6631
Bug Fixes 🐞
- fix: loader context target array by @LingyuCoder in #6642
- fix: css modules ident escape by @ahabhgk in #6653
- fix: should not lazy static context element dependency by @JSerFeng in #6655
- fix: replace
\0
to\u200b
by @LingyuCoder in #6656 - fix: apply js rule on module federation runtime by @ahabhgk in #6672
- fix: use numeric moduleId by @colinaaa in #6688
- fix: installedCssChunks unicode error on windows by @LingyuCoder in #6682
- fix: should insert semi after variable decl by @h-a-n-a in #6703
- fix: should error when matched alias not found by @ahabhgk in #6691
- fix: local class with charset by @ahabhgk in #6705
- fix: allow return outside functions in scripts by @h-a-n-a in #6706
- fix: should generate correct hash for assets by @LingyuCoder in #6713
- fix: lazy compilation should escape data uri and should not rely on dependency request by @JSerFeng in #6716
- fix: correct runtime condition expression by @ahabhgk in #6723
Document Updates 📖
- docs: announcing 0.7 by @9aoy in #6562
- docs: fix og image URL by @chenjiahan in #6635
- docs: improve lazy compilation document by @chenjiahan in #6638
- docs: change compatibility link by @ZLY201 in #6650
- docs: update esModule generator description & version by @leimonio in #6646
- docs: rewrite the webpack migration guide by @chenjiahan in #6669
- docs: display edit link in the footer by @chenjiahan in #6678
- docs: correct GitHub spelling by @bamboofive in #6680
- docs: exports presence by @ahabhgk in #6681
- docs: update support status of
BannerPlugin
by @colinaaa in #6693 - docs: update description for exportsOnly config by @leimonio in #6686
- docs: translate exportsOnly description by @chenjiahan in #6700
Other Changes
- chore: update swc-minifier by @JSerFeng in #6634
- chore: cleanup compilation struct by @ahabhgk in #6637
- chore(test): force colorize Jest output by @fi3ework in #6658
- test: use
toMatchFileSnapshot
by @colinaaa in #6663 - refactor: make_module_graph use immutable compilation by @jerrykingxyz in #6670
- chore: fix testDir by @JSerFeng in #6679
- refactor(cli): Reduce some additional judgments and branch conditions by @Simon-He95 in #5461
- ci: incremental patch version when release canary and nightly by @LingyuCoder in #6684
- refactor: regenerate module_graph after finish make by @jerrykingxyz in #6694
- refactor: cleanup JavaScript parsing by @h-a-n-a in #6583
- chore: ignore json named exports warnings for non-strict ESM by @ahabhgk in #6698
- refactor: cleanup JavaScript parsing 2 by @h-a-n-a in #6710
- refactor: cleanup source-map stub by @h-a-n-a in #6712
- test: add config type to css extract test cases by @LingyuCoder in #6695
New Contributors
- @ZLY201 made their first contribution in #6650
- @bamboofive made their first contribution in #6680
- @Simon-He95 made their first contribution in #5461
- @CPunisher made their first contribution in #6631
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
see Announcing Rspack v0.7 for more details
Notable Changes 🍭
- feat: lazy compilation by @JSerFeng in #5915
- refactor: analyze css dependencies with css-module-lexer by @ahabhgk in #6594
Breaking Changes 🛠
- breaking change: update swc by @JSerFeng in #6441
- breaking change: deprecate
Compiler
andMultiCompiler
API by @h-a-n-a in #6448 - breaking change: deprecate
Compilation
API by @h-a-n-a in #6505 - breaking change: remove old treeshaking by @JSerFeng in #6549
- breaking change: remove exportsConvention for css generator by @ahabhgk in #6555
- breaking change: remove new split chunks options by @ahabhgk in #6536
- breaking change: remove browserField by @ahabhgk in #6535
- breaking change: remove snapshot config by @jerrykingxyz in #6593
Performance Improvements ⚡
- perf: improve determine_export_assignments by @quininer in #6431
- perf(core): prebundle enhanced-resolve to reduce dependencies by @chenjiahan in #6585
- perf: change JS code target to ES2021 by @chenjiahan in #6628
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 ofBannerPlugin
by @colinaaa in #6623
Bug Fixes 🐞
- fix(rspack_plugin_mf): add chunk js matcher runtime to federation runtime by @ScriptedAlchemy in #6434
- fix: systemjs runtime extra semicolon by @LingyuCoder in #6492
- fix: make *_dependencies memory leak by @jerrykingxyz in #6498
- fix(minimizer): resolve error in minimizing esm asset file by @xc2 in #6521
- fix: make entry add include dependencies by @jerrykingxyz in #6527
- fix: make code-splitting deterministic by @JSerFeng in #6508
- fix: when comparing, cache group index should consider before modules by @JSerFeng in #6547
- fix: change the data URI type in ModuleFederationPlugin by @chenjiahan in #6567
- fix: module_executor keep make_failed_module by @jerrykingxyz in #6565
- fix: finish_module_task skip self reference connection by @jerrykingxyz in #6570
- fix: css-extract-plugin should keep file dependencies by @JSerFeng in #6576
- fix: support
"..."
in importFields by @ahabhgk in #6363 - fix: optional context dependency by @LingyuCoder in #6587
- fix: panic when update entry dependency by @jerrykingxyz in #6591
- fix: context module after resolve by @ahabhgk in #6595
- fix: fix module type export name by @JSerFeng in #6600
- fix: hmr should consider all imported members by @JSerFeng in #6612
- fix: provide plugin should support IIFE by @h-a-n-a in #6580
- fix: browserslist resolve is broken by prebundle by @chenjiahan in #6629
Document Updates 📖
- docs: check documentation coverage by @SyMind in #6468
- docs: update community plugin compatibility list by @9aoy in #6476
- docs(zh): update guide plugins by @chenjiahan in #6475
- docs: complete watchOptions configurations by @9aoy in #6479
- docs: remove inconsistent title by @SoonIter in #6484
- docs: improve compat table style by @chenjiahan in #6485
- docs: remove loader compatible page by @9aoy in #6493
- docs:
resolve plugin
not supported by @9aoy in #6495 - docs: add some links for awesome-rspack by @chenjiahan in #6497
- docs: internal plugins doc by @SyMind in #6483
- docs: add vanilla-extract supported by @9aoy in #6499
- docs: fix wrong heading by @inottn in #6507
- docs: add missing
module
option of swc minimizer plugin by @emosheeep in #6506 - docs: add webpack-aligned plugin link by @9aoy in #6511
- docs: make the cases correct by @chenjiahan in #6510
- docs: duplicated ignoreOrder option in CssExtractPlugin by @chenjiahan in #6516
- docs: move rspack dev guide to documentation site by @SoonIter in #6515
- docs: reorganize the structure of dev guide by @chenjiahan in #6518
- docs: update outdated links and contents in dev guide by @chenjiahan in #6520
- docs: rename Node.js API to JavaScript API by @chenjiahan in #6529
- docs: update documentation contribution by @hardfist in #5993
- docs: dev server docs by @SyMind in #6530
- docs: improve plugins docs by @SyMind in #6545
- docs: remove canary comment release in contribute guide by @LingyuCoder in #6566
- docs: new testing guide by @LingyuCoder in #6519
- 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
- docs: example for lazy compilation with custom global entry by @JSerFeng in #6609
- docs: list more plugins compatible status by @9aoy in #6615
- docs: recommend using sass-embedded for performance by @chenjiahan in #6617
- docs(react): add guide for React Compiler by @chenjiahan in #6619
Other Changes
- ci: remove openssl-legacy-provider flag by @SyMind in #6469
- refactor: make hooks remove make_param by @jerrykingxyz in #6489
- ci: release canary by dispatch by @LingyuCoder in #6502
- ci: contribution hook by @LingyuCoder in #6503
- chore: remove Boshen from the team by @Boshen in #6509
- chore(infra): update .nvmrc by @SoonIter in #6517
- chore(deps): update crates by @renovate in #6467
- test: add type of defaults cases by @LingyuCoder in #6524
- refactor: make
make_artifact
as raw data by @jerrykingxyz in #6526 - test: add type of hook cases by @LingyuCoder in #6531
- chore: add eslint for import order sorting by @h-a-n-a in #6539
- test: use @rspack/core as config type by @LingyuCoder in https://github.com/web-infra-dev/rspack/p...
v0.7.0-beta.2
What's Changed
Performance Improvements ⚡
- perf(core): prebundle enhanced-resolve to reduce dependencies by @chenjiahan in #6585
Exciting New Features 🎉
- feat: remove snapshot config by @jerrykingxyz in #6593
Bug Fixes 🐞
- fix: support
"..."
in importFields by @ahabhgk in #6363 - fix: optional context dependency by @LingyuCoder in #6587
- fix: panic when update entry dependency by @jerrykingxyz in #6591
- fix: context module after resolve by @ahabhgk in #6595
- fix: fix module type export name by @JSerFeng in #6600
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
- test: compiler type extends by @LingyuCoder in #6582
- refactor: create codegen dependencies by @ahabhgk in #6588
- release: 0.7.0-beta.1 by @9aoy in #6586
- test: fix hot snapshot recovery checker by @LingyuCoder in #6589
- test: check hot step match by @LingyuCoder in #6592
- revert: revert swc comment preserver (#6389) by @h-a-n-a in #6598
- chore: remove old treeshaking by @JSerFeng in #6549
- test: allow optional test options by @LingyuCoder in #6603
Full Changelog: v0.7.0-beta.1...v0.7.0-beta.2
v0.7.0-beta.1
What's Changed
Exciting New Features 🎉
Bug Fixes 🐞
- fix: change the data URI type in ModuleFederationPlugin by @chenjiahan in #6567
- fix: module_executor keep make_failed_module by @jerrykingxyz in #6565
- fix: finish_module_task skip self reference connection by @jerrykingxyz in #6570
- fix: css-extract-plugin should keep file dependencies by @JSerFeng in #6576
Document Updates 📖
- docs: remove canary comment release in contribute guide by @LingyuCoder in #6566
- docs: new testing guide by @LingyuCoder in #6519
- docs: list more webpack-contrib plugins compatible by @9aoy in #6578
Other Changes
- test: move normal case with rspack.config.js by @LingyuCoder in #6561
- test: snapshot directory should be snapshots by @LingyuCoder in #6564
- chore: remove exportsConvention for css generator by @ahabhgk in #6555
- test: fix dependencies of test tools by @LingyuCoder in #6575
- test: fix dependencies of test tools by @LingyuCoder in #6577
- test: pass expect in test env by @LingyuCoder in #6579
Full Changelog: v0.7.0-beta.0...v0.7.0-beta.1