2.6 blog post (#12412)
* Generate * Generate * Add TS4.6 changelog * Regenerate * Add changelog to switch to esbuild * Add category * Update changelog_unreleased/blog-post-intro.md Co-authored-by: Jed Fox <git@jedfox.com> * Address review * Regenerate * Highlight TS 4.6 * Update changelog_unreleased/blog-post-intro.md Co-authored-by: Jed Fox <git@jedfox.com> * Regenerate * Update changelog_unreleased/typescript/12390.md Co-authored-by: Jed Fox <git@jedfox.com> * Add thanks message for sponsors * Address review! * Update cspell.json * Fix link of Ubie * Generate * Add `Thanks to our sponsors!` * Update cspell * Address review * Update changelog_unreleased/blog-post-intro.md Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> * Regenerate * Add `--print-truncate` option * Address review * Generate Co-authored-by: Jed Fox <git@jedfox.com> Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
This commit is contained in:
19 files changed
+894
-21
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#### Preserve end-of-line comment for if statements without blocks (#12017 by @sosukesuzuki)
|
||||
#### Preserve end-of-line comments after if statements without blocks (#12017 by @sosukesuzuki)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#### Print end-of-line comment for `continue`/`break` statements (#12075 by @sosukesuzuki)
|
||||
|
||||
<!-- Optional description if it makes sense. -->
|
||||
#### Print end-of-line comments for `continue`/`break` statements (#12075 by @sosukesuzuki)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#### Support Unicode Set Notation proposal (#12241 by @fisker)
|
||||
#### Add support for Unicode Set Notation in regular expressions (#12241 by @fisker)
|
||||
|
||||
Support [Stage 3 proposal Unicode Set Notation](https://github.com/tc39/proposal-regexp-set-notation/) via [Babel 7.17.0](https://babeljs.io/blog/2022/02/02/7.17.0).
|
||||
The Stage 3 proposal for [Unicode Set Notation](https://github.com/tc39/proposal-regexp-set-notation/) in regular expressions is now supported via [Babel 7.17.0](https://babeljs.io/blog/2022/02/02/7.17.0).
|
||||
|
||||
See [the release blog post of Babel v7.17.0](https://babeljs.io/blog/2022/02/02/7.17.0#regexp-set-notation-and-properties-of-strings-14125httpsgithubcombabelbabelpull14125) and [the README of this proposal](https://github.com/tc39/proposal-regexp-set-notation/) for details.
|
||||
See [the release blog post of Babel v7.17.0](https://babeljs.io/blog/2022/02/02/7.17.0#regexp-set-notation-and-properties-of-strings-14125httpsgithubcombabelbabelpull14125) and [the README of this proposal](https://github.com/tc39/proposal-regexp-set-notation/) for details. Also keep in mind our [policy on non-standardized syntax](https://prettier.io/docs/en/rationale.html#disclaimer-about-non-standard-syntax) before using this proposed syntax feature with Prettier.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
|
||||
@@ -24,7 +24,7 @@ type Props =
|
||||
};
|
||||
```
|
||||
|
||||
And for TS that comment would not be stable with a second format:
|
||||
This change also fixes an issue where a similarly-placed comment in TypeScript would be moved again after a second formatting operation:
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#### Support destructuring private proposal (#12276 by @sosukesuzuki)
|
||||
#### Add support for destructuring of private fields (#12276 by @sosukesuzuki)
|
||||
|
||||
Support [Stage 2 TC39 proposal destructuring private fields](https://github.com/tc39/proposal-destructuring-private) via [Babel 7.17](https://babeljs.io/blog/2022/02/02/7.17.0).
|
||||
The Stage 2 TC39 proposal for [destructuring of private fields](https://github.com/tc39/proposal-destructuring-private) is now supported via [Babel 7.17](https://babeljs.io/blog/2022/02/02/7.17.0). Please read our [policy on non-standardized syntax](https://prettier.io/docs/en/rationale.html#disclaimer-about-non-standard-syntax) before you decide to use this proposed syntax feature with Prettier.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#### Support decorator auto accessors syntax (#12299 by @sosukesuzuki)
|
||||
|
||||
Support auto accessors syntax that is introduced in [new decorators proposal](https://github.com/tc39/proposal-decorators).
|
||||
Support auto accessors syntax that is introduced in [new decorators proposal](https://github.com/tc39/proposal-decorators). Please read our [policy on non-standardized syntax](https://prettier.io/docs/en/rationale.html#disclaimer-about-non-standard-syntax) before you decide to use this proposed syntax feature with Prettier.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
|
||||
Reference in new issue
Block a user