Skip to content

v2.35.1

Compare
Choose a tag to compare
@caohuilin caohuilin released this 21 Sep 07:24

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(swc): update binding to reduce package size by @JSerFeng in #4687
  • fix(builder): remove extra quote from generated CSS module types by @chenjiahan in #4639
  • fix(plugin): run async setup function in the correct order by @chenjiahan in #4681
  • fix(core): should not print extra logs when press Ctrl+C by @chenjiahan in #4661
  • fix(prod-server): error header key in other metaName by @GiveMe-A-Name in #4695
  • fix(builder): resolve-url-loader performance regression issue by @chenjiahan in #4659
  • fix(app-tools): failed to emit modern.config.json when distPath.root is absolute path by @chenjiahan in #4649
  • fix(prod-server): the server need use headersSent without use flushHeader by @GiveMe-A-Name in #4660
  • fix: ssr style link should not add scriptLoading attrributes by @GiveMe-A-Name in #4676
  • fix(builder): should not apply babel in rspack mode when tools.babel not modify config by @9aoy in #4648
  • fix(swc): fix transform core-js-pure incorrectly, allow using new decorator for js by @JSerFeng in #4680
  • fix(core): we should not pass it, if err is not instanceof Error. by @GiveMe-A-Name in #4647
  • fix: ssr loadable-component inject repeat css link tag by @GiveMe-A-Name in #4682
  • fix(libuild-plugin-node-polyfill): fix error resolve path by @targeral in #4688

Other Changes

  • chore(app-tools): add RouterPlugin name by @2heal1 in #4667
  • chore(builder): move duplicated prebundle packages to shared by @chenjiahan in #4666
  • chore(prod-server): remove duplicated logger module by @chenjiahan in #4650
  • chore(builder): apply chunkIds deterministic in Rspack mode production by @9aoy in #4654
  • chore(rspack): use DataURI module instead of rspack-plugin-virtual-module by @9aoy in #4644
  • refactor: split runtime utils into a seperate package by @xuchaobei in #4636

更新内容

新特性 🎉

  • feat: 升级 postcss-nesting v12,支持最新的 CSS nesting 语法 由 @chenjiahan 实现, 详情可查看 #4684
  • feat(app-tools): 让日志更容易阅读 由 @chenjiahan 实现, 详情可查看 #4671
  • feat: 支持通配路由配置文件 由 @yimingjfe 实现, 详情可查看 #4673
  • feat(builder): 对齐 webpack / Rspack 模式下的进度条样式 由 @chenjiahan 实现, 详情可查看 #4665

Bug 修复 🐞

  • fix(builder): 移除生成的 CSS module 类型中多余的引号 由 @chenjiahan 实现, 详情可查看 #4639
  • fix(plugin): 以正确的顺序执行异步的 setup 函数 由 @chenjiahan 实现, 详情可查看 #4681
  • fix(core): 修复按下 press Ctrl+C 时会打印多余日志的问题 由 @chenjiahan 实现, 详情可查看 #4661
  • fix(prod-server): 错误的 header key 在不同的 metaName 由 @GiveMe-A-Name 实现, 详情可查看 #4695
  • fix(builder): 修复 resolve-url-loader 导致的性能下降问题 由 @chenjiahan 实现, 详情可查看 #4659
  • fix(app-tools): 修复 distPath.root 为绝对路径时无法输出 modern.config.json 的问题 由 @chenjiahan 实现, 详情可查看 #4649
  • fix(prod-server): 没有 flushHeader 时 server 应该使用 headersSent 由 @GiveMe-A-Name 实现, 详情可查看 #4660
  • fix: ssr style link 标签 不应该添加 scriptLoading 属性 由 @GiveMe-A-Name 实现, 详情可查看 #4676
  • fix(builder): 在使用 rspack 构建时,如果 tools.babel 未实际修改配置时,则不使用 babel 由 @9aoy 实现, 详情可查看 #4648
  • fix(swc): 修复误转换core-js-pure,对js允许使用新 decorator 由 @JSerFeng 实现, 详情可查看 #4680
  • fix(core): 如果 err 不属于错误,我们不应该直接丢弃它 由 @GiveMe-A-Name 实现, 详情可查看 #4647
  • fix: ssr loadable-component 注入重复的 css link 标签 由 @GiveMe-A-Name 实现, 详情可查看 #4682
  • fix(libuild-plugin-node-polyfill): 修复错误的解析路径 由 @targeral 实现, 详情可查看 #4688

其他变更

  • chore(app-tools): 增加 RouterPlugin 名称 由 @2heal1 实现, 详情可查看 #4667
  • chore(builder): 合并重复的预打包 packages 到 shared 由 @chenjiahan 实现, 详情可查看 #4666
  • chore(prod-server): 移除重复的 logger 模块 由 @chenjiahan 实现, 详情可查看 #4650
  • chore(builder): 在 Rspack 模式下,生产环境开启 chunkIds 'deterministic' 由 @9aoy 实现, 详情可查看 #4654
  • chore(rspack): 使用 DataURI module 替代 rspack-plugin-virtual-module 由 @9aoy 实现, 详情可查看 #4644
  • refactor: runtime utils 单独拆分成一个包 由 @xuchaobei 实现, 详情可查看 #4636