Skip to content

Releases: umijs/dumi

v1.1.38

29 Dec 12:48
Compare
Choose a tag to compare

Improvements

  • Improve toc render logic in mobile theme, force in menu => default in menu #986
  • Improve mobile demo activate logic
  • To avoid mobile device simulator flickering when the page loads

v1.1.37

17 Dec 11:21
Compare
Choose a tag to compare

Fixed

  • Use babel-plugin-import to import on demand does not work for code block demo #179
  • Dev server crash when demo has syntax error, since the custom compiletime feature
  • Search result data bug if markdown file has the default locale suffix

Improvements

  • Auto replace useLayoutEffect with useEffect for ssr build, goodbye to useLayoutEffect warnings

v1.1.36

14 Dec 09:30
Compare
Choose a tag to compare

Features

  • Support horizontal scrolling for wide markdown tables

Fixed

  • Mobile demo cannot switch bug #976

Improvements

  • Force render toc into side menu for mobile theme
  • Imporve dark style for the mobile simulator

v1.1.34

03 Dec 09:37
Compare
Choose a tag to compare

Fixed

  • Unexpected re-render for demos after page loaded
  • mobile: false not working bug when click demo in the mobile theme #962
  • SSR failed bug for the demo single route ~demos/:uuid

Improvements

  • Disable loading... text for all demos when enable dynamic imports
  • Mobile demo can be actived by anchor link of the previous title
  • Improve create-dumi-lib scaffold, includes clear tsconfig.json、prettier config、publish script and add test sample

v1.1.33

25 Nov 03:27
Compare
Choose a tag to compare

Features

  • Support to register compiletime component, such as customize API component #933 @mortalYoung

Fixed

  • FrontMatter & API HMR bug when enable mfsu #959
  • Module not found bug in Tree component #955 @binyellow
  • File path error for nested local files in demo deps
  • Cannot switch between mobile demos if configure router base

Improvements

v1.1.32

12 Nov 07:42
Compare
Choose a tag to compare

Features

  • Support builtin components within directory in theme package #924 @xiaohuoni
  • Builtin the Tree component into default theme #608 @xrkffgg

Fixed

  • demoUrl attribute not working bug from code tag
  • Error resolve.excludes condition for exlude resolve targets

Improvements

  • Use push state instead of page refresh for demos of mobile theme
  • Ignore invalid src componentName in assets meta data
  • Skip symlink & alias logic in integrated mode

v1.1.31

22 Oct 08:35
Compare
Choose a tag to compare

Features

  • Suffix the project title to sub-page route title #907 @cnyballk
  • Support to toggle mobile demo by click code panel

Fixed

  • Markdown style conflict with demo in embed #554
  • Ignore babel config file by default #904

Improvements

  • To avoid generate empty .markdown wrapper node
  • Do not export dynamic route file for Windows

v1.1.30

28 Sep 03:25
Compare
Choose a tag to compare

Features

  • Support to register custom demo compiletime, it can be used to render non-react tech stack demo, check out the docs to learn more #804

Fixed

  • Guess api component name for xxx/lib/index.d.ts #889 @Saber2pr
  • React version conflict when initializing from create-dumi-lib #884
  • mailto & tel link error #886
  • Code block assets meta data lost bug in same md
  • Side menu active conflicts
  • alias lost when build docs for integrated project #891

v1.1.29

17 Sep 10:21
Compare
Choose a tag to compare

Fixed

  • Routes generate error when dir name starts with locale prefix, again #871
  • Guess api component name for declaration file #883 @Saber2pr
  • Demo render repeated bug in getDemoRenderArgs #888 @awmleer
  • Assets meta data repeated bug when HMR or assets has duplicated id

v1.1.28

14 Sep 17:11
Compare
Choose a tag to compare

Fixed

  • resolve.excludes not working bug #878 @xialeistudio
  • Link lost bug for title of the single children merged group
  • Link active bug for title of the single children merged group