diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 14d90648f..63ffe65ce 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -5,6 +5,8 @@ # See https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt # Prettier bump after release +# 2.8.3 +9e9f8ec13f0420a4825fdba85d79ddeaaef1e00c # 2.8.2 b9c3cd4c7016dfb1bb3539c5b3db15fdd54b9f6f # 2.8.1 diff --git a/.github/ISSUE_TEMPLATE/formatting.md b/.github/ISSUE_TEMPLATE/formatting.md index 340fab2a4..8e49b6b6f 100644 --- a/.github/ISSUE_TEMPLATE/formatting.md +++ b/.github/ISSUE_TEMPLATE/formatting.md @@ -26,7 +26,7 @@ Don't fill the form below manually! Let a program create a report for you: --> -**Prettier 2.8.2** +**Prettier 2.8.3** [Playground link](https://prettier.io/playground/#.....) ```sh diff --git a/.github/ISSUE_TEMPLATE/integration.md b/.github/ISSUE_TEMPLATE/integration.md index b397119d2..239aba6e9 100644 --- a/.github/ISSUE_TEMPLATE/integration.md +++ b/.github/ISSUE_TEMPLATE/integration.md @@ -20,7 +20,7 @@ BEFORE SUBMITTING AN ISSUE: **Environments:** -- Prettier Version: 2.8.2 +- Prettier Version: 2.8.3 - Running Prettier via: - Runtime: - Operating System: diff --git a/CHANGELOG.md b/CHANGELOG.md index df1b8030f..2a47b3eff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +# 2.8.3 + +[diff](https://github.com/prettier/prettier/compare/2.8.2...2.8.3) + +#### Allow self-closing tags on custom elements ([#14170](https://github.com/prettier/prettier/pull/14170) by [@fisker](https://github.com/fisker)) + +See [Angular v15.1.0 release note](https://github.com/angular/angular/releases/tag/15.1.0) for details. + + +```html +// Input + + +// Prettier 2.8.2 +SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1) +> 1 | + | ^^^^^^^^^ + 2 | + +// Prettier 2.8.3 + +``` + # 2.8.2 [diff](https://github.com/prettier/prettier/compare/2.8.1...2.8.2) diff --git a/docs/browser.md b/docs/browser.md index 352c80ae4..d01d4e16e 100644 --- a/docs/browser.md +++ b/docs/browser.md @@ -29,8 +29,8 @@ See below for examples. ### Global ```html - - + + - + +