From eeed611c728fb2f5f601440bbb78046a2a8aad83 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Thu, 16 Jun 2022 13:36:19 +0800 Subject: [PATCH] Release 2.7.1 --- .github/ISSUE_TEMPLATE/formatting.md | 2 +- .github/ISSUE_TEMPLATE/integration.md | 2 +- CHANGELOG.md | 39 +++++++++++++++++++ docs/browser.md | 26 ++++++------- package.json | 2 +- .../versioned_docs/version-stable/browser.md | 26 ++++++------- 6 files changed, 68 insertions(+), 29 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/formatting.md b/.github/ISSUE_TEMPLATE/formatting.md index ccae59a79..8c834ef3c 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.7.0** +**Prettier 2.7.1** [Playground link](https://prettier.io/playground/#.....) ```sh diff --git a/.github/ISSUE_TEMPLATE/integration.md b/.github/ISSUE_TEMPLATE/integration.md index 1672e225d..5ad85c7f6 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.7.0 +- Prettier Version: 2.7.1 - Running Prettier via: - Runtime: - Operating System: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c937786c..2f0c74018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,42 @@ +# 2.7.1 + +[diff](https://github.com/prettier/prettier/compare/2.7.0...2.7.1) + +#### Keep useful empty lines in description ([#13013](https://github.com/prettier/prettier/pull/13013) by [@chimurai](https://github.com/chimurai)) + + +```graphql +# Input +""" +First line + +Second Line +""" +type Person { + name: String +} + +# Prettier 2.7.0 +""" +First line +Second Line +""" +type Person { + name: String +} + + +# Prettier 2.7.1 +""" +First line + +Second Line +""" +type Person { + name: String +} +``` + # 2.7.0 [diff](https://github.com/prettier/prettier/compare/2.6.2...2.7.0) diff --git a/docs/browser.md b/docs/browser.md index 7a43c6cb7..cab603285 100644 --- a/docs/browser.md +++ b/docs/browser.md @@ -32,8 +32,8 @@ See below for examples. ### Global ```html - - + + - + +