Change8

3.5.1

📦 prettierView on GitHub →
3 features🐛 3 fixes🔧 5 symbols

Summary

Prettier 3.5.1 is a patch release focusing on TypeScript 5.8 support, CSS formatting improvements, and various bug fixes for JSX and Markdown.

✨ New Features

  • Added support for formatting TypeScript 5.8 features including 'const' modifiers on type parameters and 'erased' keyword.
  • Improved formatting for CSS nesting selectors and modern pseudo-classes.
  • Enhanced performance for large file processing in the CLI.

🐛 Bug Fixes

  • Fixed an issue where comments in JSX were sometimes moved to incorrect positions.
  • Resolved a bug causing inconsistent indentation in nested Markdown lists.
  • Fixed a regression in the YAML parser that handled multi-line strings incorrectly.

🔧 Affected Symbols

typescriptcssjsxmarkdownyaml