Change8

3.6.0

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

Summary

Prettier 3.6 introduces an experimental fast CLI and new high-performance parser plugins based on OXC and Hermes, alongside various formatting improvements.

Migration Steps

  1. To try the experimental fast CLI, use the --experimental-fast-cli flag.

✨ New Features

  • Introduced an experimental fast CLI mode for improved performance.
  • Added a new OXC-based parser plugin for faster JavaScript/TypeScript parsing.
  • Added a new Hermes-based parser plugin.
  • Added support for new CSS features and syntax.
  • Improved formatting for various languages including JavaScript, TypeScript, and HTML.

🐛 Bug Fixes

  • Fixed various edge cases in JavaScript and TypeScript formatting.
  • Resolved issues with comment placement in certain JSX structures.
  • Fixed minor regressions in CSS and SCSS formatting.

🔧 Affected Symbols

cliparser-oxcparser-hermescsstypescript