Skip to content

Releases

v4.7.44

Choose a tag to compare

@fireairforce fireairforce released this 03 Dec 04:50

What's Changed

  • Update Utoopack from 1.6.10 to 1.6.12. This update adds support for named async chunk groups and syncs Turbopack with Next.js canary 822a20a8. Utoopack changes
  • Generate UnoCSS before starting the development compiler so styles are ready for the initial build. #13521

Full changelog

v4.7.43

Choose a tag to compare

@fireairforce fireairforce released this 01 Dec 06:40

What's Changed

  • Update Utoopack from 1.6.8 to 1.6.10. Production browser builds now minify JavaScript before chunking and target about 400 kB of estimated minified JavaScript per chunk. Chunk grouping and filenames may change. Utoopack 1.6.10 release notes

Full changelog

v4.7.42

Choose a tag to compare

@fireairforce fireairforce released this 28 Nov 15:26

What's Changed

  • Fix stale CSS in development when an imported Less file used by src/overrides.less changes. The watcher also picks up changes to the import list. #13517
  • Add monorepoRedirect.sourceTypes to let TypeScript resolve a workspace package and its subpaths from source before its declarations are rebuilt. This is opt-in. If you use rootDir with this option, include the redirected sources. #13519
  • Discover locale files with three-letter languages, scripts, and numeric regions, including fil.ts, zh-Hant-TW.json, and es-419.js. Check for helper files in locale directories whose names now match these patterns. #13520
  • Fix umi g jest for projects using TypeScript bundler resolution or verbatimModuleSyntax. New setups generate jest.config.cjs and include jsdom with either testing-library choice. If you regenerate your config, update any script that explicitly points to jest.config.ts. #13516

Full changelog

v4.7.41

Choose a tag to compare

@fireairforce fireairforce released this 27 Nov 04:29

What's Changed

  • Upgrade Vite to 7.3.8 to fix a vulnerability affecting network-accessible development servers. #13515 · Vite security advisory
  • Fix Webpack's granularChunks strategy so unrelated groups of unnamed lazy imports can load their shared code independently. Affected output filenames can lose the shared- prefix. Custom asset upload rules that match this prefix should include the new filenames. #13518

Full changelog

v4.7.40

Choose a tag to compare

@fireairforce fireairforce released this 25 Nov 04:25

What's Changed

  • Restrict MFSU asset serving to files inside the configured build output directory. The same check applies to generated assets and named chunks. Commit

Full changelog

v4.7.39

Choose a tag to compare

@fireairforce fireairforce released this 24 Nov 16:38

What's Changed

  • Update @umijs/bundler-utoopack to use @utoo/pack@1.6.8. The updated peer dependency ranges resolve pnpm errors with Umi's less-loader@11.1.0 and PostCSS 8.5.x. #13514 · Utoopack 1.6.8

Full changelog

v4.7.38

Choose a tag to compare

@fireairforce fireairforce released this 24 Nov 07:36

What's Changed

  • Update @umijs/bundler-utoopack to @utoo/pack@1.6.7. Utoopack can now follow symlinks into additional filesystem roots configured with additionalRoots. TurboTasks garbage collection is enabled by default when persistent caching is enabled. Utoopack 1.6.7

Full changelog

v4.7.37

Choose a tag to compare

@fireairforce fireairforce released this 23 Nov 03:47

What's Changed

  • Start memory history at the configured base when no initial entries are supplied. #13510
  • Keep locale changes in memory when locale.useLocalStorage is disabled so language switching remains consistent within the page. #13512
  • Keep the current path and origin when a Link or history update changes only the query string or fragment. #13513
  • Export configured index routes without a path and skip wildcard routes that cannot be exported. #13513
  • Render stylesheet objects in SSR while preserving inline CSS, wait for asynchronous metadata, and serialize inline SSR data safely. #13513
  • Match same-name assets to their emitted content in SSR manifests and limit comparison reads to regular files inside the source or output directories. #13513

Thanks to Aminark for the original fixes and regression tests.

Full changelog

v4.7.36

Choose a tag to compare

@fireairforce fireairforce released this 21 Nov 02:10

What's Changed

  • Fetch data when navigating from an SSR page to a route that only declares a serverLoader. Preserve dual-loader request timing, publish complete fallback data for nested routes, and retain the existing useLoaderData() type signature. #13499 · #13504
  • Ignore stale clientLoader results during navigation. #13498
  • Merge SSR metadata in route order. Child routes take precedence for scalar fields, and arrays follow parent-to-child order. #13500
  • Fix generated TypeScript entry points for MPA pages. #13501
  • Preserve query parameters and fragments on redirects with keepQuery. An explicit destination fragment takes precedence. #13502
  • Accept { path, prerender } entries in exportStatic.extraRoutePaths. #13489
  • Honor mock: false in umi preview. #13491

Routing compatibility

Convention-based routing now preserves -index in page names. For example, pages/search-index.tsx now generates /search-index. Update existing links and redirects that use the old /search- path. #13490

Full changelog

v4.7.35

Choose a tag to compare

@fireairforce fireairforce released this 20 Nov 09:27

What's Changed

Full Changelog: v4.7.34...v4.7.35