Release 1.19.1
This commit is contained in:
1 parent
9b1726d3cd
commit
95b8e54d1a
8 files changed
+55
-49
No files matched your search
@@ -1,3 +1,43 @@
|
||||
# 1.19.1
|
||||
|
||||
[diff](https://github.com/prettier/prettier/compare/1.19.0...1.19.1)
|
||||
|
||||
#### Fix `--stdin` regression in 1.19.0 ([#6894](https://github.com/prettier/prettier/pull/6894) by [@lydell](https://github.com/lydell))
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
// Prettier stable
|
||||
$ echo "test" | prettier --stdin --parser babel
|
||||
[error] regeneratorRuntime is not defined
|
||||
|
||||
// Prettier master
|
||||
$ echo "test" | prettier --stdin --parser babel
|
||||
test;
|
||||
```
|
||||
|
||||
#### Fix formatting of union type as arrow function return type ([#6896](https://github.com/prettier/prettier/pull/6896) by [@thorn0](https://github.com/thorn0))
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
// Input
|
||||
export const getVehicleDescriptor = async (
|
||||
vehicleId: string,
|
||||
): Promise<Collections.Parts.PrintedCircuitBoardAssembly['attributes'] | undefined> => {}
|
||||
|
||||
// Prettier stable
|
||||
export const getVehicleDescriptor = async (
|
||||
vehicleId: string
|
||||
): Promise<| Collections.Parts.PrintedCircuitBoardAssembly["attributes"]
|
||||
| undefined> => {};
|
||||
|
||||
// Prettier master
|
||||
export const getVehicleDescriptor = async (
|
||||
vehicleId: string
|
||||
): Promise<
|
||||
Collections.Parts.PrintedCircuitBoardAssembly["attributes"] | undefined
|
||||
> => {};
|
||||
```
|
||||
|
||||
# 1.19.0
|
||||
|
||||
[diff](https://github.com/prettier/prettier/compare/1.18.2...1.19.0)
|
||||
|
||||
Reference in new issue
Block a user