Skip to content

v2.49.4

Compare
Choose a tag to compare
@caohuilin caohuilin released this 16 May 02:21

What's Changed

Bug Fixes 🐞

  • fix: useLoader should run normally in csr when webpack build by @GiveMe-A-Name in #5724
  • fix(server-core): server static can't handle page route correctly by @GiveMe-A-Name in #5726
  • fix(server-core): support custom server middleware redirect, and support render function merge headers from HonoCtx.#header by @GiveMe-A-Name in #5739
  • fix: parse props to custom bootstrap by @nyqykk in #5731
  • fix: Compatible with http-compression, make sure res.end is called before executing the subsequent code by @yimingjfe in #5735
  • fix: public middleware should not filter api route & support https by @yimingjfe in #5730

Other Changes

  • chore(@modern-js/storybook-builder): downgrade webpack-dev-middleware to 6.1.3 for support node 16 by @KyrieLii in #5727

更新内容

Bug 修复 🐞

  • fix: useLoader 当使用 webpack 构建是,在 csr 下应该需要正常跑 由 @GiveMe-A-Name 实现, 详情可查看 #5724
  • fix(server-core): server static 无法正确的处理页面路由 由 @GiveMe-A-Name 实现, 详情可查看 #5726
  • fix(server-core): 支持 custom server middleware 重定向, 并且支持 render 函数合并 HonoCtx.#header 由 @GiveMe-A-Name 实现, 详情可查看 #5739
  • fix: 兼容 http-compression,确保执行后续代码前,res.end 先被调用 由 @yimingjfe 实现, 详情可查看 #5735
  • fix: public middleware 不应该过滤 api 路由 & 支持 https 由 @yimingjfe 实现, 详情可查看 #5730

其他变更

  • chore(@modern-js/storybook-builder): 降级 webpack-dev-middleware 到 6.1.3 以支持 node 16 由 @KyrieLii 实现, 详情可查看 #5727