Skip to content

v2.44.0

Compare
Choose a tag to compare
@caohuilin caohuilin released this 28 Dec 08:36
27dd36f

What's Changed

New Features 🎉

  • feat(generator-plugin): addManyFiles supports config to include dotfiles by @zhmushan
  • feat(module-tools): add enableTscBuild option, only log error about config and prefer to use declarationDir over outDir when tsc build. by @10Derozan in #5135
  • feat(module-tools): support svgr with url-loader by @10Derozan in #5108
  • feat: SSR server support afterStreamingRender by @spencerHT in #5101

Bug Fixes 🐞

  • fix(ssr): support stream ssr inline asserts by @GiveMe-A-Name in #5146
  • fix: SSR cache container spell by @spencerHT in #5149
  • fix: server dir compile only server/cache exsits by @GiveMe-A-Name in #5159
  • fix(module-tools): When dealing with dts file alias, explicitly declare the extension when calling matchPath to avoid the problem of not being able to find the module. by @10Derozan in #5142
  • fix(devtools): failed to resolve react-devtools-inline by @Asuka109 in #5163
  • fix(storybook): resolve react renderer from package by @JSerFeng in #5162
  • fix(hmr-client): make hmr-client isomorphic by @tmkx in #5148
  • fix(transform-import): remove SharedTransformImport config by @JSerFeng in #5165

Other Changes

  • chore(module-tools): bump SVGR to v8.1.0 by @chenjiahan in #5147
  • chore(generator): update vscode settings template by @10Derozan in #5138
  • chore(deps): bump rspack to 0.4.5 and bump rsbuild to 0.2.11 by @9aoy in #5157
  • chore(deps): bump rsbuild to 0.2.8 and use html-webpack-plugin in uni-builder webpack mode by @9aoy in #5134

更新内容

新特性 🎉

  • feat(generator-plugin): addManyFiles 支持配置允许包含 dotfiles 由 @zhmushan 实现
  • feat(module-tools): 新增 enableTscBuild option, 并且在 tsc build 时对于配置错误仅进行控制台输出,同时优先于 outDir 使用 declarationDir 由 @10Derozan 实现, 详情可查看 #5135
  • feat(module-tools): 支持 svgr 与 url-loader 一起使用 由 @10Derozan 实现, 详情可查看 #5108
  • feat: SSR 服务端支持 afterStreamingRender 由 @spencerHT 实现, 详情可查看 #5101

Bug 修复 🐞

  • fix(ssr): 支持 stream ssr 内链静态文件 由 @GiveMe-A-Name 实现, 详情可查看 #5146
  • fix: SSR 缓存相关 container 拼写修正 由 @spencerHT 实现, 详情可查看 #5149
  • fix: 只有存在 server/cache 才默认编译 由 @GiveMe-A-Name 实现, 详情可查看 #5159
  • fix(module-tools): 处理类型描述文件别名过程中,在调用 matchPath 时显式声明后缀名,避免无法找到模块的问题 由 @10Derozan 实现, 详情可查看 #5142
  • fix(devtools): react-devtools-inline 包不存在导致报错 由 @Asuka109 实现, 详情可查看 #5163
  • fix(storybook): 使用包内部的 react renderer 由 @JSerFeng 实现, 详情可查看 #5162
  • fix(hmr-client): hmr-client 支持跨环境 由 @tmkx 实现, 详情可查看 #5148
  • fix(transform-import): 移除 SharedTransformImport 配置 由 @JSerFeng 实现, 详情可查看 #5165

其他变更

  • chore(module-tools): 升级 SVGR 到 v8.1.0 由 @chenjiahan 实现, 详情可查看 #5147
  • chore(generator): 更新项目里 vscode 设置的模板 由 @10Derozan 实现, 详情可查看 #5138
  • chore(deps): 升级 rspack 到 0.4.5 & 升级 rsbuild 到 0.2.11 由 @9aoy 实现, 详情可查看 #5157
  • chore(deps): 升级 rsbuild 到 0.2.8,在 uni-builder webpack 模式下使用 html-webpack-plugin 由 @9aoy 实现, 详情可查看 #5134