Skip to content

Releases: umijs/umi

v4.0.90

21 Dec 08:34
Compare
Choose a tag to compare

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

30 Nov 08:02
Compare
Choose a tag to compare

What's Changed

  • 新增: useAntdConfig / useAntdConfigSetter 方法来动态获取、修改 antd 的 ConfigProvider 配置 by @xiaohuoni in #11856

  • 新增: 支持在 overrides.less 中使用相对路径 by @fz6m in #11843

  • 修复: 开启 legacy 配置时,用户 targets 被覆盖的问题 by @hanzebang in #11868

  • 修复: styled-componets 不支持 css 属性的问题 by @fz6m in #11898

  • 修复: 多级路由嵌套时,需要合并多级路由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

09 Nov 06:51
Compare
Choose a tag to compare

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

Full Changelog: v4.0.87...v4.0.88

v4.0.87

19 Oct 08:15
Compare
Choose a tag to compare

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

19 Oct 08:15
Compare
Choose a tag to compare

What's Changed

  • revert: SSR模式下,多输出一份和index.html完全一致的*.html文件,用于ER场景 by @gwuhaolin in #11734

Full Changelog: v4.0.85...v4.0.86

v4.0.85

12 Oct 09:19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.84...v4.0.85

v4.0.84

27 Sep 03:12
Compare
Choose a tag to compare

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

Full Changelog: v4.0.83...v4.0.84

v4.0.83

21 Sep 08:41
Compare
Choose a tag to compare

Full Changelog: v4.0.82...v4.0.83

v4.0.82

21 Sep 08:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.81...v4.0.82

v4.0.81

14 Sep 07:35
Compare
Choose a tag to compare

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