diff --git a/changelog_unreleased/handlebars/14067.md b/changelog_unreleased/handlebars/14067.md deleted file mode 100644 index 6edfdfc94..000000000 --- a/changelog_unreleased/handlebars/14067.md +++ /dev/null @@ -1,57 +0,0 @@ -#### Group params in opening block statements (#14067 by @jamescdavis) - -This is a follow-up to #13930 to establish wrapping consistency between opening block statements and else blocks by -grouping params in opening blocks. This causes params to break to a new line together and not be split across lines -unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the -same as opening blocks. - - -```hbs -{{! Input }} -{{#block param param param param param param param param param param as |blockParam|}} - Hello -{{else block param param param param param param param param param param as |blockParam|}} - There -{{/block}} - -{{! Prettier stable }} -{{#block - param - param - param - param - param - param - param - param - param - param - as |blockParam| -}} - Hello -{{else block param -param -param -param -param -param -param -param -param -param}} - There -{{/block}} - -{{! Prettier main }} -{{#block - param param param param param param param param param param - as |blockParam| -}} - Hello -{{else block - param param param param param param param param param param - as |blockParam| -}} - There -{{/block}} -``` diff --git a/changelog_unreleased/javascript/14262.md b/changelog_unreleased/javascript/14262.md deleted file mode 100644 index bbce6e74a..000000000 --- a/changelog_unreleased/javascript/14262.md +++ /dev/null @@ -1,16 +0,0 @@ -#### Recognize `@satisfies` in Closure-style type casts (#14262 by @fisker) - - -```jsx -// Input -const a = /** @satisfies {Record} */ ({hello: 1337}); -const b = /** @type {Record} */ ({hello: 1337}); - -// Prettier stable -const a = /** @satisfies {Record} */ { hello: 1337 }; -const b = /** @type {Record} */ ({ hello: 1337 }); - -// Prettier main -const a = /** @satisfies {Record} */ ({hello: 1337}); -const b = /** @type {Record} */ ({hello: 1337}); -``` diff --git a/changelog_unreleased/misc/14206.md b/changelog_unreleased/misc/14206.md deleted file mode 100644 index ee77842c2..000000000 --- a/changelog_unreleased/misc/14206.md +++ /dev/null @@ -1,3 +0,0 @@ -#### Ignore files in `.sl/` (#14206 by @bolinfest) - -In [Sapling SCM](https://sapling-scm.com/), `.sl/` is the folder where it stores its state, analogous to `.git/` in Git. It should be ignored in Prettier like the other SCM folders. diff --git a/changelog_unreleased/typescript/13427.md b/changelog_unreleased/typescript/13427.md deleted file mode 100644 index 96f9b91da..000000000 --- a/changelog_unreleased/typescript/13427.md +++ /dev/null @@ -1,22 +0,0 @@ -#### Fix leading comments in mapped types with `readonly` (#13427 by @thorn0, @sosukesuzuki) - - -```tsx -// Input -type Type = { - // comment - readonly [key in Foo]; -}; - -// Prettier stable -type Type = { - readonly // comment - [key in Foo]; -}; - -// Prettier main -type Type = { - // comment - readonly [key in Foo]; -}; -``` diff --git a/changelog_unreleased/typescript/14279.md b/changelog_unreleased/typescript/14279.md deleted file mode 100644 index b15c9c37e..000000000 --- a/changelog_unreleased/typescript/14279.md +++ /dev/null @@ -1,16 +0,0 @@ -#### Fix parens in inferred function return types with `extends` (#14279 by @fisker) - - -```ts -// Input -type Foo = T extends ((a) => a is infer R extends string) ? R : never; - -// Prettier stable (First format) -type Foo = T extends (a) => a is infer R extends string ? R : never; - -// Prettier stable (Second format) -SyntaxError: '?' expected. - -// Prettier main -type Foo = T extends ((a) => a is infer R extends string) ? R : never; -```