What prettier/prettier shipped
Written by FoxPlug from the repository's own releases; not affiliated with Prettier. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/prettier/prettier; Prettier did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 16, 2026
What shipped
- Fixed crash when using --debug-check and --debug-print-ast flags with BigInt literals like 10n. Pull request #20529
- Fixed missing semicolon after class properties marked with prettier-ignore. Pull request #20557
- Fixed Flow abstract methods losing their trailing semicolon to match TypeScript parser behavior. Pull request #20553
- Fixed unnecessary line breaks after Angular interpolations when closing tags fit on one line. Pull request #20440
- Fixed trailing comma incorrectly added to CSS var() functions with custom property names starting with digits. Pull request #20549
- Fixed clearConfigCache() to properly reload.js,.mjs,.cjs, and.ts configuration files. Pull request #20537
- Refactored PostCSS printer code with no changes to formatting behavior. Pull request #20582
- Updated documentation links to use relative paths for better repository browsing on GitHub. Pull request #20551
Why it matters
This week brings multiple fixes for edge cases that affect users with specific language features and configurations. The debug flag crash fix helps developers troubleshoot formatting issues, while CSS and formatting fixes resolve real bugs in production code.
Changelog entry
- Fixed --debug-check and --debug-print-ast crashing when encountering BigInt literals Pull request #20529
- Fixed missing semicolon after prettier-ignore marked class properties Pull request #20557
- Fixed Flow abstract methods losing trailing semicolon Pull request #20553
- Fixed unnecessary closing tag breaks after Angular interpolations Pull request #20440
- Fixed trailing comma added to CSS var() with custom property names starting with digits Pull request #20549
- Fixed clearConfigCache() not reloading.js,.mjs,.cjs, and.ts configuration files Pull request #20537
New fixes: BigInt debugging, Flow abstract methods, Angular interpolations, CSS var() custom properties, class property semicolons, and config file reloading.
Prettier fixes continue to cover important edge cases. This week we addressed crashes with BigInt debugging, restored semicolons in Flow abstract methods and class properties, improved Angular template formatting, fixed CSS custom property handling, and ensured config files reload properly when caches clear.
Week of November 9, 2026
What shipped
- Prettier 3.10.0 was released with new Flow syntax, new JavaScript syntax, and a new plugin. Release
- Prettier 3.10.1 was released with a GraphQL fix for empty selection sets with comments. Release
- Trailing commas in CSS custom property values are now preserved so values substituted by var() are not changed. Pull request #19998
- Carriage returns in GraphQL strings are now kept escaped so the printed output can be parsed again. Pull request #20420
- Blank lines between dangling comments are now preserved. Pull request #20473
- Long binary expression chains are now printed by traversing left operands iteratively to avoid stack overflows. Pull request #20409
- MatchExpression now keeps its parentheses when it starts an expression statement with the Flow parsers. Pull request #20508
- Parsed.editorconfig files are now cached across resolveConfig() calls. Pull request #20462
- Double indentation after comments before open parenthesis SCSS map entries is fixed. Pull request #20424
- Comments before of and in in for heads no longer move into the body on the next format. Pull request #20434
Why it matters
This week brought the 3.10.0 release along with a 3.10.1 patch, so users get new Flow and JavaScript syntax support and a new plugin. Several correctness fixes landed across CSS, GraphQL and YAML that change how existing code is printed and parsed, and formatting large binary expressions no longer risks a stack overflow.
Changelog entry
- Release 3.10.0 with new Flow syntax, new JavaScript syntax and a new plugin. Release
- Release 3.10.1 with a GraphQL fix for empty selection sets with comments. Release
- Preserve trailing commas in CSS custom property values. Pull request #19998
- Preserve carriage returns in GraphQL strings. Pull request #20420
- Preserve blank lines between dangling comments. Pull request #20473
- Avoid stack overflow when printing long binary expressions. Pull request #20409
- Add missing parentheses around MatchExpression in expression statements. Pull request #20508
- Cache parsed.editorconfig files across resolveConfig(). Pull request #20462
- Fix double indentation after comments in SCSS open parenthesis groups. Pull request #20424
- Fix unstable comments before of and in in for heads. Pull request #20434
- Avoid duplicate blank lines in YAML with proseWrap never. Pull request #20475
- Fix extra blank line before YAML end comments after a trailing comment. Pull request #20371
Prettier 3.10.0 and 3.10.1 are out. Also this week: trailing commas in CSS custom properties are preserved, GraphQL strings keep carriage returns escaped, blank lines between dangling comments stay, and long binary expressions no longer overflow the stack.
Prettier 3.10.0 is out, bringing new Flow syntax, new JavaScript syntax and a new plugin, followed by 3.10.1 with a GraphQL fix for empty selection sets with comments. Alongside the releases, several correctness fixes landed: trailing commas in CSS custom property values are preserved so var() substitution is unchanged, carriage returns in GraphQL strings stay escaped so output can be parsed again, blank lines between dangling comments are kept, and long binary expression chains are now printed iteratively to avoid stack overflows. Comment handling before of and in in for heads, parenthesis handling for MatchExpression, and double indentation after comments in SCSS map entries were also fixed.
Week of November 2, 2026
What shipped
- Prettier now keeps parentheses around TSInstantiationExpression in binary expressions so comparisons and shifts parse the same as the input. Pull request #20351
- Prettier stopped adding parentheses to TSInstantiationExpression on the right side of in and instanceof expressions. Pull request #20455
- The parser gained support for filtered namespaces. Pull request #20438
- The parser gained support for deferred re-exports. Pull request #20435
- The parser gained support for Import Sync. Pull request #20430
- The parser gained support for structs. Pull request #20427
- Comments in the head of Flow record declarations are no longer duplicated on every format. Pull request #20416
- Comments before Flow component and hook bodies are now placed inside the body instead of moving around between formats. Pull request #20417
- Comments after the last parameter in Flow hook types are now attached as trailing comments on that parameter. Pull request #20464
- Nested logical expressions in Angular no longer get unstable indentation. Pull request #20405
Why it matters
This week brings several parser fixes and new syntax support, including filtered namespaces, deferred re-exports, Import Sync and structs. It also resolves repeated formatting problems where comments in Flow record, component and hook code moved or duplicated on each run. People formatting TypeScript and Flow code should see fewer changes to parentheses and comments after upgrading.
Changelog entry
- Add parentheses to TSInstantiationExpression in binary expressions. Pull request #20351
- Stop adding parens to TSInstantiationExpression on the right side of in and instanceof expressions. Pull request #20455
- Support filtered namespaces. Pull request #20438
- Support deferred re-exports. Pull request #20435
- Support Import Sync. Pull request #20430
- Support structs. Pull request #20427
- Fix duplicated comments in Flow record declarations. Pull request #20416
- Fix unstable comments before Flow component and hook bodies. Pull request #20417
- Fix unstable comments in Flow hook parameters. Pull request #20464
- Fix unstable indentation of nested logical expressions in Angular. Pull request #20405
- Don't print an extra semicolon after a prettier-ignored class property. Pull request #20429
- Fix YAML sibling indentation after a block scalar with trailing whitespace. Pull request #20297
This week: parentheses fixes for TSInstantiationExpression in binary, in and instanceof expressions, support for filtered namespaces, deferred re-exports, Import Sync and structs, and several Flow comment fixes so record, component and hook comments stop duplicating or moving bet
This week's changes focus on correctness for TypeScript and Flow users. Prettier now keeps parentheses around TSInstantiationExpression in binary expressions and no longer adds them on the right side of in and instanceof. The parser gained support for filtered namespaces, deferred re-exports, Import Sync and structs. On the Flow side, comments in record declaration heads are no longer duplicated on every format, comments before component and hook bodies move into the body, and comments after the last parameter in hook types are attached as trailing comments. Nested logical expressions in Angular also format with stable indentation.
Week of October 26, 2026
What shipped
- Added printing support for additional Flow nodes, including parameter properties, in out variance, non-null assertions, export as namespace, unlabeled optional tuple members, declared class private fields and declared class mixin extends. Pull request #20407
- Fixed a bug where a // comment in a selector list was swallowed when attribute values were empty strings. Pull request #20305
- Fixed printing of Flow ambient signatures and properties, preserving anonymous default-export signatures, omitted constructor return types, declared-field initializers and optional indexers. Pull request #20385
- Updated the docs to prevent empty commits in the pre-commit hook. Pull request #20402
- Reduced the size of the postcss plugin. Pull request #20391
- Cleaned up failed tests. Pull request #20414
Why it matters
People formatting Flow code benefit from correct output for more syntax, including parameter properties, variance annotations and ambient declarations. The selector fix means // inside empty attribute values is no longer treated as a comment, so stylesheet formatting stays correct.
Changelog entry
- Add printing support for additional Flow nodes, including parameter properties, in out variance, non-null assertions, export as namespace, unlabeled optional tuple members, declared class private fields and declared class mixin extends. Pull request #20407
- Fix // comments being swallowed in selector lists with empty attribute values. Pull request #20305
- Fix printing of Flow ambient signatures and properties, preserving anonymous default-export signatures, omitted constructor return types, declared-field initializers and optional indexers. Pull request #20385
- Prevent empty commits in the docs pre-commit hook. Pull request #20402
- Reduce the size of the postcss plugin. Pull request #20391
- Clean up failed tests. Pull request #20414
This week in Prettier: more Flow syntax now prints correctly, including parameter properties, in out variance, non-null assertions and declared class fields. Also fixed a swallowed // comment in selector lists with empty attribute values.
This week Prettier added printing support for more Flow nodes, including parameter properties, in out variance, non-null assertions, export as namespace, unlabeled optional tuple members, declared class private fields and declared class mixin extends. Flow ambient signatures and properties also print correctly now, preserving anonymous default-export signatures, omitted constructor return types, declared-field initializers and optional indexers. A bug that swallowed // comments in selector lists with empty attribute values was fixed, the postcss plugin is smaller, and the docs pre-commit hook now avoids empty commits.
Week of October 19, 2026
What shipped
- Fixed missing parentheses around looser operands of TSInstantiationExpression so the output parses correctly. Pull request #20345
- Kept multiple block comments before an arrow on the same line, preventing invalid code when more than one comment sits between parameters and the arrow. Pull request #20198
- Fixed unstable comment placement before enum or namespace bodies. Pull request #20318
- Improved HTML text printing to avoid unnecessary mutation. Pull request #20360
- Added tests confirming that a NO-BREAK SPACE next to CJK text in Markdown is printed unchanged for every proseWrap value. Pull request #20321
- Dropped support for the legacy Flow enum body. Pull request #20347
- Reduced the size of the glimmer plugin. Pull request #20342
- Avoided copying the full source for each comment by collecting unchanged slices instead of rebuilding the source after each comment. Pull request #20322
- Aligned BinaryishExpression in YieldExpression with ReturnStatement. Pull request #20353
- Improved comment attachment to possible BlockStatement nodes. Pull request #20328
Why it matters
This week brought several correctness fixes for TypeScript and JavaScript output, including parentheses around TSInstantiationExpression operands, comment handling before arrows, and unstable comments before enum or namespace bodies. It also included size and memory work, such as shrinking the glimmer plugin and avoiding a full source copy per comment. Together these reduce cases where the printed output is invalid or differs between runs.
Changelog entry
- Fix missing parentheses around looser operands of TSInstantiationExpression. Pull request #20345
- Keep multiple comments before an arrow on the same line. Pull request #20198
- Fix unstable comment before enum or namespace body. Pull request #20318
- Improve HTML text print by avoiding unnecessary mutation. Pull request #20360
- Add tests for NO-BREAK SPACE next to CJK in Markdown. Pull request #20321
- Drop support for legacy Flow enum body. Pull request #20347
- Reduce size of glimmer plugin. Pull request #20342
- Avoid copying the full source for each comment. Pull request #20322
- Align BinaryishExpression in YieldExpression with ReturnStatement. Pull request #20353
- Improve comment attach to possible BlockStatement. Pull request #20328
- Improve comment attach in block-like node. Pull request #20326
- Return true in comment attach helpers. Pull request #20329
This week: fixed parentheses around TSInstantiationExpression operands, kept multiple comments before an arrow on one line, and fixed unstable comments before enum and namespace bodies. Also reduced the glimmer plugin size and avoided copying the full source per comment.
This week's changes to Prettier include a fix for missing parentheses around looser operands of TSInstantiationExpression, so type arguments no longer move onto part of the operand and output parses correctly. Multiple block comments before an arrow are now joined with a space, which fixes invalid code with a line break before the arrow, and comments before enum or namespace bodies no longer print unstably. HTML text printing avoids unnecessary mutation, the glimmer plugin is smaller, and comment handling no longer copies the full source for each comment. Tests were also added to confirm a NO-BREAK SPACE next to CJK text in Markdown stays unchanged.
Week of October 12, 2026
What shipped
- Added support for Flow syntax released with flow-parser 0.332.0, including template literal and constructor types, mapped-type modifiers and key remapping, abstract and override class members, inline import types, CommonJS import and export bindings, and unique symbol. Pull request #20136
- Kept Less indirect property lookups tight after the dollar sign when looking up a variable, so the output parses again. Pull request #20279
- Removed an extra level of indentation from arrays and object literals that appear as the last operand of a logical chain where every operand is an inline array, object or JSX literal. Pull request #19792
- Preserved CDATA content without normalizing its whitespace and line breaks in HTML and Angular templates. Pull request #20256
- Fixed prettier-ignore'd nodes dropping semicolons that protect against automatic semicolon insertion. Pull request #20280
- Kept parentheses around TSInstantiationExpression before a non-null assertion and in export default so the output parses. Pull request #20177
- Fixed a duplicated closing angle bracket before elements in strict HTML whitespace sensitivity mode. Pull request #20215
- Fixed unstable JSX single-character text immediately before a self-closing element. Pull request #20104
- Stopped repeated blank lines accumulating before exported decorators when a comment sits between export and the decorator. Pull request #20180
- Fixed range formatting of TypeScript type parameters so a selection no longer throws and the enclosing declaration is formatted instead. Pull request #20309
Why it matters
This week brings parser and printer fixes that affect everyday formatting: many of the changes repair output that previously failed to parse or changed on a second run. Users of TypeScript, Flow, Less, HTML, Angular and JSX all get fixes in areas they are likely to hit, and the Flow support keeps Prettier current with the latest flow-parser release.
Changelog entry
- Add support for Flow syntax from flow-parser 0.332.0. Pull request #20136
- Keep Less indirect property lookups on variables tight so they parse. Pull request #20279
- Fix extra indentation for inline arrays and objects at the end of logical chains. Pull request #19792
- Preserve CDATA content without formatting in HTML and Angular. Pull request #20256
- Fix prettier-ignore'd nodes dropping ASI-protective semicolons. Pull request #20280
- Keep parentheses around TSInstantiationExpression before! and in export default. Pull request #20177
- Fix duplicated > before preserved-content elements in strict whitespace mode. Pull request #20215
- Fix unstable JSX single-character text before a self-closing element. Pull request #20104
- Fix repeated blank lines before exported decorators. Pull request #20180
- Fix range formatting of TypeScript type parameters. Pull request #20309
- Fix range formatting inside a for statement head. Pull request #20200
- Add Angular test coverage for interpolation idempotency with embedded formatting off. Pull request #20314
This week: support for new Flow syntax, fixes for Less indirect lookups, TypeScript types and non-null assertions, HTML CDATA and strict whitespace, JSX text and prettier-ignore semicolons. Several fixes correct output that did not parse or changed on reformatting.
This week's Prettier changes focus on correctness across languages. New Flow syntax from flow-parser 0.332.0 is now supported, including new type forms and class members. Less indirect property lookups on variables stay tight so the output parses. TypeScript gets fixes for range formatting of type parameters and for parentheses around instantiation expressions before non-null assertions and in export default. HTML and Angular keep CDATA content unformatted, strict whitespace mode no longer duplicates a closing angle bracket, and JSX single-character text before self-closing elements is stable. prettier-ignore'd nodes keep the semicolons that guard against automatic semicolon insertion, and repeated blank lines before exported decorators are fixed.
Week of October 5, 2026
What shipped
- Version 3.9.10 was released, updating the Markdown dependency that caused a table parse issue. Release
- Fixed a runtime error in Markdown formatting that was introduced by an earlier change, affecting input where formatting text sits between emphasis markers. Pull request #20257
- Updated the Markdown table parsing dependency to fix the table parse issue on performance. Pull request #20266
- JSX opening tags with a leading comment now break after the opening angle bracket, mirroring a previous fix for closing tags. Pull request #20265
- Preserved the blank line between an HTML block and a nested list inside a Markdown list item. Pull request #20243
- Documented how override patterns are resolved, since a pattern without a slash matches the file name only and patterns are matched relative to the config file location. Pull request #19995
- Extracted a shared function for printing JSX element names, used by two other changes. Pull request #20268
- Added an example for the prettier.util API. Pull request #20269
- Updated the Handlebars parser to version 2.2.4. Pull request #20263
- Updated the Handlebars parser to version 2.3.3. Pull request #20261
Why it matters
This week brings a patch release that fixes a Markdown table parse issue, along with a fix for a runtime error in Markdown formatting so affected files format again. There are also formatting corrections for JSX comments and for Markdown lists after HTML blocks, plus new documentation of how override patterns are resolved when configuration files move.
Changelog entry
- Release 3.9.10, updating the Markdown table extension to fix the table parse issue on performance. Release
- Fix a runtime error in Markdown formatting introduced by an earlier change. Pull request #20257
- Update micromark-extension-gfm-table to fix the table parse issue on performance. Pull request #20266
- Break after the opening angle bracket when a JSX opening tag name has a leading comment. Pull request #20265
- Preserve the blank line between an HTML block and a nested list in a Markdown list item. Pull request #20243
- Document how override patterns are resolved against the configuration file directory and file name. Pull request #19995
- Extract a shared helper for printing JSX element names. Pull request #20268
- Add an example for prettier.util. Pull request #20269
- Update @handlebars/parser to v2.2.4. Pull request #20263
- Update @handlebars/parser to v2.3.3. Pull request #20261
Prettier 3.9.10 is out with a Markdown table parse fix. Also this week: a runtime error in Markdown is fixed, JSX opening tags with leading comments now break consistently, blank lines after HTML blocks in list items are kept, and override pattern resolution is documented.
Prettier 3.9.10 is out, updating the Markdown table parsing dependency to resolve a table parse issue on performance. This week also fixes a runtime error in Markdown formatting, makes JSX opening tags with a leading comment break after the opening angle bracket the same way closing tags already did, and preserves the blank line between an HTML block and a nested list inside a list item. The documentation now explains how override patterns are resolved, including that patterns without a slash match the file name only, which matters when a config file moves. The Handlebars parser dependency was also updated.
Week of September 28, 2026
What shipped
- Markdown formatting now preserves newlines around Chinese and Japanese characters across all proseWrap settings, fixing inconsistent behavior. Pull request #20143
- MDX parser now supports directives syntax, enabling Docusaurus-style admonitions and similar directive-based content. Pull request #20154
- Angular template interpolation parsing fixed to handle }} characters inside string literals within expressions. Pull request #20117
- JSX formatting corrected to prevent duplicated comments on super classes. Pull request #20211
- ForX loop initializers are now correctly handled when marked as ignored. Pull request #20204
- Source span tracking corrected after removal of ignorable leading line feeds in HTML tags. Pull request #20209
- MDX formatting now preserves whitespace before import and export statements to maintain correct AST representation. Pull request #20120
- Parser validation updated to assert Oxc and Yuku wasm versions. Pull request #20202
- Oxc plugin build script simplified. Pull request #20208
Why it matters
This week brings fixes for text handling in multiple contexts: markdown character preservation, Angular template interpolation, and JSX comment duplication. MDX also gains directive support, a commonly requested feature for documentation sites.
Changelog entry
- Markdown: Preserve newlines around Chinese and Japanese characters in all proseWrap settings Pull request #20143
- MDX: Add support for directives syntax Pull request #20154
- Angular: Fix interpolation boundary detection when expressions contain }} in string literals Pull request #20117
- JSX: Fix duplicated comments on super classes Pull request #20211
- JavaScript: Fix handling of ignored ForX initializers Pull request #20204
- HTML: Correct source span tracking after ignorable leading line feed removal Pull request #20209
- MDX: Preserve whitespace before import and export statements Pull request #20120
This week: markdown newline preservation around CJK characters, MDX directive support, Angular interpolation fixes, JSX comment deduplication, and more.
Prettier improvements shipping this week include markdown newline handling for Chinese and Japanese characters, MDX directive syntax support for admonitions, fixes for Angular interpolation with nested braces, JSX super class comment deduplication, and improvements to ForX loop and source span handling.
Week of September 21, 2026
What shipped
- Released version 3.9.9 with a fix for Markdown text containing dollar signs being incorrectly parsed as math syntax. Release
- Angular templates now avoid breaking inline interpolation closing tags with unwanted line breaks. Pull request #20134
- Configuration files with UTF-8 BOM are now supported. Pull request #20127
- Comments after the head of a member chain no longer move around during formatting. Pull request #20125
- Angular ngNonBindable child replacement was refactored to use AST node mutation helpers. Pull request #20141
- Markdown math syntax parsing was improved by disabling singleDollarTextMath in mdast-util-math. Pull request #20140
- Removed @lezer/highlight from dependencies. Pull request #20150
- Switched from semver to verkit for version handling. Pull request #19977
- Invalid config tests were moved to unit tests. Pull request #20139
Why it matters
Version 3.9.9 addresses several formatting issues across Markdown, Angular templates, and JavaScript, while also improving configuration file handling and code quality through dependency updates and refactoring.
Changelog entry
- Markdown: Fix text with $ incorrectly parsed as math syntax Release
- Angular: Avoid breaking inline interpolation closing tags Pull request #20134
- Support configuration files with UTF-8 BOM Pull request #20127
- Prevent comment after head of member chain from moving Pull request #20125
- Angular: Refactor ngNonBindable child replacement using AST helpers Pull request #20141
- Remove @lezer/highlight from dependencies Pull request #20150
- Switch from semver to verkit for version handling Pull request #19977
Prettier 3.9.9 is out. Fixed Markdown dollar sign parsing, Angular inline interpolation formatting, UTF-8 BOM config support, and comment positioning in member chains.
Prettier 3.9.9 is now available. This release fixes Markdown text with dollar signs being incorrectly parsed as math syntax, prevents unwanted line breaks in Angular inline interpolation closing tags, adds support for UTF-8 BOM in configuration files, and fixes comment positioning in member chains. Several code improvements include refactored Angular child replacement logic and updated dependencies.