Releases
v2.22.0
Compare
Sorry, something went wrong.
No results found
What's Changed
New Features 🎉
feat: init and support preview component by @10Derozan in #3767
feat: ssr runtime need webpack.output.chunkLoadingGlobal pass to loadableReady by @GiveMe-A-Name in #3788
feat(changeset): optimize release note display by @caohuilin in #3779
feat(deps): bump @svgr/webpack from v6 to v8 by @chenjiahan in #3781
feat(builder): add arco config to transformImport by default by @chenjiahan in #3785
feat: support custom render html by @GiveMe-A-Name in #3673
feat: add swc transform content and fix build logic when disable swc-transform by @targeral in #3819
feat: support blank page type and adjust doc layout by @10Derozan in #3767
feat: worker ssr support server hooks by @GiveMe-A-Name in #3786
feat: optimize generator plugin English expression. by @caohuilin in #3801
feat(plugin-swc): should reduce lodash bundle size by default by @chenjiahan in #3799
feat(generator): generator plugin support config chinese name by @caohuilin in #3812
feat(doc-core): support auto nav and sidebar by @sanyuan0704 in #3816
feat: refactor and support two preview mode by @10Derozan in #3767
feat(generator): using typescript v5 for new projects by @chenjiahan in #3772
feat: export only partial common router API for better stability by @xuchaobei in #3783
feat: export react-router instance by @xuchaobei in #3780
feat: optimize generator English expression. by @caohuilin in #3801
feat(module-doc): support to use documentation to generate api markdown content for utils lib by @10Derozan in #3829
feat(builder): adapt and use Rspack 0601 nightly version (Same features as version 0.2.0.) by @9aoy
in #3828
Bug Fixes 🐞
fix(doc-core): custom page written into the same file by @sanyuan0704 in #3778
fix(builder): rule.loader support undefined in rspack by @9aoy in #3800
fix: refactor the mock logic of BFF testing plugin by @yimingjfe in #3810
fix: templateByEntries should have a higher priority than appContext.htmlTemplates by @zllkjc in #3791
fix: unable parsing within a ts ambient context, and set plugin options optional by @10Derozan in #3773
fix: browser should get last element that server insert to html for baseUrl by @zllkjc in #3784
fix(doc-core): theme config normalize error by @sanyuan0704 in #3803
fix(app-tools): the hook moidfyEntryImports must run before htmlPartials, by @GiveMe-A-Name
fix(doc-core): avoid panic when mdx-rs parse error by @sanyuan0704 in #3821
fix(builder): failed to configure browserslist when target is web-worker by @chenjiahan in #3806
fix(runtime): babel-plugin-styled-components not work by @chenjiahan in #3809
fix(builder): support array in output.externals when use Rspack by @9aoy in #3768
fix(doc-core): demo preview ssg by @sanyuan0704 in #3793
fix(doc-core): build error when doc path includes "." by @sanyuan0704 in #3822
fix(doc-plugin-preview): preview plugin build error by @sanyuan0704 in #3820
fix: use path.resolve instead path.join for distPath by @zllkjc in #3804
fix(doc-tools): peerDependencies should allow react v18 by @chenjiahan in #3771
fix(module-doc): getCustomComponent not found by @sanyuan0704 in #3830
Docs update 📄
Other Changes
更新内容
新特性 🎉
Bug 修复 🐞
fix(doc-core): 自定义页面写入到同一个文件 由 @sanyuan0704 实现, 详情可查看 #3778
fix(builder): 使用 rspack 构建时, rule.loader 允许为空 由 @9aoy 实现, 详情可查看 #3800
fix: 修改 BFF 测试插件的 mock 逻辑 由 @yimingjfe 实现, 详情可查看 #3810
fix: templateByEntries 的优先级需要比 appContext.htmlTemplates 更高 由 @zllkjc 实现, 详情可查看 #3791
fix: 关闭在ts环境中的解析,并将插件参数设为可选 由 @10Derozan 实现, 详情可查看 #3773
fix: 浏览器需要获取最后一个 Server 注入 HTML 的 baseUrl 数据 由 @zllkjc 实现, 详情可查看 #3784
fix(doc-core): 主题配置规范化错误 由 @sanyuan0704 实现, 详情可查看 #3803
builder onBeforeCreateCompiler hook would run in build mode, so we no need to run generateIndexCode twice.
fix(app-tools): 钩子 moidfyEntryImports 必须早于钩子 htmlPartials 运行,
builder onBeforeCreateCompiler 钩子也将在 build 模式运行, 我们不需要运行 generateIndexCode 函数两次. 由 @GiveMe-A-Name 实现
fix(doc-core): mdx-rs 出现编译错误避免 panic 由 @sanyuan0704 实现, 详情可查看 #3821
fix(builder): 修复 target 为 web-worker 时无法配置 browserslist 的问题 由 @chenjiahan 实现, 详情可查看 #3806
fix(runtime): 修复 babel-plugin-styled-components 不生效的问题 由 @chenjiahan 实现, 详情可查看 #3809
fix(builder): 在使用 Rspack 构建时,output.externals 支持数组 由 @9aoy 实现, 详情可查看 #3768
fix(doc-core): demo 预览 SSG 失败的问题 由 @sanyuan0704 实现, 详情可查看 #3793
fix(doc-core): 当文档路径包含 "." 时,构建失败 由 @sanyuan0704 实现, 详情可查看 #3822
fix(doc-plugin-preview): 预览插件构建错误 由 @sanyuan0704 实现, 详情可查看 #3820
fix: 使用 path.resolve 代替 path.join 处理产物目录 由 @zllkjc 实现, 详情可查看 #3804
fix(doc-tools): peerDependencies 支持 react v18 由 @chenjiahan 实现, 详情可查看 #3771
fix(module-doc): getCustomComponent 方法找不到,由 @sanyuan0704 实现,详情可查看 #3830
文档更新 📄
其他变更
You can’t perform that action at this time.