Repository navigation
chore(deps): update dependency prettier to v3 - #278
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 6, 2023 20:45
786317e to
7457931
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
August 3, 2023 10:31
72a0bc0 to
b166e39
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
August 21, 2023 18:46
7b74752 to
60c2c4c
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
August 29, 2023 15:18
d26971f to
ce49451
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
September 12, 2023 14:49
ce49451 to
e120c87
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 13, 2023 03:17
e120c87 to
537872a
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 10, 2023 09:28
537872a to
0afca09
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
5 times, most recently
from
January 17, 2024 15:05
5f703f8 to
6e93714
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 4, 2024 06:17
6e93714 to
2c46ad5
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
June 5, 2024 11:25
b18d9bc to
75ea879
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 11, 2024 06:25
75ea879 to
9599b19
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 13, 2024 14:41
9599b19 to
d0b924c
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
November 26, 2024 17:15
fda57db to
1aab32f
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
December 4, 2024 07:59
1aab32f to
b857094
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
January 15, 2025 11:17
b857094 to
0e69634
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
February 13, 2025 15:00
30a7478 to
76972fc
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
February 22, 2025 05:40
76972fc to
3343507
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
March 3, 2025 02:25
3343507 to
bbdba1a
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
June 25, 2025 14:45
15436c6 to
cfeb452
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
September 18, 2025 21:55
8eb6726 to
7656602
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
October 14, 2025 09:49
7656602 to
beb492f
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
5 times, most recently
from
December 3, 2025 05:32
ae8d776 to
a806dfd
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
January 21, 2026 17:51
0a5c8cd to
a41e2f3
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
March 27, 2026 13:10
a3a7125 to
51646b5
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
April 15, 2026 04:37
c9c76e2 to
41b4be6
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 9, 2026 18:03
41b4be6 to
dc520dd
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
June 18, 2026 22:01
dc520dd to
77eb338
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
5 times, most recently
from
June 30, 2026 02:16
915bb61 to
8e7281d
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 9, 2026 16:58
8e7281d to
9697c3d
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
July 21, 2026 07:00
9697c3d to
92d7505
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
September 18, 2026 01:50
4c5b963 to
1de9de3
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
September 23, 2026 23:25
1de9de3 to
8418b68
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
2 times, most recently
from
October 10, 2026 08:53
a6bb5d1 to
9a57d65
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 11, 2026 15:01
9a57d65 to
8e055c1
Compare
renovate
Bot
force-pushed
the
renovate/prettier-3.x
branch
from
November 12, 2026 12:50
8e055c1 to
579d5e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
2.8.8→3.10.1Release Notes
prettier/prettier (prettier)
v3.10.1Compare Source
diff
GraphQL: Fix empty selection set with comments (#20504 by @fisker)
v3.10.0Compare Source
diff
🔗 Release Notes
v3.9.10Compare Source
diff
Markdown: Update
micromark-extension-gfm-tableto fix the table parse issue on performance (#20266 by @fisker)See micromark/micromark-extension-gfm-table@
4f43eadfor details.v3.9.9Compare Source
diff
Markdown: Fix text with
$been incorrectly parsed as math syntax (#20140 by @fisker)v3.9.8Compare Source
diff
Markdown: Don't let Liquid objects interrupt paragraphs (#20087 by @seiyab)
v3.9.7Compare Source
diff
Markdown: Prevent indentation drift in list-item code blocks (#19647, #19990 by @Austin1serb, @giaBaoJS)
JavaScript: Fix embedded template literal idempotency (#19725 by @fisker)
Markdown: Preserve Liquid blocks after Markdown tables (#19730 by @wanxiankai, @seiyab)
Markdown: Preserve single tildes in Markdown (#19739 by @lazerg)
Since 3.9.0, single-tilde spans like
H~2~Owere rewritten to double tildes, turning subscript syntax into strike-through. Only double tildes are treated that way now, matching GitHub.Markdown: Fix Markdown blockquote containing
>characters (#19802 by @seiyab)Markdown: Strip blockquote markers from a setext heading's continuation lines (#19878 by @Kjubikstronk)
A setext heading spanning multiple lines inside a blockquote kept the
>marker of its continuation lines as literal text.Markdown: Fix HTML block indentation drift in markdown list items (#19987 by @lazerg)
Angular: Support
@boundaryerror boundaries (#20014 by @Yahiro025)v3.9.6Compare Source
diff
TypeScript: Preserve quotes for methods named
new(#19621 by @kovsu)TypeScript: Support
import defer(#19624, #19675 by @fisker)JavaScript: Added a new official plugin
@prettier/plugin-yuku(#19628, #19629 by @fisker)@prettier/plugin-yukuis powered by Yuku (A high-performance JavaScript/TypeScript compiler toolchain written in Zig).This plugin includes two new parsers:
yuku(JavaScript syntax) andyuku-ts(TypeScript syntax).To use this plugin:
Install the plugin:
Add it to your
.prettierrc:Due to package size limitations, this plugin is not bundled with the main prettier package and must be installed separately.
For more information, check the package homepage.
Big thanks to @arshad-yaseen for his excellent work.
v3.9.5Compare Source
diff
Markdown: Cap ordered list mark at 999,999,999 (#19351 by @tats-u)
CommonMark parsers only support ordered list item numbers up to 999,999,999.
With this change, Prettier now caps the ordered list item number at 999,999,999 to ensure that the output is correctly parsed as an ordered list by CommonMark parsers. Numbers larger than 999,999,999 are not parsed as list item numbers and are left unchanged in the output:
Markdown: Avoid corrupting empty link with title (#19487 by @andersk)
Do not remove
<>from an inline link or image with an empty URL and a title, as this removal would change its interpretation.Less: Remove extra spaces after
[in map lookups (#19503 by @kovsu)CSS: Prevent addition space in
type()with+(#19516 by @bigandy)This fixes the addition space before
+in CSStype()declaration. For exampletype(<number>+)was being converted intotype(<number> +)which is invalid CSS and does not work.Less: Remove spaces between merge markers and colons (#19517 by @kovsu)
Markdown: Preserve wiki links with aliases (#19527 by @kovsu)
TypeScript: Fix comments being dropped on shorthand
typeimport/export specifiers (#19565 by @kirkwaiblinger)Miscellaneous: Preserving comments'
placementproperty (#19567 by @Janther)Prettier@3.9.0 deleted an undocumented property on comments, which was already used by plugins,
comment.placementis now available again after comment attach.Flow: Stop enforcing empty module declaration to break (#19568 by @fisker)
Angular: Support expression for exhaustive typechecking (#19571 by @fisker)
TypeScript: Ignore comments inside mapped type when checking type parameter comments (#19572 by @fisker)
Less: Fix adjacent block comments being corrupted (#19574 by @kovsu)
JavaScript: Handle dangling comments in
SwitchStatement(#19581 by @fisker)TypeScript: Remove space in comment-only object type (#19583 by @fisker)
v3.9.4Compare Source
diff
Angular: Format
@content(name)->@content (name)to align with other block syntax (#19499 by @fisker)v3.9.3Compare Source
diff
Markdown: Fix unexpected removal of characters in liquid syntax (#19489 by @seiyab)
TypeScript: Allow decorators to be used with declare on class fields (#19492 by @evoactivity)
Extensively used within the Ember ecosystem, decorators with
declareon class fields will ignore the babel parser error and allow Prettier to format the code without breaking it.v3.9.2Compare Source
v3.9.1Compare Source
diff
Markdown: Update
micromark-extension-gfm-tableto fix the table parse issue on performance (#20266 by @fisker)See micromark/micromark-extension-gfm-table@
4f43eadfor details.v3.9.0Compare Source
diff
🔗 Release Notes
v3.8.5Compare Source
diff
Flow: Support
readonlyas a variance annotation (#19022 by @marcoww6)Flow now accepts
readonlyas a property variance annotation, equivalent to+(covariant/read-only).v3.8.4Compare Source
diff
Markdown: Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (#17746 by @byplayer)
Prettier was removing blank lines between list items and their nested sub-lists, converting loose lists into tight lists and changing their semantic meaning.
v3.8.3Compare Source
diff
SCSS: Prevent trailing comma in
if()function (#18471 by @kovsu)v3.8.2Compare Source
diff
Angular: Support Angular v21.2 (#18722, #19034 by @fisker)
Exhaustive typechecking with
@default never;arrow functionandinstanceofexpressions.v3.8.1Compare Source
diff
Include available
printersin plugin type declarations (#18706 by @porada)v3.8.0Compare Source
diff
🔗 Release Notes
v3.7.4Compare Source
diff
LWC: Avoid quote around interpolations (#18383 by @kovsu)
TypeScript: Fix comment inside union type gets duplicated (#18393 by @fisker)
TypeScript: Fix unstable comment print in union type comments (#18395 by @fisker)
v3.7.3Compare Source
diff
API: Fix
prettier.getFileInfo()change that breaks VSCode extension (#18375 by @fisker)An internal refactor accidentally broke the VSCode extension plugin loading.
v3.7.2Compare Source
diff
JavaScript: Fix string print when switching quotes (#18351 by @fisker)
JavaScript: Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
TypeScript: Fix comment in empty type literal (#18364 by @fisker)
v3.7.1Compare Source
diff
API: Fix performance regression in doc printer (#18342 by @fisker)
Prettier 3.7.0 can be very slow when formatting big files, the regression has been fixed.
v3.7.0Compare Source
diff
🔗 Release Notes
v3.6.2Compare Source
diff
Markdown: Add missing blank line around code block (#17675 by @fisker)
v3.6.1Compare Source
diff
TypeScript: Allow const without initializer (#17650, #17654 by @fisker)
Miscellaneous: Avoid closing files multiple times (#17665 by @43081j)
When reading a file to infer the interpreter from a shebang, we use the
n-readlineslibrary to read the first line in order to get the shebang.This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if
n-readlinesdid not already closethem.
v3.6.0Compare Source
diff
🔗 Release Notes
v3.5.3Compare Source
diff
Flow: Fix missing parentheses in
ConditionalTypeAnnotation(#17196 by @fisker)v3.5.2Compare Source
diff
Remove
module-synccondition (#17156 by @fisker)In Prettier 3.5.0, we added
module-synccondition topackage.json, so thatrequire("prettier")can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove themodule-synccondition, sorequire("prettier")will still use the CommonJS version, we'll revisit untilrequire(ESM)feature is more stable.v3.5.1Compare Source
diff
Fix CLI crash when cache for old version exists (#17100 by @sosukesuzuki)
Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.
Support dockercompose and github-actions-workflow in VSCode (#17101 by @remcohaszing)
Prettier now supports the
dockercomposeandgithub-actions-workflowlanguages in Visual Studio Code.v3.5.0Compare Source
diff
🔗 Release Notes
v3.4.2Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796 by @tats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
U+30A0 can be used as the replacement of the
-in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).Fix comments print on class methods with decorators (#16891 by @fisker)
Fix non-idempotent formatting (#16899 by @seiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#16887 by @fisker)v3.4.0Compare Source
diff
🔗 Release Notes
v3.3.3Compare Source
diff
Add parentheses for nullish coalescing in ternary (#16391 by @cdignam-segment)
This change adds clarity to operator precedence.
Add parentheses for decorator expressions (#16458 by @y-schneider)
Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
Support
@letdeclaration syntax (#16474 by @sosukesuzuki)Adds support for Angular v18
@letdeclaration syntax.Please see the following code example. The
@letdeclaration allows you to define local variables within the template:For more details, please refer to the excellent blog post by the Angular Team: Introducing @let in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
v3.3.2Compare Source
diff
Fix handlebars path expressions starts with
@(#16358 by @Princeyadav05)v3.3.1Compare Source
diff
Preserve empty lines in front matter (#16347 by @fisker)
Preserve explicit language in front matter (#16348 by @fisker)
Avoid line breaks in import attributes (#16349 by @fisker)
v3.3.0Compare Source
diff
🔗 Release Notes
v3.2.5Compare Source
diff
Support Angular inline styles as single template literal (#15968 by @sosukesuzuki)
Angular v17 supports single string inline styles.
Unexpected embedded formatting for Angular template (#15969 by @JounQin)
Computed template should not be considered as Angular component template
Use
"json"parser fortsconfig.jsonby default (#16012 by @sosukesuzuki)In v3.2.0, we introduced
"jsonc"parser which adds trailing comma by default.When adding a new parser we also define how it will be used based on the
linguist-languagesdata.tsconfig.jsonis a special file used by TypeScript, it uses.jsonfile extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing.jsonfile extension.We decide to treat it as a JSON file for now to avoid the extra configuration step.
To keep using the
"jsonc"parser for yourtsconfig.jsonfiles, add the following to your.prettierrcfile{ "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] }v3.2.4[Compare Source](https://redirect.github
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.