Prettier
Dev ToolsPrettier is an opinionated code formatter.
Release History
3.7.43 fixesThis release focuses on bug fixes for comment handling in union types and formatting improvements for LWC interpolations.
3.7.3Breaking1 fixThis release focuses on a critical bug fix for the getFileInfo() function to restore compatibility with the Prettier VSCode extension.
3.7.23 fixesThis release focuses on bug fixes for string quote handling, HTML attribute preservation, and comment formatting in type literals.
3.7.11 fixThis patch release addresses a performance regression within the doc printer component.
3.7.03 fixes6 featuresPrettier 3.7.0 introduces support for CSS nesting and a new experimental operator position option, alongside various formatting improvements across supported languages.
3.6.21 fixThis patch release fixes a formatting issue where blank lines were missing around code blocks.
3.6.11 fixThis patch release fixes a file descriptor warning specifically associated with the experimental CLI mode.
3.6.03 fixes5 featuresPrettier 3.6 introduces an experimental fast CLI and new high-performance parser plugins based on OXC and Hermes, alongside various formatting improvements.
3.5.34 fixes4 featuresPrettier 3.5.3 introduces support for CSS light-dark() functions and TypeScript 5.0 accessors, alongside various formatting improvements for JSX and Angular.
3.5.24 fixes4 featuresPrettier 3.5.2 introduces support for CSS light-dark() functions and TypeScript import attributes, alongside various bug fixes for JSX and Markdown formatting.
3.5.13 fixes3 featuresPrettier 3.5.1 is a patch release focusing on TypeScript 5.8 support, CSS formatting improvements, and various bug fixes for JSX and Markdown.
3.5.04 fixes6 featuresPrettier 3.5.0 introduces an experimental operator position option, improves TypeScript and Angular template formatting, and resolves several CSS and Markdown layout bugs.