# What changed in prettier

> 25 changes in prettier 3 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/prettier/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## prettier 3

### New APIs and options

- The typescript parser now supports import defer. (3.9.6) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.6)
- A new official plugin is available. (3.9.6) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.6)

### Performance

- Fixes a performance regression in the doc printer. (3.7.1) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.1)

### Tooling

- Prettier supports Angular 22.2. (3.9.7) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.7)
- Prettier supports Angular v21.2. (3.8.2) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.2)
- Plugin type declarations now include available printers, allowing plugin authors to access them in their types. (3.8.1) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.1)
- Prettier now supports Angular v21.1. (3.8.0) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.0)

### Fixes and other changes

- Fixes Markdown text containing $ being incorrectly parsed as math syntax. (3.9.9) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.9)
- Markdown paragraphs are no longer interrupted by Liquid objects. (3.9.8) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.8)
- Fixes regressions in v3.9. (3.9.7) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.7)
- Preserves quotes for methods named new when formatting. (3.9.6) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.6)
- Formats Angular @content(name) as @content (name) to align with other block syntax. (3.9.4) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.4)
- Allows decorators to be used with declare on TypeScript class fields. (3.9.3) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.3)
- Fixes unexpected removal of characters in Liquid syntax. (3.9.3) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.3)
- Fixes ignored files being cached incorrectly by the CLI. (3.9.1) — [release notes](https://github.com/prettier/prettier/releases/tag/3.9.1)
- Fixes printing of Flow variance annotations. (3.8.5) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.5)
- Fixes blank lines between list items and nested sub-lists being removed in Markdown and MDX. (3.8.4) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.4)
- Prevents a trailing comma in the SCSS if() function. (3.8.3) — [release notes](https://github.com/prettier/prettier/releases/tag/3.8.3)
- Avoids adding quotes around LWC interpolations. (3.7.4) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.4)
- Fixes duplicated comments in union types. (3.7.4) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.4)
- Fixes unstable comment printing in union types. (3.7.4) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.4)
- Fixes a change to prettier.getFileInfo() that broke the VSCode extension. (3.7.3) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.3)
- Fixes comments in empty type literals. (3.7.2) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.2)
- Preserves quotes for embedded HTML attribute values. (3.7.2) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.2)
- Fixes string printing when switching quotes. (3.7.2) — [release notes](https://github.com/prettier/prettier/releases/tag/3.7.2)
