github umijs/umi v4.7.36

57 minutes ago

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

Don't miss a new umi release

NewReleases is sending notifications on new releases.