Releases: umijs/umi
Releases · umijs/umi
v4.0.45
What's Changed
- feat: changelog by prs by @txp1035 in #10261
- fix(preset-umi): icons should handle externals before alias by @sorrycc in #10292
- fix(renderer-react): the to props of Link might be undefined, for compatibility by @sorrycc in #10293
- feat(plugins): styled-components support config global style in app.tsx by @sorrycc in #10294
- fix: 🐛 antd 组件属性 visible 更换为 open by @huxinfeng in #10296
- docs: 📝 typo in valtio doc by @stormslowly in #10287
Full Changelog: v4.0.44...v4.0.45
v4.0.44
v4.0.43
What's Changed
- 新增 react-query 插件 by @sorrycc in #10253
- 优化 icons 插件 by @sorrycc in #10226
- 优化 vite 模式的 analyze 配置 by @AkaraChen in #10236
- 升级 @typescript-eslint/eslint-plugin 和 @typescript-eslint/parser 依赖,兼容 TypeScript 4.9 by @wibus-wee in #10232
- 优化脚手架模板,在 author 与模版之间增加空格 by @huxinfeng in #10250
- 优化 ssr,支持 esbuild 构建使用 alias by @fz6m in #10258
- 优化 ssr 下 esbuild 对于 externals 的支持 by @AkaraChen in #10213
- 优化 qiankun 插件,新增 MicroAppLink 组件 by @ice-zjchen in #10090
- 优化 icons 插件,支持 hover 时切换到另一个 icon by @sorrycc in #10251
- 升级 father 和 typescript 依赖,可以用
satisfies
了 by @fz6m in #10244 - 升级 webpack 相关依赖到最新 by @sorrycc in #10279
- 升级 babel 相关依赖到最新 by @sorrycc in #10281
- 升级大量依赖,包括 core-js、less-loader 等 by @sorrycc in #10283
- 修复 webpack Compiling 日志在 dev 时丢失的问题 by @sorrycc in #10238
- 修复 icons 插件 camelCase 不支持数字的问题 by @sorrycc in #10245
- 修复 mfsu 在编译出错之后恢复时 cache 生成时机的问题 by @stormslowly in #10272
- 修复 exportStatic 时 publicPath 为相对路径时的处理问题 by @PeachScript in #10268
- 修复
appData.routes
的刷新问题,以支持热更 by @fz6m in #10264
New Contributors
- @wibus-wee made their first contribution in #10232
- @huxinfeng made their first contribution in #10250
- @ice-zjchen made their first contribution in #10090
Full Changelog: v4.0.42...v4.0.43
v4.0.42
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
- 更新依赖
autoprefixer
和caniuse-lite
by @fz6m in #10186
Full Changelog: v4.0.41...v4.0.42
v4.0.41
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
- @conorzhong made their first contribution in #10139
- @AkaraChen made their first contribution in #10153
Full Changelog: v4.0.40...v4.0.41
v4.0.40
What's Changed
- 回滚 支持调用 history.push 时使用相对路径 #10122 by @stormslowly in #10134
Full Changelog: v4.0.39...v4.0.40
v4.0.39
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 插件以兼容旧的
noFound
和unAccessible
配置 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
- @zhoudailin made their first contribution in #10118
Full Changelog: v4.0.38...v4.0.39
v3.5.36
v4.0.38
v4.0.37
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
- @jiangkaifree made their first contribution in #10015
- @bowen-wu made their first contribution in #10006
- @jc1144096387 made their first contribution in #10035
Full Changelog: v4.0.36...v4.0.37