Prettier 3.9 is released with major parser upgrades across multiple languages. The Markdown parser migrates from remark-parse v8 to micromark v4 for better CommonMark and GFM compliance. The YAML parser upgrades to yaml v2, GraphQL gains support for GraphQL.js v17 features, and Flow now uses a new Rust-based (oxidized) parser that is roughly 40% faster. JavaScript and TypeScript formatting sees dozens of bug fixes, especially around comment placement, no-semi mode behavior, union types, and optional chaining. Other improvements cover CSS, SCSS, HTML, Angular, JSON, and CLI fixes including EditorConfig worktree handling and cache-strategy content bug.
93.2K Impressions4 Comments