Skip to content

Releases: umijs/dumi

v1.1.12

06 Apr 17:12
Compare
Choose a tag to compare

Features

  • Simulate touch events for demos in mobile theme, #602

Improvements

  • Guess component name from absolute path for API component, #605

Fixed

  • Index menu error when using custom way, #613
  • Prefers color match media event compatible with Safari 13-, #617
  • SSR failed from usePrefersColor, #625
  • Block example value error in assets meta data

v1.1.10

22 Mar 14:42
Compare
Choose a tag to compare

Features

  • Switch between PC/mobile demo previewer via mobile: false frontmatter in dumi-theme-mobile, #468
  • Support http protocol for self-hosting gitlab & other platforms, #597

Fixed

  • JSON file load faild with raw-code-loader, #592
  • Override bug from hoist raw code imports, #589

Improvements

  • Add demos chunk name for split chunks
  • Listen prefers color change in demo single route

v1.1.9

16 Mar 16:26
Compare
Choose a tag to compare

Improvements

  • Reload iframe demo when prefers color changed, prepare for dark theme, #490

Fixed

  • Top-level await error for inline demos if enable dynamicImport in v1.1.8
  • Multi-instances state sync bug in usePrefersColor theme API

v1.1.8

16 Mar 04:15
Compare
Choose a tag to compare

Improvements

  • Use raw code loader to reduce demos entry size, no babel-loader 500kb warning and HMR speed up to 3x+ for large project!
  • Support to dynamic import for all demos, ready for webpack5 (top-level await, lazy compilation)
  • Disable strict mode for LaTex to remove syntax warning, #572

Fixed

  • Use now time as footer updated time for new file
  • Compatible with lerna4 and newer versions, #573
  • Cannot find module when enable auto sitemap
  • Remove blank lines at the end of source code, #584

v1.1.6

25 Feb 16:18
Compare
Choose a tag to compare

Fixed

  • Multiple class names of HTML tag will render a wrong final class attribute, #560
  • SSR error from the usePrefersColor API
  • Index navigation route not follow menu config from user, #552

Improvements

  • Always use root .umi as temp directory, #553

v1.1.5

24 Feb 14:12
Compare
Choose a tag to compare

Features

  • usePrefersColor theme API, #543

Fixed

  • Route meta error if route path ends with slash
  • Circular reference when collect dependencies for demo
  • Multi-level nav text styles, #551
  • React DOM validation warnings from embed, api & code, #558

Improvements

  • Features style in homepage, #550

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