prettier/prettier
### [`v2.5.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#251)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1)
[diff](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1)
##### Improve formatting for empty tuple types ([#11884](https://togithub.com/prettier/prettier/pull/11884) by [@sosukesuzuki](https://togithub.com/sosukesuzuki))
```tsx
// Input
type Foo =
Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
? Foo3
: Foo4;
// Prettier 2.5.0
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
]
? Foo3
: Foo4;
// Prettier 2.5.0 (tailingCommma = all)
// Invalid TypeScript code
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
,
]
? Foo3
: Foo4;
// Prettier 2.5.1
type Foo =
Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
? Foo3
: Foo4;
```
##### Fix compatibility with Jest inline snapshot test ([#11892](https://togithub.com/prettier/prettier/pull/11892) by [@fisker](https://togithub.com/fisker))
A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.
##### Support Glimmer's named blocks ([#11899](https://togithub.com/prettier/prettier/pull/11899) by [@duailibe](https://togithub.com/duailibe))
Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.
See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html).
```hbs
// Input
<:named>
// Prettier 2.5.0
<:named />
// Prettier 2.5.1
<:named>
```
Microsoft/TypeScript
### [`v4.5.4`](https://togithub.com/Microsoft/TypeScript/releases/v4.5.4)
[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.5.3...v4.5.4)
This patch release includes a fix for [incorrectly offering up JSX attribute snippet completions at the beginning of a tag name](https://togithub.com/microsoft/TypeScript/issues/47090).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 4.5.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.0%22+).
- [fixed issues query for Typescript 4.5.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.1%22+).
- [fixed issues query for Typescript 4.5.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.2%22+).
- [fixed issues query for Typescript 4.5.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.3%22+).
- - [fixed issues query for Typescript 4.5.4 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.4%22+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
### [`v4.5.3`](https://togithub.com/Microsoft/TypeScript/releases/v4.5.3)
[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.5.2...v4.5.3)
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/).
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 4.5.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.0%22+).
- [fixed issues query for Typescript 4.5.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.1%22+).
- [fixed issues query for Typescript 4.5.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.2%22+).
- [fixed issues query for Typescript 4.5.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.3%22+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
- [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
Configuration
📅 Schedule: "before 2am" (UTC).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
2.5.0
->2.5.1
4.5.2
->4.5.4
Release Notes
prettier/prettier
### [`v2.5.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#251) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) [diff](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) ##### Improve formatting for empty tuple types ([#11884](https://togithub.com/prettier/prettier/pull/11884) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; ``` ##### Fix compatibility with Jest inline snapshot test ([#11892](https://togithub.com/prettier/prettier/pull/11892) by [@fisker](https://togithub.com/fisker)) A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test. ##### Support Glimmer's named blocks ([#11899](https://togithub.com/prettier/prettier/pull/11899) by [@duailibe](https://togithub.com/duailibe)) Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler. See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html). ```hbs // InputMicrosoft/TypeScript
### [`v4.5.4`](https://togithub.com/Microsoft/TypeScript/releases/v4.5.4) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.5.3...v4.5.4) This patch release includes a fix for [incorrectly offering up JSX attribute snippet completions at the beginning of a tag name](https://togithub.com/microsoft/TypeScript/issues/47090). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 4.5.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.0%22+). - [fixed issues query for Typescript 4.5.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.1%22+). - [fixed issues query for Typescript 4.5.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.2%22+). - [fixed issues query for Typescript 4.5.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.3%22+). - - [fixed issues query for Typescript 4.5.4 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.4%22+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v4.5.3`](https://togithub.com/Microsoft/TypeScript/releases/v4.5.3) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.5.2...v4.5.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 4.5.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.0%22+). - [fixed issues query for Typescript 4.5.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.1%22+). - [fixed issues query for Typescript 4.5.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.2%22+). - [fixed issues query for Typescript 4.5.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.3%22+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)Configuration
📅 Schedule: "before 2am" (UTC).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.