v2.60.4
What's Changed
New Features 🎉
- feat: add
html.outputStructure
and doc by @spencerHT in #6375 - feat(server): add catch logic for ssrCache container operation by @targeral in #6390
- feat: optimize generator download by @caohuilin in #6377
- feat: config/public directory ignore .gitkeep file by @caohuilin in #6394
Bug Fixes 🐞
- fix(bff): should register esbuild for js projects by @yimingjfe in #6379
- fix: remove node_modules in watcher ignored list by @zllkjc in #6381
- fix(bff): zodError causing 500 error due to inconsistent zod versions by @keepview in #6384
- fix:
output.sourcemap
not work by @SoonIter in #6342 - fix: remove ssg stdout listener, only stderr by @zllkjc in #6387
- fix(server): should get context from unstable middleware correctly by @yimingjfe in #6391
- fix: upgrade react-router & log in debug mode only by @yimingjfe in #6388
- fix: should include files other than tsconfg.json by @caohuilin in #6343
- fix(ssr): we match all asset directly, it can be more faster by @GiveMe-A-Name in #6386
更新内容
新特性 🎉
- feat: 展示
html.outputStructure
并添加文档 由 @spencerHT 实现, 详情可查看 #6375 - feat(server): 为 ssr 缓存容器操作添加错误捕获逻辑 由 @targeral 实现, 详情可查看 #6390
- feat: 优化生成器下载 由 @caohuilin 实现, 详情可查看 #6377
- feat: config/public 目录忽略 .gitkeep 文件 由 @caohuilin 实现, 详情可查看 #6394
Bug 修复 🐞
- fix(bff): 应该为 js 项目注册 esbuild 由 @yimingjfe 实现, 详情可查看 #6379
- fix: 移除 watcher 忽略列表中的 node_modules 由 @zllkjc 实现, 详情可查看 #6381
- fix(bff): 修复由于 zod 版本不一致导致的 zodError 触发的 500 错误 由 @keepview 实现, 详情可查看 #6384
- fix:
output.sourcemap
不生效 由 @SoonIter 实现, 详情可查看 #6342 - fix: 移除 ssg 的 stdout 监听,只保留 stderr 由 @zllkjc 实现, 详情可查看 #6387
- fix(server): 应该正确地获取到 loaderContext 由 @yimingjfe 实现, 详情可查看 #6391
- fix: 更新 react-router 到最新版 & 只在 debug 模式下打印日志 由 @yimingjfe 实现, 详情可查看 #6388
- fix: 应该包含除了 tsconfig.json 以外的文件 由 @caohuilin 实现, 详情可查看 #6343
- fix(ssr): 我们一次性匹配出所有资源,这样性能更快 由 @GiveMe-A-Name 实现, 详情可查看 #6386