Skip to content

Releases: umijs/dumi

v2.1.9

08 Feb 09:50
Compare
Choose a tag to compare

Fixed

  • Conventional sidebar missing index route for non-default locales #1464

Improvements

  • Improve prompt when use API without apiParser enabled #1466

New Contributors

Full Changelog: v2.1.8...v2.1.9

v2.1.8

07 Feb 07:17
Compare
Choose a tag to compare

Fixed

  • Wrong sidebar config for 1-level routes of non-default locales #1459
  • Language switch lost in root route of non-default locales #1458

Improvements

  • Support image with data url #1460 @AkaraChen
  • Remove useless question mark from mobile demo url #1462

Full Changelog: v2.1.7...v2.1.8

v2.1.7

02 Feb 10:26
Compare
Choose a tag to compare

Features

Fixed

  • Command & plugin hook bugs that casued by api parser worker thread #1448
  • SSR failed bug for demo layout of mobile theme #1451
  • Skip Umi prepare plugin as a workaround, to avoid start failed since umi@4.0.48

Improvements

  • Skip pre-render for demo pages to improve build performance #1449

Full Changelog: v2.1.6...v2.1.7

v2.1.6

01 Feb 02:06
Compare
Choose a tag to compare

Features

  • Add resolve.forceKebabCaseRouting option to disable forced kebab-case conversion for routes

Improvements

  • Parser api definitions in an independent worker thread, to avoid blocking main thread tasks

New Contributors

Full Changelog: v2.1.5...v2.1.6

v2.1.5

28 Jan 09:52
Compare
Choose a tag to compare

Features

Fixed

  • New react transform not working in CodeSandbox template #1436 @AkaraChen
  • Dependency module load failed in code block when enable MFSU #1422
  • HTML tags from demo frontmatter are escaped unexpectedly #1432
  • Wrong dist path for conventional pages on Windows OS #1377 #1429

Improvements

  • Move api parse logic to onDevCompileDone hook for development env, to avoid blocking for setup and dev commands
  • Improve tsconfig include option warning

New Contributors

Full Changelog: v2.1.4...v2.1.5

v2.1.4

18 Jan 08:34
Compare
Choose a tag to compare

Fixed

Improvements

  • Add default description for templates #1418 @txp1035
  • Put a example page for site template #1421 @txp1035
  • Update addContentTab args, rename name to title #1427 @wyy0512
  • Improve args for generateMetadata method of techStack

New Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3

12 Jan 07:41
Compare
Choose a tag to compare

Features

  • Support debug page that only render in development #1410

Fixed

Improvements

  • Workaround to resolve atom parser patch error #1420
  • Improve route kebab-case logic, to avoid transform v5 to v-5

New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2

10 Jan 07:52
Compare
Choose a tag to compare

Features

  • Support to set tab title via addContentTab api #1407 @wyy0512
  • Support debug demo that only render in development
  • Keep attribute camelCase for custom global components
  • Demo frontmatter support defaultShowCode

Fixed

Improvements

  • Allow unknown keys in .dumirc.ts for tsc check

New Contributors

Full Changelog: v2.1.1...v2.1.2

v2.1.1

07 Jan 14:32
Compare
Choose a tag to compare

Fixed

  • Locale routes lost bug

Improvements

  • Use default value as initial status for color switch
  • Strip useless ending slash for locale switch link

Full Changelog: v2.1.0...v2.1.1

v2.1.0

07 Jan 08:07
Compare
Choose a tag to compare

New

Features

  • Add usePrefersColor theme api

Fixed

  • Demo id conflicts bug on windows os #1386

Improvements

  • Transform route path to kebab-case
  • Improve user config type definition
  • Use icon for RTL switch in default theme

Full Changelog: v2.0.18...v2.1.0