Skip to content

Releases: umijs/dumi

v1.1.0-beta.16

10 Sep 07:52
Compare
Choose a tag to compare
v1.1.0-beta.16 Pre-release
Pre-release

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 use layout.tsx to implement it

v1.1.0-beta.14

07 Sep 03:35
Compare
Choose a tag to compare
v1.1.0-beta.14 Pre-release
Pre-release

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

07 Sep 03:33
Compare
Choose a tag to compare
v1.1.0-beta.13 Pre-release
Pre-release

New

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

24 Aug 17:49
Compare
Choose a tag to compare
v1.1.0-beta.12 Pre-release
Pre-release

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

20 Aug 07:21
Compare
Choose a tag to compare
v1.1.0-beta.10 Pre-release
Pre-release

Features

  • Suppot to omit src/layout.tsx in theme package

Improvements

  • Improve active style for previewer anchor:

图片

Fixed

  • Hyperlink lost bug for demo description in previewer
  • Async for assets command

v1.1.0-beta.9

18 Aug 16:13
Compare
Choose a tag to compare
v1.1.0-beta.9 Pre-release
Pre-release

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 in dum assets
  • Build failed if embedded demo has local dependency

v1.1.0-beta.8

17 Aug 06:46
Compare
Choose a tag to compare
v1.1.0-beta.8 Pre-release
Pre-release

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

14 Aug 12:22
Compare
Choose a tag to compare
v1.1.0-beta.7 Pre-release
Pre-release

New

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

14 Aug 12:15
Compare
Choose a tag to compare
v1.1.0-beta.5 Pre-release
Pre-release

Features

  • Support to detect related component for md
  • Add uuid for dumi-assets-types

Fixed

  • hideActions not working bug

v1.0.34

30 Jul 17:11
Compare
Choose a tag to compare

Features

  • Support to detect dependent CSS files from demo dependencies, such as antd depends antd/dist/antd.css, it is useful to run demo on CodeSandbox