Skip to content

Latest commit

 

History

History
2948 lines (1540 loc) · 78.1 KB

CHANGELOG.md

File metadata and controls

2948 lines (1540 loc) · 78.1 KB

Changelog

Released on 2024-04-07

✨ 新特性 支持屏蔽“上一篇、下一篇”按钮

  • 在 md 文件中新增 contentFooter=false 即可实现

Released on 2024-03-22

✨ 新特性

  • 支持通过配置隐藏 header 的 name 部分.

Improvements and Fixes

What's improved

  • 支持通过配置隐藏 header 的 name 部分, closes #117 (8b84f32)

Released on 2024-03-22

🐛 修复

  • 修复 themeConfig.prefersColor.switch 配置不生效的问题, 修复类型错误,使 CI 流程恢复正常.

Improvements and Fixes

What's fixed

  • 修复 themeConfig.prefersColor.switch 配置不生效的问题, closes #110 (69882d1)
  • 修复类型错误,使 CI 流程恢复正常, closes #115 (3fb766a)

Released on 2024-02-23

✨ 新特性

  • 支持配置是否在首页显示自定义内容.

Improvements and Fixes

What's improved

  • 支持配置是否在首页显示自定义内容, closes #105 (b829abe)

Released on 2024-02-19

🐛 修复

  • Remove border-radius of Toc.

Improvements and Fixes

What's fixed

Released on 2023-11-24

🐛 修复

  • Page-tab internationalization error.

Improvements and Fixes

What's fixed

  • Page-tab internationalization error, closes #89 (c27037d)

Released on 2023-11-24

🐛 修复

  • 修复顶部首页、上下篇多语言问题.

Improvements and Fixes

What's fixed

  • 修复顶部首页、上下篇多语言问题, closes #92 (cbc6e93)

Released on 2023-09-17

🐛 修复

  • slots-foolter-index: 修复 Footer 中支持自定义 columns 数据问题.

Improvements and Fixes

What's fixed

  • slots-foolter-index: 修复 Footer 中支持自定义 columns 数据问题, closes #87 (1d1c8a4)

Released on 2023-08-07

🐛 修复

  • Fix zustand v4.4 Breaking Change.

Improvements and Fixes

What's fixed

  • Fix zustand v4.4 Breaking Change, closes #85 (cf9d07a)

Released on 2023-07-20

🐛 修复

  • 修正首屏 SSR 的内容不正确的 bug.

Improvements and Fixes

What's fixed

  • 修正首屏 SSR 的内容不正确的 bug, closes #62 (8a14b12)

Released on 2023-07-20

🐛 修复

  • 修正首屏 SSR 的内容不正确的 bug.

Improvements and Fixes

What's fixed

  • 修正首屏 SSR 的内容不正确的 bug (1c408cf)

Released on 2023-07-20

🐛 修复

  • 修复使用者无法在主题外部监听全局深色浅色模式切换的问题.

Improvements and Fixes

What's fixed

  • 修复使用者无法在主题外部监听全局深色浅色模式切换的问题, closes #82 #74 (98b8f29)

Released on 2023-07-19


Improvements and Fixes

Released on 2023-07-08

✨ 新特性

  • Feature atomId 插值变量风格转换.

Improvements and Fixes

What's improved

  • Feature atomId 插值变量风格转换, closes #78 #74 (7498522)

Released on 2023-07-08

✨ 新特性

  • Navbar 支持外链.

Improvements and Fixes

What's improved

Version 0.27.4

Released on 2023-06-12

👷 构建系统

  • Update deps.

Improvements and Fixes

Build system

Version 0.27.3

Released on 2023-06-04

🐛 修复

  • feature: Add regex to match image resources.

Improvements and Fixes

What's fixed

Version 0.27.2

Released on 2023-06-04


Improvements and Fixes

Version 0.27.1

Released on 2023-06-04

🐛 修复

  • 修正 LazyLoading 使得 Demo 加载不出来的问题.

Improvements and Fixes

What's fixed

  • 修正 LazyLoading 使得 Demo 加载不出来的问题, closes #63 (0a73d5d) - by arvinxx

Version 0.27.0

Released on 2023-05-29

✨ 新特性

  • footerConfig 添加 copyright 配置.

Improvements and Fixes

What's improved

  • footerConfig 添加 copyright 配置, closes #58 (341021b) - by 兰涛

Version 0.26.3

Released on 2023-05-29


Improvements and Fixes

Version 0.26.2

Released on 2023-05-29

🐛 修复

  • 修复侧边栏出现滚动条时底部部分隐藏的问题.

Improvements and Fixes

What's fixed

  • 修复侧边栏出现滚动条时底部部分隐藏的问题, closes #35 (af7c69c) - by Y-io

Version 0.26.1

Released on 2023-05-29

🐛 修复

  • 修正外链无法打开新标签的问题.

Improvements and Fixes

What's fixed

  • 修正外链无法打开新标签的问题, closes #57 (53c0f0e) - by 兰涛

Version 0.26.0

Released on 2023-05-26

✨ 新特性

  • 实现 demo 颗粒度的主题切换.

Improvements and Fixes

What's improved

Version 0.25.3

Released on 2023-05-26


Improvements and Fixes

Version 0.25.2

Released on 2023-05-20

🐛 修复

  • Fix LazyLoad componentDidMount dom no use error, 将 antd 作为 deps,修正不使用 antd 的组件库无法正常打开文档的问题.

Improvements and Fixes

What's fixed

  • Fix LazyLoad componentDidMount dom no use error, closes #54 (2094543) - by 陈帅
  • 将 antd 作为 deps,修正不使用 antd 的组件库无法正常打开文档的问题, closes #51 (acfbad7) - by arvinxx

Version 0.25.1

Released on 2023-05-11

🐛 修复

  • LazyLoad add loading dom.

Improvements and Fixes

What's fixed

  • LazyLoad add loading dom, closes #45 (7d45403) - by 陈帅

Version 0.25.0

Released on 2023-05-06

✨ 新特性

  • Support lazy load demo.

Improvements and Fixes

What's improved

  • Support lazy load demo, closes #44 (89b24d1) - by 陈帅

Version 0.24.0

Released on 2023-05-04


Improvements and Fixes

Version 0.24.0-beta.1

Released on 2023-05-04

✨ 新特性

  • Feature 组件支持外部打开链接, 支持隐藏首页配置.

Improvements and Fixes

What's improved

Version 0.23.0

Released on 2023-05-04

✨ 新特性

  • 支持站点主题全局继承功能.

Improvements and Fixes

What's improved

Version 0.22.1

Released on 2023-04-23

🐛 修复

  • 修正 Hero 链接打开不正确的问题.

Improvements and Fixes

What's fixed

Version 0.22.0

Released on 2023-04-23


Improvements and Fixes

Version 0.22.0-beta.2

Released on 2023-04-23

✨ 新特性

  • 支持 dumi 的 socialLinks 配置.

Improvements and Fixes

What's improved

Version 0.22.0-beta.1

Released on 2023-04-23

✨ 新特性

  • 支持并优化 Tabs 样式.

🐛 修复

  • 修正 tabs 模式下 toc 报错的问题.

Improvements and Fixes

What's improved

What's fixed

Version 0.21.4

Released on 2023-04-19

🐛 修复

  • 移除 StrictMode.

Improvements and Fixes

What's fixed

Version 0.21.3

Released on 2023-04-09

🐛 修复

  • 补充导出 store 类型定义.

Improvements and Fixes

What's fixed

Version 0.21.2

Released on 2023-04-09

🐛 修复

  • 补充导出 store 类型定义.

Improvements and Fixes

What's fixed

Version 0.21.1

Released on 2023-04-04

🐛 修复

  • 修正 WEB 端锚点滚动后位置仍然看不到的问题.

👷 构建系统

  • 升级 antd-style 版本.

Improvements and Fixes

What's fixed

  • 修正 WEB 端锚点滚动后位置仍然看不到的问题, closes #32 (c1d43be) - by yuuunagi

Build system

Version 0.21.0

Released on 2023-03-29

✨ 新特性

  • 主题算法支持自定义主色变量, 初步实现一版 OKLCH 色板, 实现主色与功能色的关联关系, 支持显示色板.

👷 构建系统

  • 调整 chroma.js 作为 deps 依赖.

Improvements and Fixes

What's improved

Build system

Version 0.20.1

Released on 2023-03-27


Improvements and Fixes

Version 0.20.0

Released on 2023-03-25

✨ 新特性

  • 支持 sidebar:false 的 markdown 配置, 支持 tocDepth 的 markdown 配置, 支持文档级别的 token 配置.

🐛 修复

  • 修正锚点滚动后位置仍然看不到的问题.

Improvements and Fixes

What's improved

What's fixed

  • 修正锚点滚动后位置仍然看不到的问题 (0e6b2ad) - by arvinxx

Version 0.19.7

Released on 2023-03-25

🐛 修复

  • 修正 link 无法跳转新页面的问题.

Improvements and Fixes

What's fixed

Version 0.19.6

Released on 2023-03-25

🐛 修复

  • 修正浏览器高度不够时 Menu 无法完整显示的问题.

Improvements and Fixes

What's fixed

  • 修正浏览器高度不够时 Menu 无法完整显示的问题, closes #20 (078d511) - by cc7gs

Version 0.19.5

Released on 2023-03-25

🐛 修复

  • 修正任意编辑框内输入斜杠时搜索框抢夺焦点的问题.

Improvements and Fixes

What's fixed

  • 修正任意编辑框内输入斜杠时搜索框抢夺焦点的问题, closes #23 (bfb290a) - by arvinxx

Version 0.19.4

Released on 2023-03-19

👷 构建系统

  • 基于 antd-style 重构 ssr 实现.

Improvements and Fixes

Build system

Version 0.19.3

Released on 2023-03-19

🐛 修复

  • 支持 18 以下的 React 版本.

Improvements and Fixes

What's fixed

  • 支持 18 以下的 React 版本, closes #11 #10 (bde6e23) - by CJY

Version 0.19.2

Released on 2023-03-17

🐛 修复

  • 修正 contentMaxWidth 不支持字符串的问题.

Improvements and Fixes

What's fixed

  • 修正 contentMaxWidth 不支持字符串的问题 (7784d4a) - by arvinxx

Version 0.19.1

Released on 2023-03-14

🐛 修复

  • 补充 Footer 中的 Ant Design 官网.

Improvements and Fixes

What's fixed

Version 0.19.0

Released on 2023-03-14

✨ 新特性

  • 支持自定义主题 token 的初始值配置.

Improvements and Fixes

What's improved

Version 0.18.0

Released on 2023-03-13

✨ 新特性

  • 导出主题包的 useSiteStore 与部分 selectors,供外部自定义使用.

Improvements and Fixes

What's improved

  • 导出主题包的 useSiteStore 与部分 selectors,供外部自定义使用 (ebf672c) - by arvinxx

Version 0.17.0

Released on 2023-03-13

✨ 新特性

  • 添加 ApiHeader slot,支持外部替换 serviceList.

Improvements and Fixes

What's improved

  • 添加 ApiHeader slot,支持外部替换 serviceList (05c1f07) - by arvinxx

Version 0.16.0

Released on 2023-03-03

✨ 新特性

  • 支持 codePlacement 语法来控制预览器方向.

Improvements and Fixes

What's improved

  • 支持 codePlacement 语法来控制预览器方向 (55b461a) - by arvinxx

Version 0.15.1

Released on 2023-03-02

🐛 修复

  • 修正 markdown 没有 lang 时会报错的问题.

Improvements and Fixes

What's fixed

Version 0.15.0

Released on 2023-03-02

✨ 新特性

  • 支持开启 SSR 预渲染.

🐛 修复

  • 补充插件 key,修正安装报错.

Improvements and Fixes

What's improved

What's fixed

Version 0.14.0

Released on 2023-03-01


Improvements and Fixes

Version 0.14.0-beta.5

Released on 2023-03-01


Improvements and Fixes

Version 0.14.0-beta.4

Released on 2023-03-01

✨ 新特性

  • Footer 支持配置.

Improvements and Fixes

What's improved

Version 0.14.0-beta.3

Released on 2023-03-01

👷 构建系统

  • 补充类型定义.

Improvements and Fixes

Build system

Version 0.14.0-beta.2

Released on 2023-03-01

🐛 修复

  • 修正 ApiHeaderConfig 类型定义.

Improvements and Fixes

What's fixed

Version 0.14.0-beta.1

Released on 2023-03-01

✨ 新特性

  • 增加 ThemeConfig 类型定义配置文件, 补充 Hero config 配置.

Improvements and Fixes

What's improved

Version 0.13.1

Released on 2023-03-01


Improvements and Fixes

Version 0.13.0

Released on 2023-02-26

✨ 新特性

  • 支持更加灵活的 ApiHeader 配置能力.

Improvements and Fixes

What's improved

Version 0.12.0

Released on 2023-02-26

✨ 新特性

  • 默认隔离 demo 与文档站点的主题样式.

Improvements and Fixes

What's improved

Version 0.11.2

Released on 2023-02-23

👷 构建系统

  • 修正版本号问题.

Improvements and Fixes

Build system

Version 0.11.1

Released on 2023-02-23

🐛 修复

  • 适配 antd-style 的实现.

Improvements and Fixes

What's fixed

Version 0.11.0

Released on 2023-02-23

✨ 新特性

  • 实现 SSR 样式抽取能力.

Improvements and Fixes

What's improved

Version 0.10.5

Released on 2023-02-23


Improvements and Fixes

Version 0.10.4

Released on 2023-02-22

🐛 修复

  • 修正 GithubButton 无法正常渲染的问题.

Improvements and Fixes

What's fixed

Version 0.10.3

Released on 2023-02-22

🐛 修复

  • 修正首页白屏的问题.

Improvements and Fixes

What's fixed

Version 0.10.2

Released on 2023-02-19


Improvements and Fixes

Version 0.10.1

Released on 2023-02-19


Improvements and Fixes

Version 0.10.0

Released on 2023-02-19

✨ 新特性

  • 新增 ContentFooter ,支持文档上下篇切换的交互.

Improvements and Fixes

What's improved

  • 新增 ContentFooter ,支持文档上下篇切换的交互 (2dc9af7) - by arvinxx

Version 0.9.16

Released on 2023-02-19


Improvements and Fixes

Version 0.9.15

Released on 2023-02-19


Improvements and Fixes

Version 0.9.14

Released on 2023-02-19


Improvements and Fixes

Version 0.9.13

Released on 2023-02-19

👷 构建系统

  • 升级 antd-style 版本.

Improvements and Fixes

Build system

Version 0.9.12

Released on 2023-02-17

🐛 修复

  • 补充 module 入口.

Improvements and Fixes

What's fixed

Version 0.9.11

Released on 2023-02-17

🐛 修复

  • 将 styled-components 替换为 @emotion/styled, 减少产物体积.

Improvements and Fixes

What's fixed

  • 将 styled-components 替换为 @emotion/styled, 减少产物体积 (616d464) - by arvinxx

Version 0.9.10

Released on 2023-02-16

🐛 修复

  • 修正 antd-style 移除 styled 方法的 Breaking Change.

Improvements and Fixes

What's fixed

  • 修正 antd-style 移除 styled 方法的 Breaking Change (353df4b) - by arvinxx

Version 0.9.9

Released on 2023-02-16


Improvements and Fixes

Version 0.9.8

Released on 2023-02-16


Improvements and Fixes

Version 0.9.7

Released on 2023-02-15

👷 构建系统

  • 导出 HighlighterSyntaxTheme 类型.

Improvements and Fixes

Build system

Version 0.9.6

Released on 2023-02-15

🐛 修复

  • 修正 heroTitle 选取时有逻辑丢失的问题.

Improvements and Fixes

What's fixed

  • 修正 heroTitle 选取时有逻辑丢失的问题 (33b2a1d) - by arvinxx

Version 0.9.5

Released on 2023-02-15

🐛 修复

  • 修正 footer issue 的链接问题.

Improvements and Fixes

What's fixed

Version 0.9.4

Released on 2023-02-15

🐛 修复

  • 修正国际化问题.

Improvements and Fixes

What's fixed

Version 0.9.3

Released on 2023-02-15

🐛 修复

  • 优化 footer 展示内容.

Improvements and Fixes

What's fixed

Version 0.9.2

Released on 2023-02-15

🐛 修复

  • 修正 footer 展示内容.

Improvements and Fixes

What's fixed

Version 0.9.1

Released on 2023-02-15

🐛 修复

  • 优化 ApiHeader 组件的 pkg 字段兜底逻辑, 没有配置 logo 字段时不展示 Logo 图.

Improvements and Fixes

What's fixed

Version 0.9.0

Released on 2023-02-15

✨ 新特性

  • 添加 LangSwitch 组件.

Improvements and Fixes

What's improved

Version 0.8.12

Released on 2023-02-15


Improvements and Fixes

Version 0.8.11

Released on 2023-02-15

👷 构建系统

  • 修改 Features 类型定义.

Improvements and Fixes

Build system

Version 0.8.10

Released on 2023-02-15

👷 构建系统

  • 补充类型定义导出, 调整 Features 类型定义.

Improvements and Fixes

Build system

Version 0.8.9

Released on 2023-02-15


Improvements and Fixes

Version 0.8.8

Released on 2023-02-14


Improvements and Fixes

Version 0.8.7

Released on 2023-02-14


Improvements and Fixes

Version 0.8.6

Released on 2023-02-14


Improvements and Fixes

Version 0.8.5

Released on 2023-02-14

👷 构建系统

  • 优化依赖关系, @ant-design/icons 作为 peerDeps.

Improvements and Fixes

Build system

  • 优化依赖关系, @ant-design/icons 作为 peerDeps (edfd255) - by arvinxx

Version 0.8.4

Released on 2023-02-14


Improvements and Fixes

Version 0.8.3

Released on 2023-02-14


Improvements and Fixes

Version 0.8.2

Released on 2023-02-14


Improvements and Fixes

Version 0.8.1

Released on 2023-02-14

🐛 修复

  • 修正 title 无法替换的问题.

Improvements and Fixes

What's fixed

Version 0.8.0

Released on 2023-02-14

✨ 新特性

  • 主题包支持配置 ApiHeader,为组件增加头部引导, 增加 ApiHeader 组件导出.

Improvements and Fixes

What's improved

Version 0.7.4

Released on 2023-02-14

🐛 修复

  • 修正预览器引入造成的循环问题.

Improvements and Fixes

What's fixed

Version 0.7.3

Released on 2023-02-14


Improvements and Fixes

Version 0.7.2

Released on 2023-02-14

🐛 修复

  • 修正文本前后缀空格截断的问题,并补充截取的 props.

Improvements and Fixes

What's fixed

  • 修正文本前后缀空格截断的问题,并补充截取的 props (079bd86) - by arvinxx

Version 0.7.1

Released on 2023-02-14


Improvements and Fixes

Version 0.7.0

Released on 2023-02-14

✨ 新特性

  • 完善并导出 Highlighter 语法高亮组件.

Improvements and Fixes

What's improved

Version 0.6.1

Released on 2023-02-14


Improvements and Fixes

Version 0.6.0

Released on 2023-02-13

✨ 新特性

  • 使用 shiki 优化高亮语法显示.

Improvements and Fixes

What's improved

Version 0.5.2

Released on 2023-02-13

🐛 修复

  • 修正默认的语法高亮不准确的问题.

Improvements and Fixes

What's fixed

Version 0.5.1

Released on 2023-02-13

🐛 修复

  • 兼容 frontmatter 与 themeConfig.

Improvements and Fixes

What's fixed

Version 0.5.0

Released on 2023-02-13

✨ 新特性

  • 导出 DumiSiteProvider.

Improvements and Fixes

What's improved

Version 0.4.0

Released on 2023-02-13

✨ 新特性

  • 导出 Toc 组件.

Improvements and Fixes

What's improved

Version 0.3.1

Released on 2023-02-13

🐛 修复

  • 修正缺少默认导出的问题.

Improvements and Fixes

What's fixed

Version 0.3.0

Released on 2023-02-13

✨ 新特性

  • 导出 Footer、Hero、Feature 组件.

Improvements and Fixes

What's improved

Version 0.2.2

Released on 2023-02-13

🐛 修复

  • 修正导入依赖问题.

Improvements and Fixes

What's fixed

Version 0.2.1

Released on 2023-02-13

🐛 修复

  • 修正主题包 postinstall 污染问题.

Improvements and Fixes

What's fixed

Version 0.2.0

Released on 2023-02-13

✨ 新特性

  • 提供初步适配配置.

Improvements and Fixes

What's improved

Version 0.1.0

Released on 2023-02-12

✨ 新特性

  • 从 antd-style 站点迁移 dumi 主题包.

Improvements and Fixes

What's improved