-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #816 from avh4/release/0.8.7
Prepare 0.8.7 release
- Loading branch information
Showing
12 changed files
with
131 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Small improvements and fixed npm installer for Windows | ||
|
||
Version 0.8.6 was not widely announced because of an issue with the npm installer on Windows, | ||
so check the [0.8.6 release notes](https://github.com/avh4/elm-format/releases/tag/0.8.6) as well. | ||
Below are the additional changes in 0.8.7. | ||
|
||
New features: | ||
- `case ... then` is now auto-corrected to `case ... of` | ||
- `=>` is now auto-corrected to `->` | ||
|
||
Bug fixes: | ||
- Top-level declarations named "infix" no longer make files unprocessable | ||
- The npm installer should now work correctly on Windows (was broken for 0.8.6) | ||
|
||
|
||
## Install | ||
|
||
```sh | ||
npm install -g elm-format | ||
``` | ||
|
||
or [download from the release page](https://github.com/avh4/elm-format/releases/tag/0.8.7). | ||
|
||
|
||
## Thanks to ... | ||
|
||
- @kutyel for lenient parsing additions | ||
- @emmabastas for the initial draft of test coverage scripts | ||
- @jfmengels for continued thoughtful issue discussion across the Elm devtools community (only partially related to elm-format, but thank you!) | ||
- @8n8 for code cleanup help | ||
- [Lamdera](https://www.lamdera.com/) for providing CI runners to build the MacOS ARM64 release binaries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: elm-format | ||
version: 0.8.6 | ||
version: 0.8.7 | ||
|
||
synopsis: A source code formatter for Elm | ||
description: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{pkgs ? import <nixpkgs> {}}: | ||
import ./workspace.nix pkgs (import ./elm-format-0.8.6-windows.nix) | ||
import ./workspace.nix pkgs (import ./elm-format-0.8.7.nix) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
name = "elm-format"; | ||
version = "0.8.7"; | ||
prerelease = "rc.1"; | ||
binaryPackageScope = "avh4"; | ||
experimental = false; | ||
elmVersions = [ | ||
"0.18.0" | ||
"0.19.0" | ||
"0.19.1" | ||
]; | ||
|
||
binaries = { | ||
linux-x64 = { | ||
v = "1"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7-rc.1/elm-format-0.8.7-rc.1-linux-x64.tgz"; | ||
sha256 = "sha256-yMD57UqAAh9NzVL+7eZNLscvD1qnJ8CG5EqrJ1i6z78="; | ||
}; | ||
linux-aarch64 = { | ||
v = "1"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7-rc.1/elm-format-0.8.7-rc.1-linux-aarch64.tgz"; | ||
sha256 = "sha256-fPEDXsK99vZbrf248f5uuEjzZK2a06GR34UBzw0WDvs="; | ||
}; | ||
mac-x64 = { | ||
v = "1"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7-rc.1/elm-format-0.8.7-rc.1-mac-x64.tgz"; | ||
sha256 = "sha256-itMJlqommJJzchcYwUnQpci5KPRcctfzm+DKyKBzsp0="; | ||
}; | ||
mac-arm64 = { | ||
v = "1"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7-rc.1/elm-format-0.8.7-rc.1-mac-arm64.tgz"; | ||
sha256 = "sha256-kdMTab6hR9mGN4pWoAztkhl4mflwO0K8U0BV+gbM7GM="; | ||
}; | ||
win-x64 = { | ||
v = "1"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7-rc.1/elm-format-0.8.7-rc.1-win-x64.zip"; | ||
sha256 = "sha256-VXmZ5CU7HJpihKT+M7kRup8S+f3MtXu4w5dfkQlzOyM="; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
name = "elm-format"; | ||
version = "0.8.7"; | ||
prerelease = null; | ||
binaryPackageScope = "avh4"; | ||
experimental = false; | ||
elmVersions = [ | ||
"0.18.0" | ||
"0.19.0" | ||
"0.19.1" | ||
]; | ||
|
||
binaries = { | ||
linux-x64 = { | ||
v = "2"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-linux-x64.tgz"; | ||
sha256 = "sha256-4iIRtg4j1DjlVG8q/VLrEKDnR2CuUR1iE0J/IVOj/G0="; | ||
}; | ||
linux-aarch64 = { | ||
v = "2"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-linux-aarch64.tgz"; | ||
sha256 = "sha256-jMvrk4AfyX/0Mzh/QZE605PZKnCLAYFVtmN4AprH+08="; | ||
}; | ||
mac-x64 = { | ||
v = "2"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-mac-x64.tgz"; | ||
sha256 = "sha256-2Fz2jVFeUUz+c0laE/IvJSlQdDDIibOwHu82r/oXAhA="; | ||
}; | ||
mac-arm64 = { | ||
v = "2"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-mac-arm64.tgz"; | ||
sha256 = "sha256-OqGWT5ybgon4xtFMpaz2MGtMSHTbHf7odhC3Ef9mh6E="; | ||
}; | ||
win-x64 = { | ||
v = "2"; | ||
url = "https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-win-x64.zip"; | ||
sha256 = "sha256-WZgJKDwGQhNcb8YvZn2AlmyxbtlHOdf3P22dv4ZdaxI="; | ||
}; | ||
}; | ||
} |