Releases: umijs/dumi
Releases · umijs/dumi
v1.1.4
v1.1.3
v1.1.2
v1.1.1
Features
- Specific git platform for edit link via
repository.platform
in package.json #461 - Specific demo url for mobile theme via
demoUrl
frontmatter - Embed part of file content via regexp on
embed
tag
Fixed
v1.1.0
Goodbye 2020, and dumi 1.1 released! Includes a lot of new features, improvements & bug fixes, you can check out the full-new website to lean more: https://d.umijs.org
New
- UI assets meta: support to generate meta data from all UI assets via
dumi assets
command, such as component, demo, API & etc. - Theme system: we can build our own theme now, or override part of default theme, or extend Markdown components
- Mobile component library: support to develop mobile component library via
dumi-theme-mobile
- Component API auto-gen: dumi can generate component API for us, via TypeScript definitions & annotations
- Umi integrated mode: we can mange components within project easily
Features
- Smart to import Katex styles, to avoid output useless style files
- Hide doc via frontmatter #303
- Generate
sitemap.xml
after build #180 #248 , visit: https://d.umijs.org/config#sitemap - Create debug demo for development env #260 , visit: https://d.umijs.org/config/frontmatter#debug
- iframe demo mode in default theme, visit: https://d.umijs.org/guide/control-demo-render#iframe-mode
hero.image
supported in default theme, #396
Improvements
- Upgrade full-remarkjs system to micromark core parser: a new, small, complete, and CommonMark compliant low-level markdown parser
- Generate
404.html
by default, try to support to render dynamic route on some sites which not support dynamic route - Improve external demo url generate logic, use demo filename first
- Cannot identify private lerna packages, #339
- Use TypeScript offcial playground instead of sylvanas to transform tsx, this can bring a 1.5x speedup when dumi start
- Use rc-tabs for source code panel in default theme, #278
- Keep scroll position after browser navigated
- Optimize performance of external demo watch logic, HMR 2x faster, 646dd4a
- Add cache for demo dependency collect logic, HMR 10x faster, b144e36
Fixed
- Local package resolve bug if child dependency has the old version of some local package
- Anchor link position bug if there has
offsetParent
validateDOMNesting errors
from navbar in default theme, #390 #391- Scrollbar cannot drag bug for sidemenu in doc mode, #376
- Dynamic import maybe blocked by adblock
- Hyperlink lost bug for demo description in previewer
v1.1.0-rc.8
Features
- Support to configure hyperlink for feature item in homepage, #440, usage
- Support to collect slugs from embed Markdown file
Improvements
- Avoid unnecessary re-render when click page, #446
- Use content title for the fallback README homepage, #408 #443
- Clean React DOM warning for code element, #418 #427
- Add exclude for scaffold, #433
Fixed
- Demo auto-identifier duplicated bug, will cause the different demos to have the same external link
v1.1.0-rc.7
Fixed
- Root routes find error when enable Umi integrated mode with
@umijs/plugin-layout
, #411 - Umi default alias (
@
&@@
) not working bug in integrated mode
Improvements
- Deprecate
uuid
& enableidentifier
for examples indumi-assets-types
v1.0.38
Improvements
- Modify the way to get lerna version, to compatible with lerna-based tools
v1.1.0-rc.6
Improvements
- Optimize performance of external demo watch logic, HMR 2x faster, 646dd4a
- Add cache for demo dependency collect logic, HMR 10x faster, b144e36
- Modify the way to get lerna version, to compatible with lerna-based tools
- Add IDE related files into gitignore for scaffolds, #401
Fixed
- Local package resolve bug if child dependency has the old version of some local package
- Doc file updated time fallback logic
v1.1.0-rc.5
Features
- Support to configure theme via
themeConfig
- Support to customize hd rules for mobile theme, #335
hero.image
supported in default theme, #396
Fixed
- Correct local package symlink if there has incorrect one
- Theme builtin components load faild if use
DUMI_THEME
env
Improvements
- Initialize theme context for demo layout