From 4caa6302c02a515351e92bea68b09a73641ae88f Mon Sep 17 00:00:00 2001 From: SUZUKI Sosuke Date: Thu, 16 Jan 2025 13:45:32 +0900 Subject: [PATCH] Update changelog_unreleased for 3.5 (#17019) --- changelog_unreleased/api/16828.md | 2 +- changelog_unreleased/javascript/16163.md | 2 +- changelog_unreleased/javascript/7111.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changelog_unreleased/api/16828.md b/changelog_unreleased/api/16828.md index 7d7769320..ce4030a5e 100644 --- a/changelog_unreleased/api/16828.md +++ b/changelog_unreleased/api/16828.md @@ -1,4 +1,4 @@ -#### Add support for TypeScript config files (#16828 by @itsyoboieltr & @fisker) +#### [HIGHLIGHT]Add support for TypeScript config files (#16828 by @itsyoboieltr & @fisker) Added new format of configuration files: diff --git a/changelog_unreleased/javascript/16163.md b/changelog_unreleased/javascript/16163.md index ef5b4bc8f..d52c48d7b 100644 --- a/changelog_unreleased/javascript/16163.md +++ b/changelog_unreleased/javascript/16163.md @@ -1,4 +1,4 @@ -#### Implement `objectWrap` config option (#16163 by @pauldraper, @sosukesuzuki) +#### [HIGHLIGHT]Implement `objectWrap` config option (#16163 by @pauldraper, @sosukesuzuki) Prettier has historically done semi-manual formatting of multi-line JavaScript object literals. diff --git a/changelog_unreleased/javascript/7111.md b/changelog_unreleased/javascript/7111.md index ec839c16a..f92ee059f 100644 --- a/changelog_unreleased/javascript/7111.md +++ b/changelog_unreleased/javascript/7111.md @@ -1,4 +1,4 @@ -#### Break lines before binary operators (#7111 by @btmills) +#### [HIGHLIGHT]Add experimental option for breaking lines before binary operators (#7111 by @btmills) This is implemented behind the `--experimental-operator-position ` flag. @@ -9,13 +9,13 @@ When binary expressions wrap lines, `start` prints the operators at the start of // Input var a = Math.random() * (yRange * (1 - minVerticalFraction)) + minVerticalFraction * yRange - offset; -// Default behavior +// `experimentalOperatorPosition: end` (default behavior) var a = Math.random() * (yRange * (1 - minVerticalFraction)) + minVerticalFraction * yRange - offset; -// `experimentalOperatorPosition: true` +// `experimentalOperatorPosition: start` var a = Math.random() * (yRange * (1 - minVerticalFraction)) + minVerticalFraction * yRange