v3.2.1
- feat: support tsconfig.server.json for server-side TypeScript in https://github.com/web-infra-dev/modern.js/pull/8596
- add @rsbuild/core/types reference to app-tools types in https://github.com/web-infra-dev/modern.js/pull/8544
- feat: 支持单独配置服务端 tsconfig 配置, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8596
v2.71.0
- feat: add
source.enableAsyncPreEntryfor async entry scenarios by @2heal1 in https://github.com/web-infra-dev/modern.js/pull/8547
v3.2.0
- feat: add
source.enableAsyncPreEntryfor async entry scenarios in https://github.com/web-infra-dev/modern.js/pull/8546
- chore: update dependencies in https://github.com/web-infra-dev/modern.js/pull/8592
- chore: 更新基础依赖, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8592
v3.1.5
- fix: 修复 Rspack 2.0 下的 chunk ID 问题, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8570
- chore: 升级 @rsbuild 相关依赖至 v2.0.0, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8565
- 升级 @rsbuild/core 从 v2.0.0-rc.0 到 v2.0.0,查看 v2.0.0 了解详情。
v3.1.4
- fix: netlify function not get the right server path in https://github.com/web-infra-dev/modern.js/pull/8543
- fix: netlify function 未获取正确的 server 路径, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8543
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