Releases: umijs/dumi
Releases · umijs/dumi
v1.0.5
Features
- Support to init dumi project via
npx @umijs/create-dumi-lib
ornpx @umijs/create-dumi-app
- Support to import umi api from dumi
Improvements
- Do not group single children route
- Padding for scroll content of default theme
v1.0.4
Features
- Support to open external demo in a single route
Improvements
- Compatible with lerna 2
v1.0.3
v1.0.2
v1.0.1
Improvements
- Discard similar results for search bar
Fixed
- Sidemenu disable bug in default theme
v1.0.0
Hello dumi!
This is the first stable version of dumi, to checkout features & docs, please visit https://d.umijs.org.
It would be better if you could join us to improve dumi :D
v1.0.0-beta.16
Fixed
- Catch error when get updated time for doc file
- React curly brackets escape error (still need to optimize)
v1.0.0-beta.15
Improvements
- Add edit link for the "Edit on GitHub" link
Fixed
- Error after click anchor link
v1.0.0-alpha.17
Features
- Support to add
locale
prefix for frontmatter of demo - Support to write markdown in
desc
field of demo frontmatter
Improvements
- Include
src
folder of lerna packages by default
v1.0.0-alpha.16
Features
- Support to write frontmatters in the embedded demo
Breaking Change (maybe a half)
- Support to configure
transform
CSS property via thetransform
frontmatter, code block modifier andcode
tag property, use to switchtransform: translate(0, 0)
for demo wrapper element to change CSS containing block (catchfixed
element), the following ways to do the same thing:
``` jsx /** * transform: true */ // source code ```
``` jsx | transform // source code ```
<code src="path/to/demo" transform>
In the previous versions, the transform: translate(0, 0)
is enable by default, but in the v1.0.0-alpha.16
it is not, so if you have been write a demo that contains fixed
element, and you still want to position it according to the demo wrapper element, you need to enable transform
via the above ways after upgrade.