What's Changed
- 新增
clickToComponent
配置项启用 click-to-component by @cnyballk in #8331 - 新增 plugin-docs 的锚点链接图标 by @ahwgs in #8377
- create-umi 新增
author
字段 by @ahwgs in #8348 api.logger
支持debug
方法 #8413- 不允许 max 项目依赖 umi #8420
- 修复 plugin-docs 搜索结果中锚点链接失效的 bug #8358
- 修复
getAllLocales
没有导出的问题 #8368 Close #8338 - 修复
useAccessMarkedRoutes
的副作用依赖 by @xc1427 in #8374 - 修复
public/favicon
无效的问题 by @fz6m in #8372 - 修复配置式路由中
redirect
不能正确处理 URL Params 的问题 by @ye-will in #8395 - 修复 max 错误提示中的框架名称 #8422
- 使用
localhost
替代127.0.0.1
#8367 - 优化 stylelint 规则,
className
允许小驼峰命名 by @winedk in #8308 - 优化 bundler-webpack,不压缩
public
目录下的文件 #8362 - 优化 lint 命令,默认不启用
quiet
参数 Close #8269 - 优化
webpackChunkName
,基于模块路径生成chunkName
by @xierenyuan in #8406 - 优化配置文件编译出错的错误日志 #8386
- 移除 API Routes 的警告信息 #8418
New Contributors
- @winedk made their first contribution in #8308
- @zzcan made their first contribution in #8340
- @sakuraNouta made their first contribution in #8415
- @ye-will made their first contribution in #8395
- @sushi-su made their first contribution in #8448
Full Changelog: v4.0.5...v4.0.6