Releases: web-infra-dev/modern.js
Releases · web-infra-dev/modern.js
v3.1.5
v3.1.4
v3.1.3
v3.1.2
What's Changed
New Features 🎉
- feat: support OPTIONS handler on ServerBase in #8483
Bug Fixes 🐞
- fix: restore dev server runtime stability for server config in #8500
- fix: not got the right component props in #8498
- fix: use Node 22 native loader for tsconfig path aliases in #8484
Other Changes ✨
- Update to address flatted crit cve https://security.snyk.io/vuln/SNYK-JS-FLATTED-15700433 in #8478
Rsbuild Update 📦
- Upgrade @rsbuild/core from v2.0.0-beta.4 to v2.0.0-rc.0. See v2.0.0-rc.0 for details.
更新内容
新特性 🎉
- feat: 为 serverBase 添加 options handler, 详情可查看 #8483
Bug 修复 🐞
- fix: 处理 dev server runtime 的稳定性, 详情可查看 #8500
- fix: 未能正确识别 component 的部分属性, 详情可查看 #8498
- fix: 使用 node v22 原生 loader 处理 tsconfig path aliases, 详情可查看 #8484
Rsbuild 更新 📦
- 升级 @rsbuild/core 从 v2.0.0-beta.4 到 v2.0.0-rc.0,查看 v2.0.0-rc.0 了解详情。
v3.1.1
v3.1.0
What's Changed
New Features 🎉
- feat: deploy command generate esm artifact in #8306
Bug Fixes 🐞
- fix: check
ts-nodeexistence viapackage.jsoninstead of module resolution to avoid false positives from hoisted dependencies in #8455 - fix: ssr hydration should add prefix_id for react use_id in #8433
- fix: temporarily disable the
oshortcut key, as it opens the wrong URL (/html/main => 404). in #8442 - fix(bff-core): filter failed modules correctly and include filename in errors in #8434
更新内容
新特性 🎉
- feat: deploy 命令支持生成 ESM 产物, 详情可查看 #8306
Bug 修复 🐞
v3.0.5
What's Changed
New Features 🎉
- feat(router): skip RSC payload fetch for client-only route navigations in #8430
- feat: add modern.js adapter to run tests via Rstest in #8413
Bug Fixes 🐞
更新内容
新特性 🎉
- feat(router): 导航到只有客户端路由组件的路径时,跳过对 rsc payload 的拉取, 详情可查看 #8430
- feat: 添加 modern.js 适配器以在 Rstest 中继承 Modern.js 的配置, 详情可查看 #8413
Bug 修复 🐞
v3.0.4
What's Changed
Bug Fixes 🐞
- fix: update context in createStorybookOptions to resolve the issue of missing BFF configuration in #8412
- fix: close document compiler minify in #8375
- fix: csr remove @swc/plugin-loadable-components in #8376
- fix: sync server hono context to dev BFF context in #8410
- fix(runtime): should match head file correctly in #8383
- fix: rsbuild plugins type mismatch in #8414
更新内容
Bug 修复 🐞
- fix: createStorybookOptions 中更新上下文,解决 BFF 配置缺失问题, 详情可查看 #8412
- fix: 关闭 document Rspack 编译器的 minify 选项, 详情可查看 #8375
- fix: csr 移除 @swc/plugin-loadable-components 配置, 详情可查看 #8376
- fix: dev 环境同步自定义 server 上下文到 BFF 上下文, 详情可查看 #8410
- fix(runtime): 应该正确的匹配 head 文件, 详情可查看 #8383
- fix: 修复 rsbuild plugins 类型不匹配问题, 详情可查看 #8414
v3.0.3
What's Changed
Bug Fixes 🐞
- fix(builder): check original config to determine if inlineScripts was explicitly set by user in #8353
- fix: inlineScripts should not takes the default value when set to false in #8343
Other Changes ✨
- chore(create): simplify project creation output logs in #8368
更新内容
Bug 修复 🐞
- fix(builder): 通过检查原始配置来判断 inlineScripts 是否由用户显式设置, 详情可查看 #8353
- fix: inlineScripts 设置为false时不应取默认值, 详情可查看 #8343
其他变更 ✨
- chore(create): 简化项目创建输出日志, 详情可查看 #8368