Release v3
Problem
next branch - [x] Support ESM plugins (#13201) - [x] Support ESM config files (#13130) - [x] Change `trailingComma` option default value to `all` (#11479) - [x] Don't insert spaces in Markdown ( #11597 ) - [x] Remove `prettier.doc.builders.concat` (#13203) - [ ] ~Update `print` function signature to not accept `path` (need investigate)~(Removed since this will break `path.map(print)`) - [x] Print HTML5 doctype in lowercase? (need discussion #7391) - [x] Change `--loglevel` flag to `--log-level` (#13204) - [ ] ~Support MDX 2? (#12209)~ Postponed - [x] `exports` field (#13530) - [ ] Plugins & tools support for v3 (#13616) ** - prepare - [x] Complete milestone items - [x] Run on other projects to check for regressions ( https://github.com/prettier/prettier-regression-testing/issues/348 ) - [x] Write release notes (#13436) - use `node scripts/draft-blog-post.mjs` to generate a blog post draft (a file named <code>YYYY-MM-DD-version*.md</code> in `website/blog`) from `changelog_unreleased` - prs-merged-since (readme) may be useful - publish - [x] Run release script - postpublish - [x] Merge release notes - [x] Wait for release notes to deploy - [x] Clean `changelog_unreleased` - use `node scripts/clean-changelog-unreleased.mjs` - [ ] Tweet from `@PrettierCode` account via TweetDeck - [ ] Close milestone - [ ] Send schema PR generated by `node scripts/generate-schema.mjs` to SchemaStore if we added a new option. - [x] Update the release checklist
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Release v3
Please consider PR https://github.com/prettier/prettier/issues/7111 ("JS: Break lines before binary operators (fixes #3806)"). https://github.com/prettier/prettier/issues/3806#issuecomment-1104635354 is a nice status summary for this long-standing issue.
Trust Score
7 verifications
- 1
Please consider PR https://github.com/prettier/prettier/issues/7111 ("JS: Break
Please consider PR https://github.com/prettier/prettier/issues/7111 ("JS: Break lines before binary operators (fixes #3806)").
- 2
https://github.com/prettier/prettier/issues/3806#issuecomment-1104635354 is a ni
https://github.com/prettier/prettier/issues/3806#issuecomment-1104635354 is a nice status summary for this long-standing issue.
Validation
Resolved in prettier/prettier GitHub issue #13142. Community reactions: 35 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep