Skip to content

Releases: umijs/dumi

v1.0.5

08 Mar 15:34
Compare
Choose a tag to compare

Features

  • Support to init dumi project via npx @umijs/create-dumi-lib or npx @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

08 Mar 15:29
Compare
Choose a tag to compare

Features

  • Support to open external demo in a single route

Improvements

  • Compatible with lerna 2

v1.0.3

06 Mar 06:51
Compare
Choose a tag to compare

Fixed

  • Process no response bug after run build, #102

v1.0.2

05 Mar 16:43
Compare
Choose a tag to compare

Fixed

  • Demo rerender bug when scrolling, #98 , #99
  • External demo frontmatter HMR bug, #68

v1.0.1

04 Mar 18:03
Compare
Choose a tag to compare

Improvements

  • Discard similar results for search bar

Fixed

  • Sidemenu disable bug in default theme

v1.0.0

03 Mar 08:43
Compare
Choose a tag to compare

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

03 Mar 08:45
Compare
Choose a tag to compare
v1.0.0-beta.16 Pre-release
Pre-release

Fixed

  • Catch error when get updated time for doc file
  • React curly brackets escape error (still need to optimize)

v1.0.0-beta.15

03 Mar 08:47
Compare
Choose a tag to compare
v1.0.0-beta.15 Pre-release
Pre-release

Improvements

  • Add edit link for the "Edit on GitHub" link

Fixed

  • Error after click anchor link

v1.0.0-alpha.17

01 Feb 10:28
Compare
Choose a tag to compare
v1.0.0-alpha.17 Pre-release
Pre-release

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

17 Jan 04:24
Compare
Choose a tag to compare
v1.0.0-alpha.16 Pre-release
Pre-release

Features

  • Support to write frontmatters in the embedded demo

Breaking Change (maybe a half)

  • Support to configure transform CSS property via the transform frontmatter, code block modifier and code tag property, use to switch transform: translate(0, 0) for demo wrapper element to change CSS containing block (catch fixed 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.