Skip to content

Commit 374b99f

Browse files
committed
trigger-frontend-updates:prettier@3.7.0
1 parent e24a544 commit 374b99f

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Monorepo to get notified of frontend dependencies updates",
55
"author": "simple-frontend-dev",
66
"license": "MIT",
7-
"packageManager": "pnpm@10.9.0",
7+
"packageManager": "pnpm@10.23.0",
88
"devDependencies": {
99
"prettier": "^3.6.2",
1010
"typescript": "^5.9.2"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Prettier 3.7.0
2+
3+
This update polishes formatting consistency (especially for TypeScript classes and interfaces) and improves plugin capabilities.
4+
5+
We suggest to run to `prettier --write` across the repo to review for style-only changes.
6+
7+
## Major changes
8+
9+
- **TypeScript & Flow formatting**: Aligns class and interface formatting (heritage clauses and generics) for more predictable output and tweaks brace placement behavior for multi-heritage classes and interfaces.
10+
- **GraphQL**: Adds support for executable descriptions (e.g. leading string descriptions before `query`), avoiding syntax errors on valid GraphQL 16.12 syntax.
11+
- **HTML/Handlebars/MDX/YAML**: Reduces unnecessary blank lines and unwanted wrapping, improves table alignment in Markdown, and preserves more original intent in YAML documents.
12+
13+
## Migration notes
14+
15+
- **Formatting diffs**: Expect small but widespread diffs in TypeScript where classes/interfaces have generics or multiple `extends`/`implements` clauses.
16+
- **Plugins**: If you maintain custom Prettier plugins, you may be able to simplify comment handling and ignored-node behavior using the new APIs. Consider updating your plugin to take advantage of these.
17+
18+
References
19+
20+
- **Official 3.7.0 blog post**: https://prettier.io/blog/2025/11/27/3.7.0

0 commit comments

Comments
 (0)