v2.10.0
Release v2.10.0
Features:
-
feat: .env file should be load when prod server is started
feat: 在 server 启动时,.env 文件应该被加载
-
feat: rspack-provider support tools.babel
feat: rspack-provider 支持 tools.babel
feat(doc-tools): support --config CLI option
feat(doc-tools): 支持 --config CLI 选项
-
feat: when enable bff handle render, support use
useContextto get framework plugin context in data loader.feat: 当开启 BFF 托管渲染时,支持在 data loader 中使用
useContext获取框架插件提供的上下文。 -
chore: upgrade jest and puppeteer
chore: 升级 jest 和 puppeteer 到 latest
-
feat(core): throw warnings when config file is not found
feat(core): 找不到配置文件时抛出 warning
-
feat(doc-core): improve paragraph padding
feat(doc-core): 优化段落间距
-
feat: support plugin in module-tools
feat: 支持模块工程插件
-
feat(doc-core): improve directive block style
feat(doc-core): 优化 directive block 的样式
-
feat: warning when user registe plugin duplication
feat: 当用户重复注册插件时进行 warning 提示
-
chore(deps): bump webpack from 5.75.0 to 5.76.2
chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2
-
feat: create tools add doc solution
feat: create 工具增加文档站工程方案
-
chore(builder): update rspack & show rspack format error
chore(builder): 更新 rspack 版本 & 优化 rspack 错误日志输出
-
feat(app-tools): support builder-plugin-node-polyfill & output.disableNodePolyfill false when use Rspack
feat(app-tools): 在启动 Rspack 时,支持 builder-plugin-node-polyfill 插件以及将 output.disableNodePolyfill 设置为 false
-
feat(doc-tools): add a tip when no search result
feat(doc-tools): 增加无搜索结果时的提示文案
-
feat: add output.splitRouteChunks
feat: 添加 output.splitRouteChunks 配置
-
feat: export getCustomMDXComponent
feat: 导出getCustomMDXComponent
-
chore: appearance button position
chore: 调整主题切换按钮位置
-
feat:
security.checkSyntaxsupport exclude configuration.feat:
security.checkSyntax支持 exclude 配置项。 -
perf: improve routerPlugin performance
perf: 优化 routerPlugin 的性能
Bug Fix:
-
fix: storybook generator dependencies judge error
fix: 修复 storybook 生成器判断依赖时异常
-
fix: support tools.devServer.header include string[] type, remove get & delete & apply api in hook or middleware api
fix: 支持 tools.devServer.header 包含字符串数组类型,移除 Hook 和 Middleware 中对 响应 Cookie 的获取、删除操作
-
fix(doc-core): fix left sidebar height
fix(doc-core): 修复左侧 sidebar 高度不足的问题
-
fix: add types field in package.json
fix: 添加 package.json 中的 types 字段
-
fix: fix typos
fix: 修复拼写错误
-
fix: nav link normalize
fix: nav link 规范化
-
fix: fix optional peerDep cause ghost dep
修复 peerDep 带来的幻影依赖问题
-
fix(doc-core): fix code background color in containers
fix(doc-core): 修复 container 中的代码块背景色
-
fix: inject i18n placeholder in streaming ssr
fix: 流式 SSR 中,注入 i18n 数据占位字段
-
fix: main doc theme
fix: 首页深色模式问题
-
fix: api lang and merge doc logic
fix: API组件的语言切换以及文档配置合并逻辑
-
fix: split server and runtime code in plugin-data-loader
fix: 分离 plugin-data-loader 中服务端和客户端运行时的代码
-
fix: should get publicPath from webpack stats in router-plugin
fix: 应该从 webpack stats 获得 publicPath
-
fix: update arco-design version
fix: 升级 arco-design 的版本
-
fix(builder): update source.define type and schema check in rspack-provider
fix(builder): 更新 rspack-provider 中 source.define 的类型定义与校验
-
fix: Temporary forbidden the
tools.babelin rspack ,because thetools.babelin rspack would cause a syntax errorfix: 由于使用 tools.babel 会引起语法错误,暂时在 rspack 中禁用 tools.babel 配置能力
-
fix: fix globalStyle path
fix: 修复全局样式文件路径