Releases: umijs/dumi
Releases · umijs/dumi
v1.1.0-beta.16
Features
- Support to customize single demo route layout via
layouts/demo.tsx
in theme package - Support to load local theme from
.dumi/theme
Deprecated
- Remove
content.tsx
layout in theme API, because we can uselayout.tsx
to implement it
v1.1.0-beta.14
Features
- Add umi plugin key for modify assets meta
Improvements
- Anchor scroll compatibility for Edge, #299
- Force string for uuid field in frontmatter for assets meta data
- Only collect component name for tsx in assets meta data
Fixed
- JavaScript resources load 404 error if enable
dynamicImport
and deploy on GitHub Pages
v1.1.0-beta.13
New
motions
is available in lab, we can create dynamic demo now! https://d.umijs.org/lab#motions
Improvements
- Generate
404.html
by default, try to support to render dynamic route on some sites which not support dynamic route - Scroll to top after routing
v1.1.0-beta.12
Features
- Support to collect css file for
peerDependencies
Fixed
- Error
\n
escape for demo description field - Invalid anchor link parse for external site
Improvements
- Disable external icon if link has complex child, #271
v1.1.0-beta.10
v1.1.0-beta.9
Features
- Support to modify theme resolved result via
dumi.modifyThemeResolved
umi plugin key:
api.register({
key: 'dumi.modifyThemeResolved',
fn(theme) {
// do something
return theme;
},
});
- Support to customize page content via
src/content.tsx
in theme package
Fixed
- Route wrapper path bug on Windows (#283)
AtomAssetId
missing bug indum assets
- Build failed if embedded demo has local dependency
v1.1.0-beta.8
Fixed
- Demo single route path bug on Windows, #282
- Auto-symlink bug for group npm package, such as @umijs/preset-dumi
- Locale frontmatter field transform bug, such as
title.zh-CN
- Current locale detect bug for the default theme
- Compile error for npm linked theme
v1.1.0-beta.7
New
- The full-new theme API, we can build our own theme now, https://d.umijs.org/lab, #277 ,#142
Improvements
- Extract the single
dumi-theme-default
package that migrate from builtin theme via theme API - Use link for locale change button, #176
Fixed
- External demo path error if configured
base
, #273 - Anchor position bug when click title in content
- React DOM warning & improve sidemenu on mobile
v1.1.0-beta.5
Features
- Support to detect related component for md
- Add
uuid
for dumi-assets-types
Fixed
hideActions
not working bug
v1.0.34
Features
- Support to detect dependent CSS files from demo dependencies, such as
antd
dependsantd/dist/antd.css
, it is useful to run demo on CodeSandbox