Skip to content

v1.1.0

Compare
Choose a tag to compare
@PeachScript PeachScript released this 31 Dec 05:02
· 1203 commits to master since this release

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