diff --git a/changelog_unreleased/api/15363.md b/changelog_unreleased/api/15363.md deleted file mode 100644 index bed2d2a69..000000000 --- a/changelog_unreleased/api/15363.md +++ /dev/null @@ -1,19 +0,0 @@ -#### Fix config file search (#15363 by @fisker) - -Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake. - -```text -├─ .prettierrc -└─ test.js (A directory) - └─ .prettierrc -``` - -```js -// Prettier stable -await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); -// /test.js/.prettierrc - -// Prettier main -await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); -// /.prettierrc -``` diff --git a/changelog_unreleased/api/15663.md b/changelog_unreleased/api/15663.md deleted file mode 100644 index 29aac10bf..000000000 --- a/changelog_unreleased/api/15663.md +++ /dev/null @@ -1,3 +0,0 @@ -#### Improve config file search (#15663 by @fisker) - -The Prettier config file search performance has been improved by more effective cache strategy. diff --git a/changelog_unreleased/cli/15533.md b/changelog_unreleased/cli/15533.md deleted file mode 100644 index 4af08f62b..000000000 --- a/changelog_unreleased/cli/15533.md +++ /dev/null @@ -1,5 +0,0 @@ -#### Skip explicitly passed symbolic links with `--no-error-on-unmatched-pattern` (#15533 by @sanmai-NL) - -Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors. - -In Prettier main, you can use `--no-error-on-unmatched-pattern` to simply skip symbolic links. diff --git a/changelog_unreleased/javascript/15662.md b/changelog_unreleased/javascript/15662.md deleted file mode 100644 index c0798b4d4..000000000 --- a/changelog_unreleased/javascript/15662.md +++ /dev/null @@ -1,31 +0,0 @@ -#### Consistently use tabs in ternaries when `useTabs` is `true` (#15662 by @auvred) - - -```jsx -// Input -aaaaaaaaaaaaaaa - ? bbbbbbbbbbbbbbbbbb - : ccccccccccccccc - ? ddddddddddddddd - : eeeeeeeeeeeeeee - ? fffffffffffffff - : gggggggggggggggg; - -// Prettier stable -aaaaaaaaaaaaaaa - ? bbbbbbbbbbbbbbbbbb - : ccccccccccccccc - ? ddddddddddddddd - : eeeeeeeeeeeeeee - ? fffffffffffffff - : gggggggggggggggg; - -// Prettier main -aaaaaaaaaaaaaaa - ? bbbbbbbbbbbbbbbbbb - : ccccccccccccccc - ? ddddddddddddddd - : eeeeeeeeeeeeeee - ? fffffffffffffff - : gggggggggggggggg; -``` diff --git a/changelog_unreleased/javascript/15756.md b/changelog_unreleased/javascript/15756.md deleted file mode 100644 index 7c78449b7..000000000 --- a/changelog_unreleased/javascript/15756.md +++ /dev/null @@ -1,16 +0,0 @@ -#### Keep curly braces and `from` keyword in empty `import` statements (#15756 by @fisker) - - -```js -// Input -import { } from 'foo'; -import { /* comment */ } from 'bar'; - -// Prettier stable -import {} from "foo"; -import /* comment */ "bar"; - -// Prettier main -import {} from "foo"; -import {} from /* comment */ "bar"; -``` diff --git a/changelog_unreleased/javascript/15757.md b/changelog_unreleased/javascript/15757.md deleted file mode 100644 index f7bab6bb1..000000000 --- a/changelog_unreleased/javascript/15757.md +++ /dev/null @@ -1,16 +0,0 @@ -#### Keep empty import attributes and assertions (#15757 by @fisker) - - -```js -// Input -import foo from "foo" with {}; -import bar from "bar" assert {}; - -// Prettier stable -import foo from "foo"; -import bar from "bar"; - -// Prettier main -import foo from "foo" with {}; -import bar from "bar" assert {}; -``` diff --git a/changelog_unreleased/typescript/15708.md b/changelog_unreleased/typescript/15708.md deleted file mode 100644 index 1565fc229..000000000 --- a/changelog_unreleased/typescript/15708.md +++ /dev/null @@ -1,31 +0,0 @@ -#### Fix unstable and ugly formatting for comments in destructuring patterns (#15708 by @sosukesuzuki) - - -```tsx -// Input -const { - foo, - // bar - // baz -}: Foo = expr; - -// Prettier stable -const { - foo1, -} // bar -// baz -: Foo = expr; - -// Prettier stable second output -const { - foo1, // bar -} // baz -: Foo = expr; - -// Prettier main -const { - foo1, - // bar - // baz -}: Foo = expr; -``` diff --git a/changelog_unreleased/typescript/15718.md b/changelog_unreleased/typescript/15718.md deleted file mode 100644 index 008780346..000000000 --- a/changelog_unreleased/typescript/15718.md +++ /dev/null @@ -1,7 +0,0 @@ -#### Support "Import Attributes" (#15718 by @fisker) - -[TypeScript 5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/#import-attributes) supports the latest updates to the [import attributes](https://github.com/tc39/proposal-import-attributes) proposal. - -```tsx -import something from "./something.json" with { type: "json" }; -```