merge changelog entries for removed deprecated API

This commit is contained in:
Georgii Dolzhykov committed 2020-02-24 22:58:29 +02:00
1 parent 04012b9dc7
commit 0bca7a0a4f
4 files changed
+7 -12

No files matched your search

+7 -2
View File
@@ -1,3 +1,8 @@
#### Remove `--flow-parser/useFlowParser` ([#7511](https://github.com/prettier/prettier/pull/7511) by [@fisker](https://github.com/fisker))
#### Remove deprecated options and option values ([#7511](https://github.com/prettier/prettier/pull/7511), [#7533](https://github.com/prettier/prettier/pull/7533), [#7535](https://github.com/prettier/prettier/pull/7535), [#7536](https://github.com/prettier/prettier/pull/7536) by [@fisker](https://github.com/fisker))
`Options.useFlowParser` and `--flow-parser` for CLI [has been deprecated since `v0.0.10`](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#0010), now they are removed.
- Options:
- `useFlowParser` (`--flow-parser` in CLI) [has been deprecated since `v0.0.10`](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#0010).
- Renamed option values whose old names were kept for backward compatibility:
- `parser`: `babylon` (renamed to `babel` in _v1.16.0_), `postcss` (renamed to `css` in _v1.7.1_)
- `trailingComma`: `true` (renamed to `always` in _v1.9.0_), `false` (renamed to `never` in _v1.9.0_)
- `proseWrap`: `true` (renamed to `es5` in _v0.19.0_), `false` (renamed to `none` in _v0.19.0_)
-3
View File
@@ -1,3 +0,0 @@
#### Remove deprecated parser `babylon` ([#7533](https://github.com/prettier/prettier/pull/7533) by [@fisker](https://github.com/fisker))
Parser `babylon` has been renamed to `babel` since _v1.16.0_, but aliased to keep backwards compatibility, now it's removed.
-3
View File
@@ -1,3 +0,0 @@
#### Remove deprecated parser `postcss` ([#7535](https://github.com/prettier/prettier/pull/7535) by [@fisker](https://github.com/fisker))
Parser `postcss` has been renamed to `css` since _v1.7.1_, but aliased to keep backwards compatibility, now it's removed.
-4
View File
@@ -1,4 +0,0 @@
#### Remove deprecated options ([#7536](https://github.com/prettier/prettier/pull/7536) by [@fisker](https://github.com/fisker))
`trailingComma` choices `true`(rename to `always` since _v1.9.0_) / `false`(rename to `never` since _v1.9.0_) is removed.\
`proseWrap` choices `true`(rename to `es5` since _v0.19.0_) / `false`(rename to `none` since _0.19.0_) is removed.