Skip to content

v2.10.0

Choose a tag to compare

@github-actions github-actions released this 23 Mar 09:27

Release v2.10.0

Features:

  • #3194

    feat: .env file should be load when prod server is started

    feat: 在 server 启动时,.env 文件应该被加载

  • #3140

    feat: rspack-provider support tools.babel

    feat: rspack-provider 支持 tools.babel

    feat(doc-tools): support --config CLI option

    feat(doc-tools): 支持 --config CLI 选项

  • #3193

    feat: when enable bff handle render, support use useContext to get framework plugin context in data loader.

    feat: 当开启 BFF 托管渲染时,支持在 data loader 中使用 useContext 获取框架插件提供的上下文。

  • #3174

    chore: upgrade jest and puppeteer

    chore: 升级 jest 和 puppeteer 到 latest

  • #3186

    feat(core): throw warnings when config file is not found

    feat(core): 找不到配置文件时抛出 warning

  • #3185

    feat(doc-core): improve paragraph padding

    feat(doc-core): 优化段落间距

  • #3203

    feat: support plugin in module-tools

    feat: 支持模块工程插件

  • #3196

    feat(doc-core): improve directive block style

    feat(doc-core): 优化 directive block 的样式

  • #3218

    feat: warning when user registe plugin duplication

    feat: 当用户重复注册插件时进行 warning 提示

  • #3165

    chore(deps): bump webpack from 5.75.0 to 5.76.2

    chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2

  • #3191

    feat: create tools add doc solution

    feat: create 工具增加文档站工程方案

  • #3173

    chore(builder): update rspack & show rspack format error

    chore(builder): 更新 rspack 版本 & 优化 rspack 错误日志输出

  • #3195

    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

  • #3214

    feat(doc-tools): add a tip when no search result

    feat(doc-tools): 增加无搜索结果时的提示文案

  • #3221

    feat: add output.splitRouteChunks

    feat: 添加 output.splitRouteChunks 配置

  • #3203

    feat: export getCustomMDXComponent

    feat: 导出getCustomMDXComponent

  • #3187

    chore: appearance button position

    chore: 调整主题切换按钮位置

  • #3206

    feat: security.checkSyntax support exclude configuration.

    feat: security.checkSyntax 支持 exclude 配置项。

  • #3208

    perf: improve routerPlugin performance

    perf: 优化 routerPlugin 的性能

Bug Fix:

  • #3184

    fix: storybook generator dependencies judge error

    fix: 修复 storybook 生成器判断依赖时异常

  • #3222

    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 的获取、删除操作

  • #3197

    fix(doc-core): fix left sidebar height

    fix(doc-core): 修复左侧 sidebar 高度不足的问题

  • #3198

    fix: add types field in package.json

    fix: 添加 package.json 中的 types 字段

  • #3190

    fix: fix typos

    fix: 修复拼写错误

  • #3172

    fix: nav link normalize

    fix: nav link 规范化

  • #3189

    fix: fix optional peerDep cause ghost dep

    修复 peerDep 带来的幻影依赖问题

  • #3232

    fix(doc-core): fix code background color in containers

    fix(doc-core): 修复 container 中的代码块背景色

  • #3192

    fix: inject i18n placeholder in streaming ssr

    fix: 流式 SSR 中,注入 i18n 数据占位字段

  • #3179

    fix: main doc theme

    fix: 首页深色模式问题

  • #3217

    fix: api lang and merge doc logic

    fix: API组件的语言切换以及文档配置合并逻辑

  • #3224

    fix: split server and runtime code in plugin-data-loader

    fix: 分离 plugin-data-loader 中服务端和客户端运行时的代码

  • #3211

    fix: should get publicPath from webpack stats in router-plugin

    fix: 应该从 webpack stats 获得 publicPath

  • #3229

    fix: update arco-design version

    fix: 升级 arco-design 的版本

  • #3170

    fix(builder): update source.define type and schema check in rspack-provider

    fix(builder): 更新 rspack-provider 中 source.define 的类型定义与校验

  • #3223

    fix: Temporary forbidden the tools.babel in rspack ,because the tools.babel in rspack would cause a syntax error

    fix: 由于使用 tools.babel 会引起语法错误,暂时在 rspack 中禁用 tools.babel 配置能力

  • #3207

    fix: fix globalStyle path

    fix: 修复全局样式文件路径