github dotnet/docfx v2.82.0

2 hours ago

What's Changed

💥 Breaking Changes

  • DocFX now targets .NET 10 and .NET 11. The .NET 8 and .NET 9 targets have been removed. Update environments using the docfx .NET tool or Docfx NuGet libraries accordingly. #11213

✨ New Features

  • Add built-in version, locale, and moniker selectors to the modern template, with support for navigating between documentation versions and languages and filtering version-specific content. #11212
  • Add right-to-left layout to the modern template and improve multilingual search with Unicode-aware text processing, more resilient language loading, and consistent query tokenization. #11234
  • Add pdfTocSource: headings to generate a PDF table of contents from document headings, with pdfTocHeadingDepth controlling the included heading levels. #10995

🐛 Bug Fixes

  • Prevent PDF generation from hanging indefinitely when a page remains unresponsive after a load timeout. Unresponsive pages are omitted with a warning. #11220
  • Include inactive tabs when printing or generating PDFs with the modern template. #11221
  • Fix intermittent PDF generation failures when the local server is assigned a port restricted by Chromium. #11222
  • Make PDF page links and bookmarks navigate to the top of the destination page. #11196
  • Preserve query strings and fragments in relative src attributes, including media fragments and image URL parameters. #11214
  • Generate API documentation only for projects included in a solution filter. #11215
  • Remove duplicate entries from derived-class lists. #11217
  • Correct API table-of-contents and alphabetical enum ordering in globalization-invariant mode. #10585
  • Fix incorrect indentation when XML <returns> documentation contains extra whitespace and block elements. #11188
  • Accept 0 and 1 for boolean environment variables. #11197
  • Remove unwanted spacing caused by hidden overload anchors in the modern template. #11205
  • Suggest known Markdig extension names in the configuration schema while continuing to allow custom extension names. #11200

📦 Dependency Updates

  • Update Markdig to 1.6.0, Jint to 4.18.1, Microsoft.Playwright to 1.65.1, and ICSharpCode.Decompiler to 11.2.0.10050, alongside other NuGet dependency updates. #11225
  • Update Mermaid and other template dependencies, including DOMPurify. #11194, #11201

📄 Documentation

  • Clarify links to mapped resources and the use of properties.TargetFramework when documenting multi-target projects. #11199, #11216

Full Changelog: v2.81.0...v2.82.0

Don't miss a new docfx release

NewReleases is sending notifications on new releases.