Skip to content

Commit

Permalink
Prepare 0.8.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Feb 6, 2021
1 parent a456fe3 commit bd9663f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/avh4/elm-format.svg?branch=master)](https://travis-ci.org/avh4/elm-format)
[![latest version: 0.8.4](https://img.shields.io/badge/version-0.8.4-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.4)
[![latest version: 0.8.5](https://img.shields.io/badge/version-0.8.5-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.5)

# elm-format

Expand Down Expand Up @@ -29,7 +29,7 @@ elm-format --help # See other command line options
```


## Installation [![(latest version: 0.8.4)](https://img.shields.io/badge/version-0.8.4-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.4)
## Installation [![(latest version: 0.8.5)](https://img.shields.io/badge/version-0.8.5-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.5)

> `elm-format` is still in beta. If you run into any problems, please [report them](https://github.com/avh4/elm-format/issues).
>
Expand All @@ -41,7 +41,7 @@ To install `elm-format`:
npm install -g elm-format
```

or download the version appropriate for your OS from the [release page](https://github.com/avh4/elm-format/releases/tag/0.8.4),
or download the version appropriate for your OS from the [release page](https://github.com/avh4/elm-format/releases/tag/0.8.5),
unzip it,
and place `elm-format` or `elm-format.exe` (windows) on your `PATH`.

Expand Down
26 changes: 26 additions & 0 deletions Release Notes/0.8.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Binaries for Alpine Linux and Mac ARM64

Feature changes:
- Detailed error messages for syntax errors have been removed. Use `elm make` to see a detailed error if elm-format fails.

New features:
- In `module` and `import` lines, `exposing` is automatically added if missing

Other changes:
- The npm installer now provides a (Rosetta) binary for Mac ARM64
- Linux binaries are now statically linked (should now work on alpine linux and other systems without glibc-2.27)
- Removed `--upgrade` (now use elm-refactor instead)


## Install

```sh
npm install -g elm-format
```

or [download from the release page](https://github.com/avh4/elm-format/releases/tag/0.8.5).


## Thanks to ...

- @kutyel for improvements to lenient parsing
2 changes: 1 addition & 1 deletion Shakefiles/Haskell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cabalBinPath projectName opt =
let
version =
case projectName of
"elm-format" -> "0.8.4"
"elm-format" -> "0.8.5"
_ -> "0.0.0"
in
"dist-newstyle/build" </> Shakefiles.Platform.cabalInstallOs </> "ghc-8.10.3" </> projectName ++ "-" ++ version </> "x" </> projectName </> opt </> "build" </> projectName </> projectName <.> exe
Expand Down
4 changes: 2 additions & 2 deletions Style Guide/CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ A FormattingError will be an object with the following fields:
### Example JSON

```json
[{"path":"./src/Fifo.elm","message":"File is not formatted with elm-format-0.8.4 --elm-version=0.19"}
,{"path":"./tests/Tests.elm","message":"File is not formatted with elm-format-0.8.4 --elm-version=0.19"}
[{"path":"./src/Fifo.elm","message":"File is not formatted with elm-format-0.8.5 --elm-version=0.19"}
,{"path":"./tests/Tests.elm","message":"File is not formatted with elm-format-0.8.5 --elm-version=0.19"}
]
```
2 changes: 1 addition & 1 deletion elm-format.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4

Name: elm-format
version: 0.8.4
version: 0.8.5

Synopsis:
A source code formatter for Elm
Expand Down

0 comments on commit bd9663f

Please sign in to comment.