Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 2.1 blog post #8932

Merged
merged 25 commits into from Aug 24, 2020
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
12f0eb4
Add draft for 2.1 blog post
sosukesuzuki Aug 7, 2020
e832661
Update cspell.json
sosukesuzuki Aug 7, 2020
fd5c224
Update website/blog/2020-08-04-2.1.0.md
sosukesuzuki Aug 15, 2020
25053ce
Update website/blog/2020-08-04-2.1.0.md
sosukesuzuki Aug 15, 2020
685a238
Update website/blog/2020-08-04-2.1.0.md
sosukesuzuki Aug 15, 2020
2204a59
Update website/blog/2020-08-04-2.1.0.md
sosukesuzuki Aug 15, 2020
0120031
Update website/blog/2020-08-04-2.1.0.md
sosukesuzuki Aug 15, 2020
0581ddc
Merge branch 'master' into 2.1-blog-post
sosukesuzuki Aug 15, 2020
f5a30b4
Update changelogs
sosukesuzuki Aug 15, 2020
36cce5c
Add author to cspell ignore patterns
sosukesuzuki Aug 15, 2020
d202490
Update cspell.json
fisker Aug 15, 2020
d629579
Fix original changelog
sosukesuzuki Aug 15, 2020
8946c4b
Merge branch 'master' into 2.1-blog-post
sosukesuzuki Aug 21, 2020
16a04f3
Run draft script
sosukesuzuki Aug 21, 2020
3835171
Update
sosukesuzuki Aug 21, 2020
9b5d9ed
Fix TypeScript on Highlights
sosukesuzuki Aug 21, 2020
877c7bc
Fix heading
sosukesuzuki Aug 21, 2020
ee2c08d
Fix author
sosukesuzuki Aug 21, 2020
c28670c
Fix changelog for 8410
sosukesuzuki Aug 21, 2020
3c99549
Fix syntax highlight
sosukesuzuki Aug 21, 2020
f3997da
Move changelog for 7844 to /scss
sosukesuzuki Aug 21, 2020
b670a42
Update website/blog/2020-08-21-2.1.0.md
sosukesuzuki Aug 21, 2020
fd4da0b
Remove changelog_unreleased
sosukesuzuki Aug 24, 2020
dc7b708
Update filename
sosukesuzuki Aug 24, 2020
6605917
Replace to actual version manually
sosukesuzuki Aug 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion changelog_unreleased/api/pr-7875.md
@@ -1,6 +1,6 @@
#### Add --embedded-language-formatting={auto,off} option ([#7875](https://github.com/prettier/prettier/pull/7875) by [@bakkot](https://github.com/bakkot), [#8825](https://github.com/prettier/prettier/pull/8825) by [@fisker](https://github.com/fiskers))

When Prettier identifies cases where it looks like you've placed some code it knows how to format within a string in another file, like in a tagged template in JavaScript with a tag named `html` or in code blocks in Markdown, it will by default try to format that code.
When Prettier identifies cases where it looks like you've placed some code it knows how to format within a string in another file, like in a tagged template in JavaScript with a tag named `html` or in code blocks in Markdown, it will try to format that code by default.

Sometimes this behavior is undesirable, since it can change the behavior of your code. This option allows you to switch between the default behavior (`auto`) and disabling this feature entirely (`off`). It applies to all languages where Prettier recognizes embedded code, not just JavaScript.

Expand Down
2 changes: 1 addition & 1 deletion changelog_unreleased/javascript/pr-8069.md
@@ -1,6 +1,6 @@
#### Fix end-of-line comments if followed by trailing whitespace ([#8069](https://github.com/prettier/prettier/pull/8069) by [@shisama](https://github.com/shisama))

If comments line has trailing whitespaces, comments aren't detected as end-of-line.
If a comments line had trailing whitespaces, comments were not detected as end-of-line.

<!-- prettier-ignore -->
```jsx
Expand Down
2 changes: 1 addition & 1 deletion changelog_unreleased/javascript/pr-8410.md
Expand Up @@ -4,7 +4,7 @@
> echo -e "export default class Foo{\n/**/\n}" | prettier --range-start 16 --range-end 31 --parser babel
```

<!--prettier-ignore-->
<!-- prettier-ignore -->
```js
// Prettier stable
export default class Foo {
Expand Down
Expand Up @@ -4,7 +4,7 @@ Previously, Prettier would place extra indentation of lines following comments w
Prettier now no longer places these indentations

<!-- prettier-ignore -->
```css
```scss
/* Input */
$my-map: (
'foo': 1, // Foo
Expand Down
6 changes: 4 additions & 2 deletions cspell.json
Expand Up @@ -117,7 +117,6 @@
"Filipe",
"finalizer",
"Fiorini",
"fisker",
"fnames",
"foldgutter",
"formatprg",
Expand Down Expand Up @@ -403,7 +402,10 @@
"\\[`\\w+`\\]",
"ve{2,}r{2,}y",
"ve+r+y+long\\w*",
"\\/.*?\\/"
"\\/.*?\\/",
"author: \".*?\"",
"authorURL: \".*?\"",
"\"author\": \".*?\""
],
"ignorePaths": [
"cspell.json",
Expand Down