What's Changed
Performance Improvements ⚡
- perf: skip UTF-8 validation if JS loader returned a string by @h-a-n-a in #10348
- perf: scan scope idents parallel for concate module by @JSerFeng in #10345
Exciting New Features 🎉
- feat: JS API can access buildInfo.assets by @SyMind in #10326
- feat(compiler-builder): support
browserslist
as the target by @h-a-n-a in #10334 - feat: support full options for EvalSourceMapDevToolPlugin by @SyMind in #10363
- feat: CssChunkingPlugin by @SyMind in #10235
- feat: compilation.errors support index access by @SyMind in #10385
- feat(core): add tracing for javascript plugin by @hardfist in #10390
Bug Fixes 🐞
- fix(core): fix relative http import failed by @hardfist in #10314
- fix(wasm): avoid passing fd across threads by @CPunisher in #10332
- fix: compile time evaluation of
__filename
by @LingyuCoder in #10331 - fix(wasm): copy data to
ArrayBuffer
when decodingSharedArrayBuffer
by @CPunisher in #10336 - fix(core): remove filename fn in sync js api by @hardfist in #10341
- fix: AMD parser plugin replaced define plugin values mutiple times by @LingyuCoder in #10349
- fix: improve inner graph assignment analysis by @LingyuCoder in #10360
- fix: inner graph block scopes by @LingyuCoder in #10371
- fix: dynamic import json with default name by @LingyuCoder in #10373
- fix: the modules order cross render manifest and content hash should be equal by @SyMind in #10359
- fix(core): make build-http compatible with node16 by @hardfist in #10374
- fix(core): fix release panic problem by @hardfist in #10376
- fix: use name instead of identifier in CircularDependencyRspackPlugin by @colinaaa in #10379
- fix: emit warning when optional dynamic import missing by @LingyuCoder in #10377
- fix: chunk format runtime with entry starts with slash by @LingyuCoder in #10386
- fix: css local ident name with empty unique name by @LingyuCoder in #10388
- fix: assets imported by css should not generate js modules by @LingyuCoder in #10391
- fix: missing destucturing properties while getting referenced exports by @LingyuCoder in #10401
- fix: missing module header info of css modules by @LingyuCoder in #10407
- fix: normalize CopyRspackPlugins's transform function in js side by @CPunisher in #10398
- fix(cli): upgrade @rspack/dev-server by @hardfist in #10420
- fix: CopyRspackPlugin's transformer function should handle Buffer input by @CPunisher in #10416
Document Updates 📖
- docs: add tree shaking prerequisites and pure annotation by @chenjiahan in #10338
- docs: fix render of note title and file name by @irinaklimova in #10354
- docs: fix typos in zh/config/module.mdx by @thinkasany in #10370
- docs: clarify the parallelCodeSplitting and removeAvailableModules options by @hardfist in #10368
- docs: add examples for Rule conditions by @chenjiahan in #10366
- docs: add Rstest to homepage by @chenjiahan in #10381
- docs: remove duplicate undefined types by @9aoy in #10395
- docs: simplify the description of optimization.sideEffects by @JSerFeng in #10389
- docs(rspress): upgrade to Rspress v2.0.0-beta.6 by @SoonIter in #10387
- docs: update builtin-swc-loader.mdx, remove unused useBuiltins by @KEH3 in #10410
- docs: invite @quininer to Rspack core team by @chenjiahan in #10411
- docs: update docs, remove unused useBuiltins by @KEH3 in #10414
- docs: introducing Compilation and Compiler objects by @chenjiahan in #10418
Other Changes
- chore: remove unnecessary asset info setting by @JSerFeng in #10230
- chore: govern webpack test cases by @LingyuCoder in #10337
- chore(deps): update patch npm dependencies by @renovate in #10353
- refactor: use OwnedOrRef instead of #[cacheable(as=...)] by @jerrykingxyz in #10346
- chore(deps): update dependency templater to v1.1.0 by @renovate in #10358
- chore(deps): update dependency @rslib/core to v0.7.0 by @renovate in #10357
- chore: add complexity tracing for ensure_chunk_conditions plugin by @hardfist in #10362
- ci: optimize network config for docker by @deanjingshui in #10344
- chore(deps): Update some Rust dependencies by @quininer in #10384
- test: fix snapshot of main branch by @LingyuCoder in #10392
- chore(deps): update github-actions by @renovate in #10352
- test: upload build http lock files in example by @LingyuCoder in #10394
- chore: run duplicate version check in ci by @hardfist in #10399
- chore: CI build wasm in runner directly by @stormslowly in #10397
- chore: 🔧 prettier yaml files by @stormslowly in #10400
- chore: let prettier ignore pnpm lock file by @chenjiahan in #10413
New Contributors
- @irinaklimova made their first contribution in #10354
- @thinkasany made their first contribution in #10370
- @deanjingshui made their first contribution in #10344
- @KEH3 made their first contribution in #10410
Full Changelog: v1.3.10...v1.3.11