Releases: umijs/dumi
Releases 路 umijs/dumi
v2.1.9
v2.1.8
Fixed
- Wrong sidebar config for 1-level routes of non-default locales #1459
- Language switch lost in root route of non-default locales #1458
Improvements
- Support image with data url #1460 @AkaraChen
- Remove useless question mark from mobile demo url #1462
Full Changelog: v2.1.7...v2.1.8
v2.1.7
Features
- Support social links in theme config #1444 @kiner-tang
Fixed
- Command & plugin hook bugs that casued by api parser worker thread #1448
- SSR failed bug for demo layout of mobile theme #1451
- Skip Umi
prepare
plugin as a workaround, to avoid start failed since umi@4.0.48
Improvements
- Skip pre-render for demo pages to improve build performance #1449
Full Changelog: v2.1.6...v2.1.7
v2.1.6
Features
- Add
resolve.forceKebabCaseRouting
option to disable forced kebab-case conversion for routes
Improvements
- Parser api definitions in an independent worker thread, to avoid blocking main thread tasks
New Contributors
Full Changelog: v2.1.5...v2.1.6
v2.1.5
Features
- Support to disable logo #1435 @shulandmimi
Fixed
- New react transform not working in CodeSandbox template #1436 @AkaraChen
- Dependency module load failed in code block when enable MFSU #1422
- HTML tags from demo frontmatter are escaped unexpectedly #1432
- Wrong dist path for conventional pages on Windows OS #1377 #1429
Improvements
- Move api parse logic to
onDevCompileDone
hook for development env, to avoid blocking forsetup
anddev
commands - Improve tsconfig
include
option warning
New Contributors
- @AkaraChen made their first contribution in #1436
- @shulandmimi made their first contribution in #1435
Full Changelog: v2.1.4...v2.1.5
v2.1.4
Fixed
- MFSU compile failed when set mfsu as
true
#1430 @kiner-tang
Improvements
- Add default description for templates #1418 @txp1035
- Put a example page for site template #1421 @txp1035
- Update
addContentTab
args, renamename
totitle
#1427 @wyy0512 - Improve args for
generateMetadata
method of techStack
New Contributors
- @BENcorry made their first contribution in #1431
- @kiner-tang made their first contribution in #1430
Full Changelog: v2.1.3...v2.1.4
v2.1.3
Features
- Support debug page that only render in development #1410
Fixed
- Correct config file type definitions #1412, #1419 @shunyue1320, #1416 @Codennnn
- Add default home title for site template #1415 @txp1035
Improvements
- Workaround to resolve atom parser patch error #1420
- Improve route kebab-case logic, to avoid transform
v5
tov-5
New Contributors
- @shunyue1320 made their first contribution in #1419
Full Changelog: v2.1.2...v2.1.3
v2.1.2
Features
- Support to set tab title via
addContentTab
api #1407 @wyy0512 - Support debug demo that only render in development
- Keep attribute camelCase for custom global components
- Demo frontmatter support
defaultShowCode
Fixed
- Wrong exclude regexp for conventional react routes #1409 @FriedRiceNoodles
- Scrollbar style in dark mode #1411 @LeeWeisheng
Improvements
- Allow unknown keys in
.dumirc.ts
for tsc check
New Contributors
- @FriedRiceNoodles made their first contribution in #1409
- @LeeWeisheng made their first contribution in #1411
Full Changelog: v2.1.1...v2.1.2
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