Skip to content
Compare
Choose a tag to compare

Fixed

Features

  • Add ErrorBoundary for demo previewer
Compare
Choose a tag to compare

Features

  • Support React 18 & ReactDOM 18 #1067

Fixed

  • Memory leak risk of alias check logic
  • Default theme not found with some pkg managers
Compare
Choose a tag to compare

Features

  • Handle missing langs for api description, will fallback to the default description without suffix #1058 @3lang3
  • Support bitbucket subgroups for edit link #1000

Fixed

  • Avoid styles of global custom component that conflict with .markdown wrapper #993
  • Route meta lost bug in integrated mode #1045
Compare
Choose a tag to compare

Features

  • Support to control action bar render for the default previewer, if we want to customize one based on it

Fixed

  • Simulate the touch events error #997 @xiaohuoni
  • img not support blob protocol bug #1034 @1247748612
  • API skipNodeModules bug #1015
  • Repeat meta parse bug for code block demo
  • Mobile demo url bug if mixed builtin & custom renderer
  • Handle unexpected file path for custom compiletime
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
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
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
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
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

  • Lock @mapbox/hast-util-to-jsx@1.0.0 to avoid breaking change by node engine
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