Releases: web-infra-dev/modern.js
Releases · web-infra-dev/modern.js
v2.67.11
v2.67.10
v2.67.9
v2.67.8
What's Changed
Bug Fixes 🐞
- fix: fix the issue that the build will not be interrupted when an error occurs in SSG by @zllkjc in #7196
- fix: ensure that each environment has its own babel options by @await-ovo in #7209
- fix(deploy): avoid issues caused by the module-sync field by @yimingjfe in #7206
更新内容
Bug 修复 🐞
- fix: 修复 SSG 报错时没有中断构建的问题 由 @zllkjc 实现, 详情可查看 #7196
- fix: 确保不同环境都有自己独立的 babel 配置对象 由 @await-ovo 实现, 详情可查看 #7209
- fix(deploy): 避免因为 module-sync 字段导致的问题 由 @yimingjfe 实现, 详情可查看 #7206
v2.67.7
v2.67.6
What's Changed
New Features 🎉
- feat: add middlewares and renderMiddlewares to server plugin context by @zllkjc in #7140
- feat: migrate to Hono bff by @keepview in #7125
Bug Fixes 🐞
- fix(server): static middleware should ignore domain when detect whether the request is for static asset by @zllkjc in #7155
- fix: proxy may not exist when run in low browser by @caohuilin in #7154
更新内容
新特性 🎉
- feat: 添加 middlewares 和 renderMiddlewares 到服务端插件上下文中 由 @zllkjc 实现, 详情可查看 #7140
- feat: 迁移到 Hono bff 由 @keepview 实现, 详情可查看 #7125
Bug 修复 🐞
- fix(server): 资源中间件在检测请求是否为静态资源时,应该忽略 assetPrefix 中的域名 由 @zllkjc 实现, 详情可查看 #7155
- fix: 修复在低版本浏览器 proxy 可能不存在问题 由 @caohuilin 实现, 详情可查看 #7154
v2.67.5
v2.67.4
What's Changed
New Features 🎉
- feat: modern.server supports extended server by @zllkjc in #6952
- feat: support getKey for cache funtion by @yimingjfe in #7102
- feat(cache): support customKey for cache by @yimingjfe in #7058
- feat: support unstable_shouldDisable by @yimingjfe in #7058
- feat: support plugin-router-v7 by @yimingjfe in #7106
- feat: support cache statistics by @yimingjfe in #7058
Bug Fixes 🐞
- fix(router): replace slashes in route ID for loader timing reporting by @yimingjfe in #7117
- fix(server): should sync all headers from req.headers by @yimingjfe in #7107
- fix: add the "$" character to avoid alias override in nested entries by @zllkjc in #7093
Other Changes
- chore(deps): update Rsbuild to 1.3.11 by @chenjiahan in #7081
更新内容
新特性 🎉
- feat: modern.server 支持扩展 modern.js 服务 由 @zllkjc 实现, 详情可查看 #6952
- feat: 为 cahce 函数支持 getKey 由 @yimingjfe 实现, 详情可查看 #7102
- feat(cache): 为缓存支持 customKey 函数 由 @yimingjfe 实现, 详情可查看 #7058
- feat: 支持 unstable_shouldDisable 由 @yimingjfe 实现, 详情可查看 #7058
- feat: support plugin-router-v7 由 @yimingjfe 实现, 详情可查看 #7106
- feat: 支持缓存命中率统计 由 @yimingjfe 实现, 详情可查看 #7058
Bug 修复 🐞
- fix(router): 为 server timing 替换 route id 中的 "/" 由 @yimingjfe 实现, 详情可查看 #7117
- fix(server): 应该从 req.headers 同步所有的 headers 由 @yimingjfe 实现, 详情可查看 #7107
- fix: 添加 $ 字符避免嵌套入口时 alias 覆盖 由 @zllkjc 实现, 详情可查看 #7093
v2.67.3
What's Changed
New Features 🎉
- feat: bff supports hono runtime framework by @keepview in #6937
- feat: support deployment for github pages by @yimingjfe in #7052
Other Changes
更新内容
新特性 🎉
- feat: bff 支持 hono 运行时框架 由 @keepview 实现, 详情可查看 #6937
- feat: 支持使用 github pages 部署 由 @yimingjfe 实现, 详情可查看 #7052
其他变更
v2.67.2
What's Changed
New Features 🎉
- feat(ssr): support customizing fallback reason via
x-modern-ssr-fallback
header by @await-ovo in #7045 - feat: improve modern.js server performance by @zllkjc in #7048
- feat(bff): support params and headers for Upload by @yimingjfe in #7031
- feat(ssr): inject fallback reason to html by @await-ovo in #7053
- feat(image): new
@modern-js/image
package to provide optimizedcomponent by @Asuka109 in #7055
Bug Fixes 🐞
- fix(deploy): fix the deploy problem for netlify by @yimingjfe in #7014
- fix: storybook generator template by @caohuilin in #7043
- fix: garfish plugin config name by @caohuilin in #7032
Docs update 📄
更新内容
新特性 🎉
- feat(ssr): 支持在
x-modern-ssr-fallback
中自定义降级原因 由 @await-ovo 实现, 详情可查看 #7045 - feat: 提升 modern.js 服务器性能 由 @zllkjc 实现, 详情可查看 #7048
- feat(bff): 为 Upload 操作符支持 params 和 headers 由 @yimingjfe 实现, 详情可查看 #7031
- feat(ssr): 注入降级原因到响应的 html 由 @await-ovo 实现, 详情可查看 #7053
- feat(image): 新增
@modern-js/image
包以提供优化的组件 由 @Asuka109 实现, 详情可查看 #7055
Bug 修复 🐞
- fix(deploy): 修复部署 netlify 的问题 由 @yimingjfe 实现, 详情可查看 #7014
- fix: 修复 storybook 生成器模板 由 @caohuilin 实现, 详情可查看 #7043
- fix: 修复 garfish 插件配置名称 由 @caohuilin 实现, 详情可查看 #7032