What's Changed
- 新增 defineApp 接口,让 app.ts 拥有类型 by @zenotsai in #8802
- 新增 mf 插件,支持 umi 结合 module federation 使用 by @stormslowly in #8450
- 优化 umi g tsconfig 命令,新增 react 和 react-dom 类型,同时处理 assets 资源 by @zzcan in #8788
- 优化 verify-commit 命令的规则 by @zzcan in #8774
- 优化 tailwindcss 插件,支持使用 APP_ROOT 的场景 by @yuaanlin in #8776
- 优化 test 方案,支持 jsx automatic,配置开启 by @stormslowly in #8863
- 优化 dev mode,publicPath 配置了 ./ 时直接报错 by @sorrycc in #8775
- 修复 package.json 被监听时可能 crash 的问题 by @sorrycc in #8777
- 修复 request 插件的类型问题 by @dohooo in #8648
- 修复 mock 功能在 windows 下不能正常热更的问题 by @sorrycc in #8842
- 修复带 * 的路由使用 wrappers 没有继承 * 功能的问题 by @fz6m in #8790
- 修复嵌套空路由 Outlet Context 值丢失的问题 by @fz6m in #8789
- 修复 regenerate 包多实例问题,这会导致正则 u Flag 不生效 by @YdreamW in #8846
- 修复 mfsu 让依赖编译产物的 publicPath 为 auto by @stormslowly in #8783
- 修复 vue preset 下,vue 依赖获取错误的问题 by @xierenyuan in #8836
- 修复 vite 模式下插件或配置不能引用到 vite 的问题 by @xierenyuan in #8835
- 修复 layout 插件的 RunTimeLayoutConfig 类型问题 by @hanzebang in #8740
- 修复 locale 插件中 formatMessage 方法 g_intl 变量没有初始化的问题 by @YdreamW in #8759
- 修复 locale 插件导出 API TS 类型失效的问题 by @YdreamW in #8778
- 修复 locale 插件来自 react-intl 的部分 api 丢失的问题 by @kokiy in #8822
- 修复 access 插件权限属性,使其兼容 umi 3 by @txp1035 in #8757
New Contributors
- @zenotsai made their first contribution in #8760
- @YdreamW made their first contribution in #8759
- @findmio made their first contribution in #8795
- @juetan made their first contribution in #8837
- @kokiy made their first contribution in #8822
- @zhousg made their first contribution in #8806
Full Changelog: v4.0.9...v4.0.10