v3.1.3
- fix: isolate sdk resource events between i18n instances in https://github.com/web-infra-dev/modern.js/pull/8523
- docs: remove unused code in vercel deployment plugin in https://github.com/web-infra-dev/modern.js/pull/8527
- fix: 隔离多 i18n 实例之间的 sdk 资源事件串扰, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8523
- docs: 移除 Vercel 部署插件中未使用的代码, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8527
v3.1.2
- feat: support OPTIONS handler on ServerBase in https://github.com/web-infra-dev/modern.js/pull/8483
- fix: restore dev server runtime stability for server config in https://github.com/web-infra-dev/modern.js/pull/8500
- fix: not got the right component props in https://github.com/web-infra-dev/modern.js/pull/8498
- fix: use Node 22 native loader for tsconfig path aliases in https://github.com/web-infra-dev/modern.js/pull/8484
- Update to address flatted crit cve https://security.snyk.io/vuln/SNYK-JS-FLATTED-15700433 in https://github.com/web-infra-dev/modern.js/pull/8478
- 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, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8483
- fix: 处理 dev server runtime 的稳定性, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8500
- fix: 未能正确识别 component 的部分属性, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8498
- fix: 使用 node v22 原生 loader 处理 tsconfig path aliases, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8484
- 升级 @rsbuild/core 从 v2.0.0-beta.4 到 v2.0.0-rc.0,查看 v2.0.0-rc.0 了解详情。
v3.1.1
- fix: netlify use different request by module export way in https://github.com/web-infra-dev/modern.js/pull/8477
- fix: preserve closing tags order in RSC HTML responses in https://github.com/web-infra-dev/modern.js/pull/8463
- fix: support custom entry in rsc client mode in https://github.com/web-infra-dev/modern.js/pull/8464
- fix: netlify 在不同的 module 导出方式下使用不同的版本,进而有不同的 request, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8477
- fix: 为 rsc html 保留 closing tags order, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8463
- fix: 支持在 RSC 客户端模式下自定义入口, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8464
v3.1.0
- feat: deploy command generate esm artifact in https://github.com/web-infra-dev/modern.js/pull/8306
- fix: check
ts-nodeexistence viapackage.jsoninstead of module resolution to avoid false positives from hoisted dependencies in https://github.com/web-infra-dev/modern.js/pull/8455 - fix: ssr hydration should add prefix_id for react use_id in https://github.com/web-infra-dev/modern.js/pull/8433
- fix: temporarily disable the
oshortcut key, as it opens the wrong URL (/html/main => 404). in https://github.com/web-infra-dev/modern.js/pull/8442 - fix(bff-core): filter failed modules correctly and include filename in errors in https://github.com/web-infra-dev/modern.js/pull/8434
- feat: deploy 命令支持生成 ESM 产物, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8306
- fix: 通过读取
package.json检测ts-node是否存在,避免因依赖提升等因素导致模块解析误判, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8455 - fix: 为了 react useid hook, ssr hydration 应该添加 prefix_id, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8433
- fix: 临时禁用
o快捷键,因为它会打开错误的网址(/html/main => 404)。, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8442 - fix(bff-core): 正确过滤未能正确加载的BFF模块; 在加载错误中包含文件名, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8434
v3.0.5
- feat(router): skip RSC payload fetch for client-only route navigations in https://github.com/web-infra-dev/modern.js/pull/8430
- feat: add modern.js adapter to run tests via Rstest in https://github.com/web-infra-dev/modern.js/pull/8413
- fix: use correct file for bootstrap in https://github.com/web-infra-dev/modern.js/pull/8428
- fix: style-components import path in https://github.com/web-infra-dev/modern.js/pull/8420
- feat(router): 导航到只有客户端路由组件的路径时,跳过对 rsc payload 的拉取, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8430
- feat: 添加 modern.js 适配器以在 Rstest 中继承 Modern.js 的配置, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8413
- fix: 使用正确的 bootstrap 文件, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8428
- fix: 修复 styled-components 导入路径问题, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8420
v3.0.4
- fix: update context in createStorybookOptions to resolve the issue of missing BFF configuration in https://github.com/web-infra-dev/modern.js/pull/8412
- fix: close document compiler minify in https://github.com/web-infra-dev/modern.js/pull/8375
- fix: csr remove @swc/plugin-loadable-components in https://github.com/web-infra-dev/modern.js/pull/8376
- fix: sync server hono context to dev BFF context in https://github.com/web-infra-dev/modern.js/pull/8410
- fix(runtime): should match head file correctly in https://github.com/web-infra-dev/modern.js/pull/8383
- fix: rsbuild plugins type mismatch in https://github.com/web-infra-dev/modern.js/pull/8414
- fix: createStorybookOptions 中更新上下文,解决 BFF 配置缺失问题, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8412
- fix: 关闭 document Rspack 编译器的 minify 选项, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8375
- fix: csr 移除 @swc/plugin-loadable-components 配置, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8376
- fix: dev 环境同步自定义 server 上下文到 BFF 上下文, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8410
- fix(runtime): 应该正确的匹配 head 文件, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8383
- fix: 修复 rsbuild plugins 类型不匹配问题, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8414
v2.70.8
- fix: 修复 README.md 中的 Benchmark 的链接错误 by @zllkjc in https://github.com/web-infra-dev/modern.js/pull/8377
- fix: fix the wrong link of Benchmark in README.md 由 @zllkjc 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8377
v3.0.3
- fix(builder): check original config to determine if inlineScripts was explicitly set by user in https://github.com/web-infra-dev/modern.js/pull/8353
- fix: inlineScripts should not takes the default value when set to false in https://github.com/web-infra-dev/modern.js/pull/8343
- chore(create): simplify project creation output logs in https://github.com/web-infra-dev/modern.js/pull/8368
- fix(builder): 通过检查原始配置来判断 inlineScripts 是否由用户显式设置, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8353
- fix: inlineScripts 设置为false时不应取默认值, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8343
- chore(create): 简化项目创建输出日志, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8368
v3.0.2
- feat: support rspack builtin rsc in https://github.com/web-infra-dev/modern.js/pull/8193
- fix(create): skip "enter project directory" step when project is created in current directory in https://github.com/web-infra-dev/modern.js/pull/8328
- fix: should support windows path in server-entry route pattern in https://github.com/web-infra-dev/modern.js/pull/8332
- Upgrade @rsbuild/core from v2.0.0-beta.2 to v2.0.0-beta.4. See v2.0.0-beta.3, and v2.0.0-beta.4 for details.
- feat: 使用 rspack 内置的 rsc 插件, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8193
- fix(create): 当项目创建在当前目录时,不再提示执行 cd 进入项目目录, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8328
- fix: route pattern 中应该支持 windows 系统路径, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8332
- 升级 @rsbuild/core 从 v2.0.0-beta.2 到 v2.0.0-beta.4,查看 v2.0.0-beta.3, and v2.0.0-beta.4 了解详情。
v2.70.7
- chore: no change version by @zllkjc in https://github.com/web-infra-dev/modern.js/pull/8331