Skip to content

v2.58.3

Compare
Choose a tag to compare
@caohuilin caohuilin released this 29 Aug 03:47

What's Changed

Bug Fixes 🐞

  • fix: should remove extensions for entry file in real entry file, cause developer may use [.server] for ssr bundle entry by @zllkjc in #6116
  • fix: custom server hook context request.path should carray query str by @GiveMe-A-Name in #6127
  • fix: remove ssr.preload config by @GiveMe-A-Name in #6062
  • fix(data-loader): compatible with asyncEntry for data loader by @yimingjfe in #6131
  • fix: modern-entry build rules not use array by @caohuilin in #6120
  • fix(server): if res was piped, res should be treated as sent by @yimingjfe in #6123
  • fix(runtime): status code should be controlled by data loader by @yimingjfe in #6122
  • fix: filter entries by ssr or ssg should not apply the sigle entry by @GiveMe-A-Name in #6134

Other Changes

  • chore: add internal directory to server plugin context by @zllkjc in #6108

更新内容

Bug 修复 🐞

  • fix: 需要移除入口文件的扩展名,因为开发者可能使用 [.server] 作为 ssr 产物的入口文件 由 @zllkjc 实现, 详情可查看 #6116
  • fix: custom server hook context request.path 应该带上 query 字符串 由 @GiveMe-A-Name 实现, 详情可查看 #6127
  • fix: 移除 ssr.preload 配置 由 @GiveMe-A-Name 实现, 详情可查看 #6062
  • fix(data-loader): data loader 的导出兼容 asyncEntry 由 @yimingjfe 实现, 详情可查看 #6131
  • fix: modern-entry 构建规则不使用数组 由 @caohuilin 实现, 详情可查看 #6120
  • fix(server): 如果响应被 pipe,响应应该被当作已经发送 由 @yimingjfe 实现, 详情可查看 #6123
  • fix(runtime): 状态码应该能被 data loader 控制 由 @yimingjfe 实现, 详情可查看 #6122
  • fix: 筛选入口不应该应用于单入口情况 由 @GiveMe-A-Name 实现, 详情可查看 #6134

其他变更

  • chore: 在 server 插件上下文中增加 internal 目录 由 @zllkjc 实现, 详情可查看 #6108