Releases: umijs/umi
Releases · umijs/umi
v4.0.90
What's Changed
- 修复: qiankun 主应用插件 render 未返回运行时参数的问题 by @jaredleechn in #11923
- 优化: antd 插件配置类型提示 by @Wxh16144 in #11924
- 优化: 使用 react 16 时在模板文件中自动引入 react by @hualigushi in #11926
Full Changelog: v4.0.89...v4.0.90
v4.0.89
What's Changed
-
新增:
useAntdConfig
/useAntdConfigSetter
方法来动态获取、修改 antd 的ConfigProvider
配置 by @xiaohuoni in #11856 -
修复: 开启 legacy 配置时,用户 targets 被覆盖的问题 by @hanzebang in #11868
-
修复: 多级路由嵌套时,需要合并多级路由serverLoader的数据 by @gwuhaolin in #11894
-
其他: 升级 css mini plugin (5.0.1) lightningcss(1.22.1) by @fz6m in #11877
-
文档: 改进 @hualigushi in #11878 @luketzh in #11910
Full Changelog: v4.0.88...v4.0.89
v4.0.88
What's Changed
- 新增 test 对
.mjs
文件的支持 by @stormslowly in #11818 - 新增 styledComponents 运行时配置对函数值的支持 by @hualigushi in #11304
- 新增 locales 插件对语言文件中嵌套字段的识别支持 by @NieShiyi in #11218
- 新增 ssr 场景下可通过导出
metadataLoader
动态设置页面 TDK 的能力 by @gwuhaolin in #11833 - 修复
overrides.css
为空时构建报错的问题 by @sorrycc in #11768 - 修复 ssr 构建产物存在多个 chunk 时文件名冲突的问题 by @gwuhaolin in #11823
- 修复 antd 插件无效的 warning 提示 by @Wxh16144 in #11630
- 修复 locale 插件中 🇳🇱 荷兰语编码
nl-NL
与 label 不一致的问题 by @cmolendijk in #11296 - 修复 dva 插件可能引用到错误 dva 版本的问题 by @Jerry-qiqi in #11292
- 修复 MFSU 遇到正则配置值时缓存可能不正确的问题 by @Limsanity in #10308
- 修复 ssr 场景下
__serverLoader
请求在 server 和 client 端 request url 不一致的问题 by @gwuhaolin in #11845 - 优化 ssr 子包的类型导出及部分实现 by @fz6m in #11784
- 优化 styledComponents 插件,包含 v6 版本升级、默认配置优化及浏览器前缀启动降级等 by @fz6m in #11726
New Contributors
- @luketzh made their first contribution in #11801
- @Jeff-Tian made their first contribution in #11781
- @swvv made their first contribution in #11375
- @cmolendijk made their first contribution in #11296
- @NieShiyi made their first contribution in #11218
- @daiwenyu made their first contribution in #11195
- @Limsanity made their first contribution in #10308
Full Changelog: v4.0.87...v4.0.88
v4.0.87
What's Changed
- fix: SSR withoutHTML模式下也需要注入loaderData数据用于注水时 by @gwuhaolin in #11736
- fix: 在有basename的情况下__serverLoader的请求路径需要加上basename by @gwuhaolin in #11739
- docs: correct type by @hualigushi in #11732
- fix: register webpack hook for okam by @sorrycc in #11741
- feat: generate overrides.css on generate by @sorrycc in #11735
- fix: 剔除srcTranspiler无用none枚举 by @PopperLi in #11731
- fix(bundler-webpack): custom css modules ident function should only for ssr with bundler esbuild by @sorrycc in #11759
- dep: upgrade babel by @fz6m in #11733
- feature: 支持serverLoader中读取url和headers by @gwuhaolin in #11755
Full Changelog: v4.0.86...v4.0.87
v4.0.86
What's Changed
- revert: SSR模式下,多输出一份和index.html完全一致的*.html文件,用于ER场景 by @gwuhaolin in #11734
Full Changelog: v4.0.85...v4.0.86
v4.0.85
What's Changed
- 新增 (SSR) 多输出一份和index.html完全一致的*.html文件 by @gwuhaolin in #11723
- 新增 (SSR) Server 产物支持 hash by @gwuhaolin in #11698
- 新增 (plugin-mf): remoteHash参数控制mf的产物是否启用hash(#11711) by @consistent-k in #11714
- 优化 (SSR) getManifest()支持req时传入sourceDir表示SSR产物目录 by @gwuhaolin in #11715
- 优化 (bundler-vite): vite 支持低版本浏览器 by @xierenyuan in #11722
- 优化 (preset-umi) 三方依赖的 chunk 名更加可读 by @PeachScript in #11716
- 修复: dev 环境构建 SSR server.js时产物带上了hash的 bug by @gwuhaolin in #11709
- 修复 (styled-component) 展示名 by @daydayhappychao in #11719
- 修复 (SSR): 获取 dist 路径逻辑 by @PeachScript in #11729
New Contributors
- @daydayhappychao made their first contribution in #11719
- @consistent-k made their first contribution in #11714
Full Changelog: v4.0.84...v4.0.85
v4.0.84
What's Changed
- 新增 ssr 产物的 handler 及 loader 导出以支持 CDN 边缘计算处理请求的场景 by @gwuhaolin in #11688
- 新增
cssPublicPath
以支持配置 CSS 文件中的资源请求路径 by @xierenyuan in #11691 - 修复 serverLoader 不处理 layout 文件的问题 by @ppppp-x-x in #11666
- 修复 qiankun 微应用生产构建未默认开启 shouldNotAddLibraryChunkName 的问题 by @kuitos in #11690
- 修复
overrides.less
无法对body
选择器提升权重的问题 by @PeachScript in #11692 - 优化 test 默认配置,支持 resolve 仅提供
module
产物的包 @stormslowly in #11684 - 优化 runtime 插件注册逻辑,支持对重复注册的 key 做校验 by @PopperLi in #11590
New Contributors
- @ppppp-x-x made their first contribution in #11666
- @PopperLi made their first contribution in #11590
- @gwuhaolin made their first contribution in #11688
Full Changelog: v4.0.83...v4.0.84
v4.0.83
Full Changelog: v4.0.82...v4.0.83
v4.0.82
What's Changed
- refactor(lint): suppress typescript eslint warning by @fz6m in #11625
- docs: fix bad links by @Wxh16144 in #11612
- feat(monorepo): add monorepoRedirect.useRootProject (#11603) by @zggmd in #11604
- feat(okam): node 16 is needed when mako is enabled by @sorrycc in #11643
- feat(bundler-webpack): stylus support by @xierenyuan in #11655
- feat(valtio): ✨ add ref、watch api and upgrades valtio by @Jokergga in #11644
- docs: fix unclear expression by @kcfuler in #11599
- fix: using tsx loader to parse jsx files by @fz6m in #11668
- fix: umi g component file name by @fz6m in #11669
New Contributors
Full Changelog: v4.0.81...v4.0.82
v4.0.81
What's Changed
- refactor(plugins): check algorithm option for antd plugin by @Wxh16144 in #11629
- fix(bundler-webpack): Fix hmr failure caused by exporting clientLoader or routeProps from routing components by @xierenyuan in #11623
- dep: webpack upgrade to 5.88.2 by @xierenyuan in #11637
Full Changelog: v4.0.80...v4.0.81