Release 1.14.1

This commit is contained in:
Ika committed 2018-08-09 00:36:36 +08:00
1 parent 8973caf4bb
commit 35d0ff1d3f
4 files changed
+24 -4

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ Tip! Don't write this stuff manually.
-->
**Prettier 1.14.0**
**Prettier 1.14.1**
[Playground link](https://prettier.io/playground/#.....)
```sh
# Options (if any):
+1 -1
View File
@@ -19,7 +19,7 @@ BEFORE SUBMITTING AN ISSUE:
-->
**Environments:**
- Prettier Version: 1.14.0
- Prettier Version: 1.14.1
- Running Prettier via: <!-- CLI, Node.js API, Browser API, etc. -->
- Runtime: <!-- Node.js v6, Chrome v67, etc. -->
- Operating System: <!-- Windows, Linux, macOS, etc. -->
+21 -1
View File
@@ -1,8 +1,28 @@
# 1.14.1
[diff](https://github.com/prettier/prettier/compare/1.14.0...1.14.1)
- JavaScript: add parens for unary in bind ([#4950](https://github.com/prettier/prettier/pull/4950))
- JavaScript: format angular jasmine `it("should ...", fakeAsync(() => { ...` correctly. ([#4954](https://github.com/prettier/prettier/pull/4954))
- JavaScript: Revert this/super blacklist for function composition heuristic ([#4936](https://github.com/prettier/prettier/pull/4936))
- JavaScript: no extra space on Flow interface method named `static` ([#4910](https://github.com/prettier/prettier/pull/4910))
- JavaScript: no extra line break in destructed assignment of ternary ([#4932](https://github.com/prettier/prettier/pull/4932))
- Flow: print ObjectTypeInternalSlot with both flow/babel parsers ([#4869](https://github.com/prettier/prettier/pull/4869))
- TypeScript: no invalid output for ImportType in TypeReference ([#4939](https://github.com/prettier/prettier/pull/4939))
- YAML: do not throw on duplicate merge key ([#4931](https://github.com/prettier/prettier/pull/4931))
- YAML: no duplicate comments in mappingValue ([#4931](https://github.com/prettier/prettier/pull/4931))
- YAML: print end comment in nested mapping correctly ([#4918](https://github.com/prettier/prettier/pull/4918))
- YAML: do not put singleline values on a separate line from the key ([#4916](https://github.com/prettier/prettier/pull/4916))
- YAML: prefer dash as document separator ([#4921](https://github.com/prettier/prettier/pull/4921))
- API: update support info for Flow ([#4943](https://github.com/prettier/prettier/pull/4943))
- CLI: ignore .git, .svn and .hg directories ([#4906](https://github.com/prettier/prettier/pull/4906))
- CLI: support TOML configuration files ([#4877](https://github.com/prettier/prettier/pull/4877))
# 1.14.0
[diff](https://github.com/prettier/prettier/compare/1.13.7...1.14.0)
- [🔗 Release Notes](https://prettier.io/blog/2018/07/29/1.14.0.html)
🔗 [Release Notes](https://prettier.io/blog/2018/07/29/1.14.0.html)
# 1.13.7
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "1.15.0-dev",
"version": "1.14.1",
"description": "Prettier is an opinionated code formatter",
"bin": {
"prettier": "./bin/prettier.js"