Releases: umijs/dumi
Releases · umijs/dumi
v2.0.0-rc.10
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
Fixed
- Wrong route path for full-lang locale routes
v2.0.0-rc.7
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
Features
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
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
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
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
missingdumi/theme
alias for theme package template- Phantom raw-loader dependency for demo raw code
v2.0.0-rc.2
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
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
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 阶段继续增加,也欢迎查看 RoadMap 及 TODO List 一起参与 dumi 2 的建设