Skip to content

Commit 864edbd

Browse files
stormslowlyCopilot9aoychenjiahanTimeless0911
authored
docs: 1.5.0 announcement blog (#11448)
* docs: 1.5.0 zh blog * Update website/docs/zh/blog/announcing-1-5.mdx Co-authored-by: Copilot <[email protected]> * Update website/docs/zh/blog/announcing-1-5.mdx Co-authored-by: Copilot <[email protected]> * chore: update project words * chore: lint happy * docs: rstest 0.2 * docs: update titles * chore: Rslib * docs: barrel files * docs: polish * chore: @rspack/browser * docs: update Rsbuild part * docs: link to Rsdoctor blog * chore: update @rspack/browser title * docs:polish bind introduce * docs: fix dead link * chore: rebase * chore: rebase * docs * docs: update rstest * docs: update TOC to reflect new section title Updated table of contents link from "自定义 Rspack binding" to "使用 Rust 扩展 Rspack" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * docs: polish virtual module plugin doc * docs: polish MF * docs: add rationale and use case details to custom binding section - Added explanation of JS-Rust communication overhead problem - Clarified that Custom Binding integrates with Rspack Rust Core - Added specific use cases: compilation.hooks.processAssets and heavy computation loaders - Updated terminology to be more precise (Rspack Rust Core, supports all Rspack JavaScript API) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * docs: polish optimization summary * docs: add misc updates * docs: toc * docs: typo * polish inline const and enhance ts * docs: polish and typo * docs: ajust paragraph for rspack browser * docs: polish * docs: polish * docs: polish * docs: polish * docs: watcher * docs: fix * docs: adjust MF doc * docs: seal * docs: polish * docs: rspress * docs: Rstest * docs: virtual module * docs: rust * docs: fix * docs: refine typescript support * docs: install size * docs * docs * docs: improve * docs: link to browser * docs: english blog * docs: add zack's blog link * docs: add 1.5 anouncement blog to index * docs: replace rspack/browser's link * docs: improve title * docs: polish * docs: add abstraction * docs: add stablize and deprecate * docs: polish * docs: polish * docs: fix * docs: polish * docs * docs: fix missing part * docs: fix * docs: fix * docs * docs: update --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: gaoyuan.1226 <[email protected]> Co-authored-by: neverland <[email protected]> Co-authored-by: Timeless0911 <[email protected]> Co-authored-by: CPunisher <[email protected]> Co-authored-by: Hana <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: ahabhgk <[email protected]>
1 parent 50451c4 commit 864edbd

File tree

9 files changed

+933
-6
lines changed

9 files changed

+933
-6
lines changed

website/docs/en/blog/_meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[
22
"index",
3-
"rspack-next-partner",
3+
"announcing-1-5",
44
"announcing-1-4",
5+
"rspack-next-partner",
56
"announcing-1-3",
67
"announcing-1-2",
78
"announcing-1-1",

website/docs/en/blog/announcing-1-5.mdx

Lines changed: 456 additions & 0 deletions
Large diffs are not rendered by default.

website/docs/en/blog/index.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ sidebar: false
77

88
Check here for the latest articles and release announcements about Rspack.
99

10+
## [Announcing Rspack 1.5](/blog/announcing-1-5)
11+
12+
> August 26, 2025
13+
14+
Rspack 1.5 has been released, introducing barrel file optimization and constant inlining optimization, also adding a built-in file system watcher, a virtual modules plugin, and a Rust extension mechanism,
15+
while dropping support for Node.js 16.
16+
1017
## [Announcing Rspack 1.4](/blog/announcing-1-4)
1118

1219
> June 26, 2025

website/docs/en/config/experiments.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,14 @@ export default {
859859
860860
Whether to skip building unused re-export modules in side-effect-free barrel files to optimize build performance.
861861
862+
```js title="rspack.config.mjs"
863+
export default {
864+
experiments: {
865+
lazyBarrel: true,
866+
},
867+
};
868+
```
869+
862870
A side-effect-free module is a module that meets one of the following conditions:
863871
864872
- The `package.json` file of its package declares `"sideEffects": false`, see [Side effects analysis](/guide/optimization/tree-shaking#side-effects-analysis)
@@ -880,6 +888,6 @@ A side-effect-free module is a module that meets one of the following conditions
880888
1. barrel file is not side effects free
881889
2. the star re-export is used
882890

883-
> For more details please checkout: [RFC: Lazy make for reexports in side effects free barrel file](https://github.com/web-infra-dev/rspack/discussions/11273)
884-
885891
:::
892+
893+
> For more details, see [RFC: Lazy make for reexports in side effects free barrel file](https://github.com/web-infra-dev/rspack/discussions/11273)

website/docs/zh/blog/_meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[
22
"index.mdx",
3-
"rspack-next-partner",
3+
"announcing-1-5",
44
"announcing-1-4",
5+
"rspack-next-partner",
56
"announcing-1-3",
67
"announcing-1-2",
78
"announcing-1-1",

website/docs/zh/blog/announcing-1-5.mdx

Lines changed: 436 additions & 0 deletions
Large diffs are not rendered by default.

website/docs/zh/blog/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ sidebar: false
77

88
在此查看有关 Rspack 的最新文章和发布公告。
99

10+
## [Rspack 1.5 发布公告](/blog/announcing-1-5)
11+
12+
> 2025 年 8 月 26 日
13+
14+
Rspack 1.5 版本发布,支持 Barrel 文件优化、常量内联优化,新增了内置文件系统监听器、虚拟模块插件和 Rust 扩展机制,并不再支持 Node 16。
15+
1016
## [Rspack 1.4 发布公告](/blog/announcing-1-4)
1117

1218
> 2025 年 6 月 26 日

website/docs/zh/config/experiments.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,14 @@ export default {
860860
861861
是否跳过无副作用的重导出模块(barrel file)中未被使用到的模块的构建,以优化构建性能。
862862
863+
```js title="rspack.config.mjs"
864+
export default {
865+
experiments: {
866+
lazyBarrel: true,
867+
},
868+
};
869+
```
870+
863871
无副作用模块是指满足以下条件之一的模块:
864872
865873
- 其所属包的 `package.json` 文件中声明了 `"sideEffects": false`,详见 [副作用分析](/guide/optimization/tree-shaking#副作用分析)
@@ -881,6 +889,6 @@ export default {
881889
1. 重导出模块(barrel file)不是无副作用的
882890
2. star re-export 被使用了
883891

884-
> 更多详细内容可查看:[RFC: Lazy make for reexports in side effects free barrel file](https://github.com/web-infra-dev/rspack/discussions/11273)
885-
886892
:::
893+
894+
> 更多详细内容可查看:[RFC: Lazy make for reexports in side effects free barrel file](https://github.com/web-infra-dev/rspack/discussions/11273)

website/project-words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ antd
1010
antfu
1111
arad
1212
arewerspackyet
13+
auvred
1314
ɑrespæk
1415
bazel
1516
behaviour
@@ -90,6 +91,7 @@ Llms
9091
magic-akari
9192
memfs
9293
mimalloc
94+
minifiers
9395
miro
9496
modulegeneratorassetdataurl
9597
modulegeneratorassetdataurlencoding
@@ -188,6 +190,8 @@ Terser
188190
tiktok
189191
tokio
190192
Towhk
193+
Trae
194+
tsgolint
191195
tuchg
192196
typeofs
193197
TypeScript

0 commit comments

Comments
 (0)