Skip to content

Releases: umijs/dumi

v1.1.16

23 Apr 03:24
Compare
Choose a tag to compare

Fixed

  • dumi start error that caused by the non-semantic version from mathjax-full, use a temp package rehype-mathjax-dumi-tmp as workaround
  • Side menu scroll position missed when switch page

v1.1.15

21 Apr 05:48
Compare
Choose a tag to compare

Fixed

  • Repeated call bug of watcher from demo local dependencies
  • Anchor not working when dynamicImport enable, #545

v1.1.14

19 Apr 07:57
Compare
Choose a tag to compare

Features

Improvements

  • Make inline demo can be asynchronous via dynamicImport

v1.1.13

14 Apr 11:42
Compare
Choose a tag to compare

Fixed

  • Radical sign render bug with LaTeX syntax, #632
  • slash package import error, #634
  • Catch unexpected frontmatter for demo module file

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