Skip to content

Releases: umijs/dumi

v2.0.0-rc.10

14 Nov 13:22
Compare
Choose a tag to compare
v2.0.0-rc.10 Pre-release
Pre-release

Improvements

  • Generate title, description & keywords in pre-rendered html

Full Changelog: v2.0.0-rc.9...v2.0.0-rc.10

v2.0.0-rc.8

13 Nov 11:41
Compare
Choose a tag to compare
v2.0.0-rc.8 Pre-release
Pre-release

Fixed

  • Wrong route path for full-lang locale routes

v2.0.0-rc.7

13 Nov 07:32
Compare
Choose a tag to compare
v2.0.0-rc.7 Pre-release
Pre-release

Features

  • Auto-transform slots imports for theme package via father-plugin-dumi-theme, to make sure theme slots can be override

Fixed

  • Non-component files be collected unexpectedly in theme package

Improvements

  • Pre-bundle analytics plugin from @umijs/plugins to reduce install size

v2.0.0-rc.6

12 Nov 09:26
Compare
Choose a tag to compare
v2.0.0-rc.6 Pre-release
Pre-release

Features

  • Add Badge global component in default theme, usage
  • Support container syntax for markdown, usage

Fixed

  • Sidebar render error when react < 18 #1265 @wangyi12358
  • Theme temp file generate bug

Improvements

  • Special characters are not allowed in route path

v2.0.0-rc.5

11 Nov 10:52
Compare
Choose a tag to compare
v2.0.0-rc.5 Pre-release
Pre-release

Improvements

  • Localize page routes from .dumi/pages, like markdown routes #1263 @BoyYangzai
  • Imporve detailed styles & UX for default theme

Fixed

  • Re-export bug if theme module has no default export
  • Async chunk name includes unexpected @ sign
  • FrontMatter conflicting between host markdown & embed markdown
  • className & attributes lost for table elements in markdown

v2.0.0-rc.4

10 Nov 11:28
Compare
Choose a tag to compare
v2.0.0-rc.4 Pre-release
Pre-release

Fixed

  • External nav link render error in default theme #1260 @miracles1919
  • HMR not working bug if demo has syntax error #1262 @Dunqing
  • Conventional global files lost bug after HMR, such as global.ts
  • Unexpected dumi/theme alias for theme package template

Improvements

  • Improve implementation of app runtime plugin
  • Improve mobile responsive styles for content tab

v2.0.0-rc.3

09 Nov 12:12
Compare
Choose a tag to compare
v2.0.0-rc.3 Pre-release
Pre-release

Features

  • Handle local hyperlinks in markdown #1258 @miracles1919
  • Mobile device resposive support for default theme
  • Make demo routes static if exportStatic enabled

Fixed

  • May collect wrong dependency exports from markdown in MFSU
  • tsconfig.json missing dumi/theme alias for theme package template
  • Phantom raw-loader dependency for demo raw code

v2.0.0-rc.2

08 Nov 12:49
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release

Features

  • Support configure analytics (ga & baidu)

Fixed

  • Demo parsing failed bug when depend on any local file without extension
  • Wrong cache when demo local dependencies changed

v2.0.0-rc.1

07 Nov 13:11
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

Features

  • Support nested embed tag in markdown
  • Auto-generate page description from markdown content

Fixed

  • Server-side rendering compatibility for default theme

v2.0.0-rc.0

04 Nov 10:20
Compare
Choose a tag to compare
v2.0.0-rc.0 Pre-release
Pre-release

dumi 2.0 RC now available, check out the preview site for upgrade: https://next.d.umijs.org/

dumi 2.0 RC 版现已推出,可访问预览站点了解升级步骤:https://next.d.umijs.org/

重点升级

  • 🚀 更好的编译性能:通过结合使用 Umi 4 MFSU、esbuild、SWC、持久缓存等方案,带来比 dumi 1.x 更快的编译速度
  • 🔍 内置全文搜索:不需要接入任何三方服务,标题、正文、demo 等内容均可被搜索,支持多关键词搜索,且不会带来产物体积的增加
  • 🎨 全新主题系统:为主题包增加插件、国际化等能力的支持,且参考 Docusaurus 为主题用户提供局部覆盖能力,更强更易用
  • 🚥 约定式路由增强:通过拆分路由概念、简化路由配置等方式,让路由生成一改 dumi 1.x 的怪异、繁琐,更加符合直觉
  • 💡 资产元数据 2.0:在 1.x 及 JSON Schema 的基础上对资产属性定义结构进行全新设计,为资产的流通提供更多可能
  • 💎 继续为组件研发而生:提供与全新的 NPM 包研发工具 father 4 集成的脚手架,为开发者提供一站式的研发体验

更多功能及文档内容将在 RC 阶段继续增加,也欢迎查看 RoadMapTODO List 一起参与 dumi 2 的建设