chore(deps): update dependency @rspack/dev-server to v0.6.5
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @rspack/dev-server (source) | devDependencies | minor | 0.5.0 -> 0.6.5 |
Release Notes
web-infra-dev/rspack (@rspack/dev-server)
v0.6.5
Hotfixes
- fix: template strings panic by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6473
- fix: should distinguish context for css modules local ident name by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6472
What's Changed
Performance Improvements ⚡
- perf(core): use prebundle to reduce dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6462
- perf: on-demand sourcemap generation by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6443
Bug Fixes 🐞
- fix(cli): load
@rspack/dev-serveron demand by @xc2 in https://github.com/web-infra-dev/rspack/pull/6370 - fix: remove --force flag to fix prebundle by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6465
- fix: add trace log for module executor by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6451
Document Updates 📖
- docs: update guide plugins by @leimonio in https://github.com/web-infra-dev/rspack/pull/6466
- docs(html-plugin): add comparison and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6471
Other Changes
- docs: fix ApiMeta component href by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/6461
- chore: add tag to docs pr and release note by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6464
New Contributors
- @leimonio made their first contribution in https://github.com/web-infra-dev/rspack/pull/6466
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.6.4...v0.6.5
v0.6.4
What's Changed
Performance Improvements ⚡
- perf(core): remove events dependency by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6329
- perf: optimize execute module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6415
Exciting New Features 🎉
- feat: support context module critical by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6331
- feat: support more methods for
errorsandwarningsinCompilationby @coder-xiaotian in https://github.com/web-infra-dev/rspack/pull/6300 - feat: diff context module sync mode by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6354
- feat: diagnostic with labels by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6001
- feat: support pathinfo option by @SyMind in https://github.com/web-infra-dev/rspack/pull/6326
- feat(copyRspackPlugin): support transform configuration by @9aoy in https://github.com/web-infra-dev/rspack/pull/6375
- feat: support dynamic entry by @SyMind in https://github.com/web-infra-dev/rspack/pull/6393
- feat: add message comment for block promise by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6403
- feat: export Chunk and Module types from
@rspack/coreby @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6421
Bug Fixes 🐞
- fix(create-rspack): remove useless sourceMap option in templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6319
- fix: incremental rebuild clean module_graph.block & dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6298
- fix: align get_nested_exports_info with webpack by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6351
- fix: default resolve roots by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6340
- fix: errors thrown in userland callbacks should not panic by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6082
- fix: process dependencies task remove resolve_options by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6377
- fix: swc minimizer extracted comments should be stable by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6380
- fix: minify comments extract by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6386
- fix: runtimeChunk should control all entries' runtime by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6388
- fix(mf): remove empty chunk mapping by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6394
- fix(config): snapshot.module accept
{ timestamp: true}by @SoonIter in https://github.com/web-infra-dev/rspack/pull/6387 - fix: swc parser should always preserve comments by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6389
- fix: wrong module source by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6396
- fix(config): support snapshot config {timestamp: true} and {hash: true} by @SoonIter in https://github.com/web-infra-dev/rspack/pull/6399
- fix: handle unhandled scheme by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6404
- fix: allow all characters for webpackChunkName by @xc2 in https://github.com/web-infra-dev/rspack/pull/6411
- fix: remove outdated TODOs in runtime code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6409
- fix: comment preserver should be placed prior to inline globals by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6423
- fix(rspack_loader_runner): char_boundary panic when debug content by @SoonIter in https://github.com/web-infra-dev/rspack/pull/6412
- fix(mf): webpack_init_sharing with empty config by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6450
- fix: consistent md4 hash in localNameIdent by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6444
Document Updates 📖
- docs: enable cleanUrls for website by @chenjiahan in #6330
- docs: use meta.json to generate nav and sidebar configs by @chenjiahan in #6345
- docs: improve homepage style by @chenjiahan in #6365
- docs: update react doc by @h-a-n-a in #6371
- docs: sort about docs to make them more clear by @chenjiahan in #6378
- docs: fix readme.md credits links by @LingyuCoder in #6383
- docs: update outdated FAQs by @chenjiahan in #6384
- docs: improve team member list styles by @chenjiahan in #6385
- docs: css modules guides by @SyMind in #6397
- docs: add v1.0 release plan to roadmap by @chenjiahan in #6405
- docs: fix banner link by @Sunny-117 in #6401
- docs: split plugins api by @SyMind in #6400
- docs: split loader docs by @SyMind in #6442
- docs: add blogs overview page by @chenjiahan in #6446
- docs: split module methods docs by @SyMind in #6447
- docs: fix modules docs crash by @SyMind in #6449
Other Changes
- chore(deps): bump express from 4.18.1 to 4.19.2 in /packages/rspack-dev-server by @dependabot in https://github.com/web-infra-dev/rspack/pull/6316
- refactor: import context dependency param evaluate by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6321
- chore: bump oxc_resolver to v1.6.7 by @Boshen in https://github.com/web-infra-dev/rspack/pull/6320
- chore: do NOT trigger lark notification for issues from project member by @yuyutaotao in https://github.com/web-infra-dev/rspack/pull/6327
- chore: Use team.yml file to filter team member when sending notification by @yuyutaotao in https://github.com/web-infra-dev/rspack/pull/6333
- refactor: remove is_new_treeshaking in module_graph by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6334
- chore: add hot step runtime test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6318
- chore: migrate config test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6335
- chore: migrate config test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6338
- chore: migrate normal cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6336
- chore: remove case sensitive case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6342
- chore: remove case sensitive case of webpack-test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6343
- chore: migrate test hot by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6341
- chore: move config case of context module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6346
- chore: migrate test diagnostic by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6348
- chore: remove repetitive words by @findmyhappy in https://github.com/web-infra-dev/rspack/pull/6347
- chore: migrate stats cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6349
- test: add hook cases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6241
- chore(api-extractor): exclude warning and add forgotten exports to report by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6352
- chore: migrate compat case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6353
- chore(deps): bump webpack-dev-middleware from 6.0.2 to 6.1.2 in /packages/rspack-dev-server by @dependabot in https://github.com/web-infra-dev/rspack/pull/6288
- chore: migrate css extract test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6360
- chore: move resolve roots test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6361
- chore: migrate copy plugin cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6362
- refactor: split cutout and repair step in make by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6364
- chore: modify cwd of test cases and refactor some case creator by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6367
- chore: migrate test remain by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6369
- chore: jsdom windows by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6379
- refactor: diff context module lazy once mode by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6398
- chore: move rspack_core macro test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6395
- refactor: weak, async-weak, eager mode context module codegen diff by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6406
- chore: test directory by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6408
- chore(deps): fix renovate configuration by @xc2 in https://github.com/web-infra-dev/rspack/pull/6410
- chore: add type to file level cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6416
- chore: add type to webpack.config.js cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6417
- chore: hook case creator by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6419
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/6424
- chore: take down diff&canary release workflow temporarily by @hardfist in https://github.com/web-infra-dev/rspack/pull/6455
- chore: add x test plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6459
- chore: remove tokens by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6460
New Contributors
- @dependabot made their first contribution in https://github.com/web-infra-dev/rspack/pull/6316
- @findmyhappy made their first contribution in https://github.com/web-infra-dev/rspack/pull/6347
- @coder-xiaotian made their first contribution in https://github.com/web-infra-dev/rspack/pull/6300
- @Sunny-117 made their first contribution in https://github.com/web-infra-dev/rspack/pull/6401
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.6.3...v0.6.4
v0.6.3
What's Changed
Highlights
Provide type declaration for builtin:swc-loader
@rspack/core now provides the type declaration for builtin:swc-loader, which can help you to configure the swc-loader correctly:
// rspack.config.js
module.exports = {
module: {
rules: [
{
test: /\.js$/,
use: {
loader: 'builtin:swc-loader',
+ /** @​type {import('@​rspack/core').SwcLoaderOptions} */
options: {
// some options
},
},
},
],
},
};
Updated Plugin Documentation for Rspack
We've revamped the plugin documentation for Rspack to enhance clarity and improve your experience.
Please visit: https://www.rspack.dev/plugins
Exciting New Features 🎉
- feat: split lint-website ci by @SyMind in https://github.com/web-infra-dev/rspack/pull/6260
- feat: context module lazy mode codegen diff by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6273
- feat(rspack_mf_plugin): federation runtime runtime module by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/6275
- feat: provide type declaration for builtin:swc-loader by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6314
Bug Fixes 🐞
- fix: stats in multiple runner by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6264
- fix: JsPathData type by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6265
- fix: add sourcemap file to chunk.auxiliaryFiles by @hulin32 in https://github.com/web-infra-dev/rspack/pull/6125
- fix: export types of
ModuleFilenameHelpersandTemplateby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6279 - fix: performance degradation for auxiliary files by @SyMind in https://github.com/web-infra-dev/rspack/pull/6278
- fix: avoid invoking
toJSONmethod ofadditionalDataby @NotEvenANeko in https://github.com/web-infra-dev/rspack/pull/5904 - fix: progress bar draw interval by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6291
- fix(binding): fix type error of binding.d.ts; add test for binding.d.ts by @xc2 in https://github.com/web-infra-dev/rspack/pull/6274
- fix: should minimize asset with query by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6301
- fix: compilation.import_module use immutable ref by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6311
- fix: swc-loader options.sourceMaps not work by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6317
Other Changes
- docs: use PackageManagerTabs to display install commands by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6263
- docs: update DefinePlugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6259
- docs: update ProvidePlugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6261
- docs: update SourceMapDevToolPlugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6262
- docs: table shows the support status of built-in plugins by @SyMind in https://github.com/web-infra-dev/rspack/pull/6254
- docs: EnvironmentPlugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6266
- chore: stable hot step test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6267
- docs: improve style of API meta tags by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6269
- docs: LimitChunkCountPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/6270
- chore: remove hot document by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6271
- chore: use lint-staged in website by @SyMind in https://github.com/web-infra-dev/rspack/pull/6277
- docs: update scaffolding part of quick start document by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6280
- refactor: split task in make stage by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6258
- docs: bump Rspress v1.18.2 and remove dividers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6283
- docs: update plugin support status table by @SyMind in https://github.com/web-infra-dev/rspack/pull/6285
- docs(website): consolidate guide / languages and Frameworks by @Boshen in https://github.com/web-infra-dev/rspack/pull/6282
- docs: hmr plugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6284
- docs: NormalModuleReplacementPlugin by @xc2 in https://github.com/web-infra-dev/rspack/pull/6287
- chore: add jsdom web runner by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6286
- docs: fix the online codesandbox example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6294
- docs: fix all broken plugin links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6296
- docs: make PluginSupportStatusTable responsive by @xc2 in https://github.com/web-infra-dev/rspack/pull/6302
- docs: update minification guides by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6297
- chore: fix snapshot of testng by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6309
- chore: Retrieve ecosystem CI results without displaying in main CI status by @SyMind in https://github.com/web-infra-dev/rspack/pull/6308
- chore: Add lark notification for new Issue and PR by @yuyutaotao in https://github.com/web-infra-dev/rspack/pull/6313
- refactor: make trait
Module'staticby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6292 - docs: bump Rspress to 1.18.3 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/6322
New Contributors
- @hulin32 made their first contribution in https://github.com/web-infra-dev/rspack/pull/6125
- @Timeless0911 made their first contribution in https://github.com/web-infra-dev/rspack/pull/6322
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.6.2...v0.6.3
v0.6.2
What's Changed
Performance Improvements ⚡
- perf: bitwise operation in code splitter by @SyMind in https://github.com/web-infra-dev/rspack/pull/6167
- perf: use set as queue for flag_dependency_usage_plugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6203
- perf: remove bad par_iter by @SyMind in https://github.com/web-infra-dev/rspack/pull/6199
Exciting New Features 🎉
- feat: support Internal IgnorePlugin by @9aoy in https://github.com/web-infra-dev/rspack/pull/6166
- feat: support function filename and chunkFilename by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6216
- feat: support css module :export by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6223
- feat: support checkResource option in IgnorePlugin by @9aoy in https://github.com/web-infra-dev/rspack/pull/6249
- feat: add
emitoption for asset modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6255
Bug Fixes 🐞
- fix: should parse patterns in class by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6198
- fix: favicon path of HtmlRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6200
- fix(mf-1): conflict module map in multi container by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6176
- fix: align alias with webpack by @ilteoood in https://github.com/web-infra-dev/rspack/pull/5500
- fix: builtin swc loader input sourcemap by @2239559319 in https://github.com/web-infra-dev/rspack/pull/5492
- fix: correct active state when side effects is disabled by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6210
- fix: swc plugins not being able to spawn threads by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6229
- fix: dependencies span should rely on final ast by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6252
- fix: json empty array panic by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6253
- fix: napi value convert error in css-loader by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6250
- fix(core): update module federation runtime by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/6247
Other Changes
- docs: fix css-extract-rspack-plugin typos by @edbzn in https://github.com/web-infra-dev/rspack/pull/6184
- ci: doc workflow check skipable by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6191
- ci: fix doc reuseable workflow by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6195
- docs: fix type in guide for upgrading to 0.6 by @mavridiSS in https://github.com/web-infra-dev/rspack/pull/6194
- refactor: rest compilation hooks by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6196
- refactor: remove old hook trait by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6205
- docs: modify treeshaking sideEffects docs and remove removeAvaModules config by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6204
- chore(website): enable typos check by @Boshen in https://github.com/web-infra-dev/rspack/pull/6206
- docs: add re-exports optimization diagram by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6207
- refactor: module executor independent of the build process by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6202
- docs: correct import path in treeshaking demo by @hai-x in https://github.com/web-infra-dev/rspack/pull/6224
- docs: add IgnorePlugin introduction by @9aoy in https://github.com/web-infra-dev/rspack/pull/6220
- chore(docs): improve benchmark appearance by @Boshen in https://github.com/web-infra-dev/rspack/pull/6228
- docs(website): fix broken right nav in join-us page by @Boshen in https://github.com/web-infra-dev/rspack/pull/6232
- docs(website): move sections around in guide by @Boshen in https://github.com/web-infra-dev/rspack/pull/6231
- docs: prettier by @SyMind in https://github.com/web-infra-dev/rspack/pull/6234
- docs(website): switch images to cdn urls and remove all image binaries by @Boshen in https://github.com/web-infra-dev/rspack/pull/6235
- docs: add image assets guide to website README by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6237
- docs: improve website ci by @SyMind in https://github.com/web-infra-dev/rspack/pull/6201
- docs(webiste): tweak the recruiting message; balance parenthesis on a wording by @Boshen in https://github.com/web-infra-dev/rspack/pull/6175
- docs(website): change "get started" button to primary and "intro" button to secondary by @Boshen in https://github.com/web-infra-dev/rspack/pull/6177
- chore: update CODEOWNERS by @Boshen in https://github.com/web-infra-dev/rspack/pull/6238
- chore: remove crates/cargo-rst which is not used anymore by @Boshen in https://github.com/web-infra-dev/rspack/pull/6239
- chore: hot step test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6182
- chore: introduce api-extractor by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6208
- chore: update api snapshot by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6251
- chore: update package manager of webpack-test README by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6257
New Contributors
- @edbzn made their first contribution in https://github.com/web-infra-dev/rspack/pull/6184
- @mavridiSS made their first contribution in https://github.com/web-infra-dev/rspack/pull/6194
- @ilteoood made their first contribution in https://github.com/web-infra-dev/rspack/pull/5500
- @2239559319 made their first contribution in https://github.com/web-infra-dev/rspack/pull/5492
- @hai-x made their first contribution in https://github.com/web-infra-dev/rspack/pull/6224
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.6.1...v0.6.2
v0.6.1
What's Changed
Highlights
Fixed a case where locally defined variables in class being falsely transformed
class Example {
constructor(global = false) {
this.global = global
}
}
global should be kept as-is with node.global = true if target includes 'web'.
Exciting New Features 🎉
- feat: support stats of prefetch and preload by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6151
Bug Fixes 🐞
- fix: wrong asset info after updateAsset by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6156
- fix(ci): compilation file prettier error by @9aoy in https://github.com/web-infra-dev/rspack/pull/6170
- fix: should keep locally defined variables in class by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6183
Other Changes
- docs(website): enable oxlint by @Boshen in https://github.com/web-infra-dev/rspack/pull/6159
- docs: improve plugin docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/6088
- chore: add js and toml format check on ci by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6157
- docs: fix devServer typo by @dios-david in https://github.com/web-infra-dev/rspack/pull/6162
- chore(deps): update swc by @renovate in https://github.com/web-infra-dev/rspack/pull/6163
- refactor: render manifest and hash hook by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6154
- chore: use workspace rspack version in create-rspack template by @9aoy in https://github.com/web-infra-dev/rspack/pull/6169
- chore(deps): update npm dev dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/5863
- docs(website): fix casing for TypeScript, NestJS and ECMAScript by @Boshen in https://github.com/web-infra-dev/rspack/pull/6171
- docs(website): remove contributors list from home page by @Boshen in https://github.com/web-infra-dev/rspack/pull/6174
- chore: lock corepack by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6180
- docs(webiste): change the hiring link in announcement to /misc/join-us by @Boshen in https://github.com/web-infra-dev/rspack/pull/6179
- chore: use prettier3 to format code by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6181
- docs: announcing 0.6 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6165
- chore: update rspack-sources by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/6188
New Contributors
- @dios-david made their first contribution in https://github.com/web-infra-dev/rspack/pull/6162
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.6.0...v0.6.1
v0.6.0
Rspack 0.6.0 is out!
Read the announcement blog post: Announcing Rspack 0.6.
Overview
- Support builtin mini-css-extract-plugin
- Enable new tree shaking by default
- Align experiments css options with webpack and remove builtins css
- Remove
compiler.buildandcompiler.rebuild - Update swc to 0.90.x
What's Changed
Breaking Changes 🛠
- chore: update swc by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6009
- chore: remove
compiler.buildandcompiler.rebuildby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6066 - chore: 🤖 enable new tree shaking by default by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6145
- refactor: align experiments css options and remove builtins css by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6086
Performance Improvements ⚡
- perf: use mimalloc for musl target by @xc2 in https://github.com/web-infra-dev/rspack/pull/6071
- perf(core): Use unicase for compare_ids by @quininer in https://github.com/web-infra-dev/rspack/pull/6085
- perf: ⚡️ reduce alloc in ModuleGraphAccessor impl by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6136
- perf: module group get_key by @SyMind in https://github.com/web-infra-dev/rspack/pull/6142
- perf: integrate chunks by @SyMind in https://github.com/web-infra-dev/rspack/pull/6153
Exciting New Features 🎉
- feat: mini-css-extract-plugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5072
- feat: enable incremental_rebuild when use new treeshaking by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/6029
- feat: export MultiStats class by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/6058
- feat(rspack): NormalModuleReplacementPlugin by @xc2 in https://github.com/web-infra-dev/rspack/pull/6028
- feat: support more intuitive CSS diagnostic by @luhc228 in https://github.com/web-infra-dev/rspack/pull/6040
- feat: support entry.dependOn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6069
- feat: support compilation.hooks.afterSeal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6090
- feat: support css default export and named export at same time by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6107
- feat(swc_plugin_import): legacy kebab/snake case for legacy babel-plugin-import compatibility by @xc2 in https://github.com/web-infra-dev/rspack/pull/6070
- feat: support dependOn in chunk split by @SyMind in https://github.com/web-infra-dev/rspack/pull/6109
Bug Fixes 🐞
- fix: assets filename maybe not match a chunk by @SyMind in https://github.com/web-infra-dev/rspack/pull/6026
- fix:
CompilerandCompilationinLoaderContextof a childCompiler should be updated by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6034 - fix: disable import stmt opt in old tree shaking by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6037
- fix: do not concatenate css module by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6039
- fix: emit asset file with buffer can use in asset emitted hook correctly by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6067
- fix: handle error of
cacheGroup.name()by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6081 - fix: ci typo error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6092
- fix: should add use-credentials into css-loading runtime correctly by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/6097
- fix: 🐛 add concatenation bailout reason by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6110
- fix: merge with global parser generator options by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6135
- fix: 🐛 use set queue instead of
VecDeqby @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/6134 - fix: nested
unknown || truthy = unknown truthyeval logical or by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/6139 - fix:
Rule.enforceshould be applied touseof function type by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/6112
Documentation Updates 📚
- docs: update some rspack legacy descriptions by @9aoy in https://github.com/web-infra-dev/rspack/pull/6030
- docs: add ignoreWarnings option by @9aoy in #6032
- docs: integrate Rsbuild plugins for website by @chenjiahan in #6043
- docs: remove deprecated html and node-polyfill plugin by @chenjiahan in #6044
- docs: improve api introduction by @SyMind in #6041
- docs: add rsfamily-design-resources by @chenjiahan in #6053
- docs: node api by @SyMind in #6052
- docs(storybook): update to use @modern-js/storybook by @fi3ework in #6123
- docs: use Rspress official plugin for RSS supports by @chenjiahan in #6126
- docs: add document for CssExtractRspackPlugin by @JSerFeng in #6147
- docs: enable new tree shaking by default by @LingyuCoder in #6158
Other Changes
- test(rspack): add test for ExportDefaultDecleration case with ProvidePlugin by @xc2 in #6024
- refactor: normal module factory after resolve hook by @ahabhgk in #6023
- refactor: split module_graph by @jerrykingxyz in #6004
- refactor: context module factory before resolve hook by @ahabhgk in #6027
- chore(deps): update crates by [@ren
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| medusa-example-dsl | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 10:09pm |
| medusa-example-home | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 10:09pm |
| medusa-example-nav | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 10:09pm |
| medusa-example-search | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 10:09pm |
| medusa-example-utils | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 10:09pm |
Workflow status is failure ❌ Unfortunately test report wasn't generated, it can be if no workspaces changed. Please check the workflow run below. Link to GitHub workflow: Github Workflow Link
Workflow status is failure ❌ Unfortunately test report wasn't generated, it can be if no workspaces changed. Please check the workflow run below. Link to GitHub workflow: Github Workflow Link
Workflow status is failure ❌ Unfortunately test report wasn't generated, it can be if no workspaces changed. Please check the workflow run below. Link to GitHub workflow: Github Workflow Link
Workflow status is failure ❌ Unfortunately test report wasn't generated, it can be if no workspaces changed. Please check the workflow run below. Link to GitHub workflow: Github Workflow Link