unstale

npm / prettier

prettier

What changed in prettier 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.

2 new APIs and options1 performance4 tooling18 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

prettier 325 changes

New APIs and options 2

Performance 1

  • Fixes a performance regression in the doc printer.

    3.7.1release notes

Tooling 4

  • Prettier supports Angular 22.2.

    3.9.7release notes

  • Prettier supports Angular v21.2.

    3.8.2release notes

  • Plugin type declarations now include available printers, allowing plugin authors to access them in their types.

    3.8.1release notes

  • Prettier now supports Angular v21.1.

    3.8.0release notes

Fixes and other changes 18

  • Fixes Markdown text containing $ being incorrectly parsed as math syntax.

    3.9.9release notes

  • Markdown paragraphs are no longer interrupted by Liquid objects.

    3.9.8release notes

  • Fixes regressions in v3.9.

    3.9.7release notes

  • Preserves quotes for methods named new when formatting.

    3.9.6release notes

  • Formats Angular @content(name) as @content (name) to align with other block syntax.

    3.9.4release notes

  • Allows decorators to be used with declare on TypeScript class fields.

    3.9.3release notes

  • Fixes unexpected removal of characters in Liquid syntax.

    3.9.3release notes

  • Fixes ignored files being cached incorrectly by the CLI.

    3.9.1release notes

  • Fixes printing of Flow variance annotations.

    3.8.5release notes

  • Fixes blank lines between list items and nested sub-lists being removed in Markdown and MDX.

    3.8.4release notes

  • Prevents a trailing comma in the SCSS if() function.

    3.8.3release notes

  • Avoids adding quotes around LWC interpolations.

    3.7.4release notes

  • Fixes duplicated comments in union types.

    3.7.4release notes

  • Fixes unstable comment printing in union types.

    3.7.4release notes

  • Fixes a change to prettier.getFileInfo() that broke the VSCode extension.

    3.7.3release notes

  • Fixes comments in empty type literals.

    3.7.2release notes

  • Preserves quotes for embedded HTML attribute values.

    3.7.2release notes

  • Fixes string printing when switching quotes.

    3.7.2release notes