Releases: umijs/dumi
Releases · umijs/dumi
v2.1.1
Fixed
- Locale routes lost bug
Improvements
- Use default value as initial status for color switch
- Strip useless ending slash for locale switch link
Full Changelog: v2.1.0...v2.1.1
v2.1.0
New
- Dark mode now available! Visit official site for preview: https://d.umijs.org
Features
- Add
usePrefersColor
theme api
Fixed
- Demo id conflicts bug on windows os #1386
Improvements
- Transform route path to kebab-case
- Improve user config type definition
- Use icon for RTL switch in default theme
Full Changelog: v2.0.18...v2.1.0
v2.0.18
Fixed
- Demo compile failed if import JSON module #1392
Improvements
- Disable auto CSS Modules like father 4, for
What Dev See Is What Publish Get
Full Changelog: v2.0.17...v2.0.18
v2.0.17
Fixed
- Correct
defineConfig
parameter typing #1389 @tinymins - Incremental parse failed for atom parser in monorepo
- Conventional
.dumi/loading
component not working bug - Correct tsconfig
include
option for templates
Improvements
- Support to read auto
atomId
forAPI
component - Warn for illegal self-closing
code
tag #1379 @miracles1919 - Optimize performance of atom parser in development
New Contributors
Full Changelog: v2.0.16...v2.0.17
v2.0.16
Fixed
Full Changelog: v2.0.15...v2.0.16
v2.0.15
Fixed
- Correct default value for
@
alias, usesrc
first and fall back to cwd
Full Changelog: v2.0.14...v2.0.15
v2.0.14
New
- Now mobile library development is supported, check out the official guide to learn more #1287 @xiaohuoni @PeachScript
Features
- Add
HeaderExtra
slot to default theme, for add more content to header bar - Add
NavbarExtra
slot to default theme, for add nav links incrementally
Improvements
- Support all Umi conventional files within
.dumi
dir, such as.dumi/loading.tsx
- Alias
@
tosrc
by default if existing - Speed up atom parser in monorepo
Full Changelog: v2.0.13...v2.0.14
v2.0.13
Features
- Describe usage for the automatic API table feature
- Support to pass custom processor for
AtomRenderer
theme api
Fixed
- TypeScript type definition compile error from code block demo #1357
- 2 copy react bug when write code block react demo and enable MFSU #1348
- Use legacy color for compatible with
math
feature of less-loader #1365 - API data lost bug after HMR
Full Changelog: v2.0.12...v2.0.13
v2.0.12
v2.0.11
Features
- Support to add link for feature items of default theme #1347 @Go7hic
- Support multi-lang data for
nav
theme config #1338 - Add
resolveFilter
option forapiParser
Fixed
- Use stable dumi version for templates in #1349 @mortalYoung
- Incorrect
.dumi
temp directory path when set alias for@
- Auto-alias unexpectedly overrides user's sub-path alias
Improvements
- Reuse resolve result for api parser
New Contributors
Full Changelog: v2.0.10...v2.0.11