Skip to content

v3.11.3

Choose a tag to compare

@caohuilin caohuilin released this 12 Nov 05:06

What's Changed

Bug Fixes 🐞

  • fix(app-tools): use a regular expression for watch ignores so node_modules and .git are ignored while generated files remain watched. by @stormslowly in #9136
  • fix(plugin-i18n): bundle the runtime's react-i18next import eagerly so it no longer adds an async chunk request before the first render. by @keepview in #9155
  • fix(plugin-i18n): register react-i18next once per i18n instance so server requests no longer grow its plugin list. by @keepview in #9138
  • fix(app-tools): keep watching a custom output.tempDir inside node_modules and keep the watch ignore in array form so Module Federation does not replace it. by @keepview in #9137

Other Changes ✨

  • Upgrade @rsbuild/core to 2.3.2, which includes Rspack 2.3.2. by @stormslowly in #9160

Rsbuild Update 📦

  • Upgrade @rsbuild/core from v2.3.1 to v2.3.2. See v2.3.2 for details.

更新内容

Bug 修复 🐞

  • fix(app-tools):将文件监听的忽略规则改为正则表达式,正确忽略 node_modules 和 .git,同时保留对生成文件的监听。 由 @stormslowly 实现, 详情可查看 #9136
  • fix(plugin-i18n): 运行时对 react-i18next 的动态引入改为打进当前 chunk,首屏渲染前不再多请求一个异步 chunk。 由 @keepview 实现, 详情可查看 #9155
  • fix(plugin-i18n): 每个 i18n 实例只注册一次 react-i18next,避免服务端每个请求都让插件列表变长。 由 @keepview 实现, 详情可查看 #9138
  • fix(app-tools): 自定义的 output.tempDir 在 node_modules 下时也保持监听,监听忽略规则保持数组形式,避免被 Module Federation 插件替换。 由 @keepview 实现, 详情可查看 #9137

其他变更 ✨

  • 将 @rsbuild/core 升级至 2.3.2,其中包含 Rspack 2.3.2。 由 @stormslowly 实现, 详情可查看 #9160

Rsbuild 更新 📦

  • 升级 @rsbuild/core 从 v2.3.1 到 v2.3.2,查看 v2.3.2 了解详情。