Skip to content

Releases: umijs/umi

v4.0.42

05 Jan 13:23
Compare
Choose a tag to compare

What's Changed

  • 新增 phantomDependency 配置来做幽灵依赖校验 by @sorrycc in #10183
  • 新增 build 流程下会出现构建进度条 by @sorrycc in #10197
  • 新增 icons 方案(Beta,目前仅基础功能能用,待进一步完善) by @sorrycc in #10202
  • 优化 phantomDependency 的 exclude 配置,修改其包含的项为包名 by @sorrycc in #10191
  • 优化 IRoute 类型 by @fz6m in #10185
  • 优化 public 目录,使其在新增和删除时支持热更(之前需重启 dev server 才能生效)by @fz6m in #10187
  • 优化 error cause 的处理 by @fz6m in #10188
  • 优化 MFSU 对于 SWC 编译器的支持 by @fz6m in #10198
  • 修复 ssr 场景下 node 包 corejs 补丁失效的问题 by @fz6m in #10184
  • 修复 MFSU 在处理 npm link 包时的错误 by @stormslowly in #10194
  • 修复 vite 模式下 script type 的问题 by @PeachScript in #10195
  • 更新依赖 autoprefixercaniuse-lite by @fz6m in #10186

Full Changelog: v4.0.41...v4.0.42

v4.0.41

29 Dec 08:05
Compare
Choose a tag to compare

What's Changed

  • 新增 无网络连接启动 devServer 时提示无网络 by @AkaraChen in #10153
  • 修复 mfsu 依赖配置中有函数时导致缓存一直失效的问题 function by @xierenyuan in #10166
  • 修复 乾坤应用本地研发时热更新报错 by @HiLanXiao in #10165
  • 修复 移除 globalThis 以支持低版本浏览器 by @sorrycc in #10179
  • 修复 import.meta.x 导致的模块导出解析失败 by @fz6m in #10149
  • 修复 jest generator 生成的script 在 windows 可用 by @zhoudailin in #10133
  • 文档 增加使用 bunx 创建项目示例 by @fz6m in #10143
  • 文档 增加 overrides.less 功能介绍 by @PeachScript in #10119
  • 文档 增加 history.push state 参数的说明 by @stormslowly in #10160

New Contributors

Full Changelog: v4.0.40...v4.0.41

v4.0.40

23 Dec 04:13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.39...v4.0.40

v4.0.39

22 Dec 08:19
Compare
Choose a tag to compare

What's Changed

  • 新增 antd 插件运行时配置钩子 by @hanzebang in #10051
  • 支持调用 history.push 时使用相对路径 by @stormslowly in #10122
  • 修复子路由 path 为空时 exportStatic 产物缺失的问题 by @fz6m in #10091
  • 修复 MFSU 缓存在 define 配置项修改时不会刷新的问题 by @fz6m in #10096
  • 修复 bundler-esbuild 无法处理 dataurl 资源导致 MFSU 编译失败的问题 by @fz6m in #10098
  • 修复 srcTranspiler 配置项的类型错误 by @zhoudailin in #10118
  • 优化 Umi Max 脚手架内的文档链接 by @BoyYangzai in #10099
  • 优化 layout 插件以兼容旧的 noFoundunAccessible 配置 by @hanzebang in #10110
  • 优化 antd 插件允许对 antd v5 启用 import,同时不允许对 antd v5 设置 style by @PeachScript in #10129
  • 文档完善 patchClientRoutes 示例 by @hanzebang in #10094
  • 文档完善 define 配置项添加全局类型声明的示例 by @hanzebang in #10093

New Contributors

Full Changelog: v4.0.38...v4.0.39

v3.5.36

22 Dec 08:32
Compare
Choose a tag to compare
  • fix(bundler-webpack): compatibility of extraBabelIncludes config (#8811) e7e2688

v3.5.35...v3.5.36

v4.0.38

16 Dec 11:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.37...v4.0.38

v4.0.37

16 Dec 09:28
Compare
Choose a tag to compare

What's Changed

  • 新增交互式 terminal 快捷键 by @fz6m in #10002
  • 新增微生成器支持自定义页面和组件模板 by @mysteryven in #9974
  • 优化脚手架模板,默认使用 defineConfig 包裹配置 by @BoyYangzai in #10022
  • 优化 vite 模式,升级 vite 到 3.2.5 by @xierenyuan in #10039
  • 优化 qiankun 插件,增加默认的微应用容器样式 by @kuitos in #10072
  • 优化 bundler-esbuild 支持修改配置 by @fz6m in #10026
  • 修复 qiankun 插件当 slave 配了 basename 时 renderContext 可能不正确的问题 by @stormslowly in #10012
  • 修复 model 插件,解决 model state ref 在比较时可能不是最新的问题 by @sorrycc in #10077
  • 修复 vite 模式下 hot update 时 pluginManager 可能为 null 的问题 by @xierenyuan in #10048
  • 修复 vite 模式下 favicon middleware 不生效的问题 by @xierenyuan in #10038
  • 修复路由的 absPath 在一些场景下缺少 / 的问题 by @fz6m in #10068
  • 修复 mf 功能 remote.js 没有 follow hash 配置的问题 by @stormslowly in #10082
  • 文档新增「如何使用插件」 by @fz6m in #10049
  • 文档新增关于「压缩使用 utf8」的说明 by @fz6m in #10030

New Contributors

Full Changelog: v4.0.36...v4.0.37

v4.0.36

08 Dec 13:42
Compare
Choose a tag to compare

What's Changed

  • 修复 webpack chunks 提取逻辑和 mpa 场景冲突的问题 by @sorrycc in #10005

Full Changelog: v4.0.35...v4.0.36

v4.0.35

08 Dec 08:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.34...v4.0.35

4.0.34

01 Dec 06:44
Compare
Choose a tag to compare

What's Changed

  • 修复给 qiankun 子应用传递字符串类型的 history 无法正常工作的问题 by @PeachScript in #9860
  • 修复 precommit generator 在 Windows 系统下执行 chmod 导致报错的问题 by @wyy0512 in #9879
  • 修复 SPEED_MEASURE 启用时 mini-css-extract-plugin 无法正常工作的问题 by @fz6m in #9907
  • 修复 MFSU eager 在使用 APP_ROOT 时编译不正常的问题 by @stormslowly in #9884 #9885
  • 修复在项目存在 .babelrcpolyfill.ts 临时文件生成错误导致编译失败的问题 by @PeachScript in #9901
  • 修复 MFSU eager 在项目 tsconfig 设置保留 JSX 时执行错误的问题 by @stormslowly in #9915
  • 修复对相对路径引用的模块 splitChunk 时生成错误资源名的问题 by @fz6m in #9857
  • 新增 onHistoryInit 参数用于 qiankun MicroApp 组件获取子应用的 history 实例 by @PeachScript in #9862
  • 支持给 umi config set 传递 JSON 字符串值 by @stormslowly in #9889

New Contributors

Full Changelog: v4.0.33...v4.0.34