Skip to content

Releases: umijs/dumi

v1.1.4

01 Feb 08:02
Compare
Choose a tag to compare

Features

  • Expand translateHelp type (boolean | string) for customize text, #521

Fixed

  • Support self-hosted gitlab sub group for edit link, #507
  • Slugs duplicate bug for embed md content
  • Expand translateHelp type for customize text, #521
  • embed with split-lines on windows, #527
  • Format the updated time in footer #532
  • Extension of filename in babel options for demo local dependencies

v1.1.3

21 Jan 14:28
Compare
Choose a tag to compare

Fixed

  • Handle unexpected frontmatter #486
  • HMR invalid when external demo main file changed
  • Module within .umi directory will be lost if configured sideEffects

Improvements

  • Improve title style for dark background demo in default theme
  • Reuse identifier & props data for the same external demos

v1.1.2

19 Jan 03:29
Compare
Choose a tag to compare

Fixed

  • PostMessage bug in mobile theme, #502
  • Installed theme lost if created local theme
  • Demo id conflicts between different locales

v1.1.1

17 Jan 14:49
Compare
Choose a tag to compare

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

  • lerna ls parse error on windows #472
  • componentName detecting error in API parser #492
  • Title & description styles in previewer for default theme

v1.1.0

31 Dec 05:02
Compare
Choose a tag to compare

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

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

25 Dec 02:41
Compare
Choose a tag to compare
v1.1.0-rc.8 Pre-release
Pre-release

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

08 Dec 11:32
Compare
Choose a tag to compare
v1.1.0-rc.7 Pre-release
Pre-release

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 & enable identifier for examples in dumi-assets-types

v1.0.38

07 Dec 10:15
Compare
Choose a tag to compare

Improvements

  • Modify the way to get lerna version, to compatible with lerna-based tools

v1.1.0-rc.6

07 Dec 10:17
Compare
Choose a tag to compare
v1.1.0-rc.6 Pre-release
Pre-release

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

01 Dec 03:31
Compare
Choose a tag to compare
v1.1.0-rc.5 Pre-release
Pre-release

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