Releases: web-infra-dev/modern.js
Releases · web-infra-dev/modern.js
v2.68.0
What's Changed
New Features 🎉
- feat: update esbuild version to 0.25.5 by @caohuilin in #7294
- feat: Drop support for Node.js 16 BREAKING CHANGE: Node.js 16 is no longer supported. Please upgrade to Node.js 18 or higher. by @caohuilin in #7270
- feat: support resolve configuration in rsbuild. by @zllkjc in #7261
Bug Fixes 🐞
- fix: keep the default behavior of scope for compiling JS when use webpack after upgrade to Rsbuild 1.4 by @zllkjc in #7289
Other Changes
- chore: remove
source-map-support
in prod-server for code start performance by @await-ovo in #7291
更新内容
新特性 🎉
- feat: 更新 esbuild 版本到 0.25.5 由 @caohuilin 实现, 详情可查看 #7294
- feat: 不再支持 Node.js 16 重大变更:Node.js 16 已不再支持,请升级至 Node.js 18 或更高版本。 由 @caohuilin 实现, 详情可查看 #7270
- feat: 支持 rsbuild 的 resolve 配置。 由 @zllkjc 实现, 详情可查看 #7261
Bug 修复 🐞
其他变更
- chore: 移除 prod-server 中的
source-map-support
以提升冷启动性能 由 @await-ovo 实现, 详情可查看 #7291
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