Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/release-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
rm -v private.key
env:
MINISIGN_PRIVATE_KEY: ${{ inputs.minisign-key }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: elm-format-${{ github.sha }}-${{ matrix.build.archive-label }}
path: dist/
85 changes: 0 additions & 85 deletions .github/workflows/Build release (lamdera-community).yml

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/Build release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
runner: windows-latest
archive-label: Windows
- name: macOS-x86
runner: macOS-latest
runner: macOS-13
archive-label: macOS-x86
- name: macOS-ARM64
runner: macOS-15
archive-label: macOS-arm64

name: release-${{ matrix.build.name }}
runs-on: ${{ matrix.build.runner }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.8.8

Bug fixes:
- `case` expressions with multiline patterns are now formatted correctly


## 0.8.7

New features:
Expand Down
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.7](https://img.shields.io/badge/version-0.8.7-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.7)
[![latest version: 0.8.8](https://img.shields.io/badge/version-0.8.8-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.8)

# elm-format

Expand All @@ -26,15 +26,15 @@ elm-format --help # See other command line options
```


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

To install `elm-format`:

```sh
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.7),
or download the version appropriate for your OS from the [release page](https://github.com/avh4/elm-format/releases/tag/0.8.8),
unzip it,
and place `elm-format` or `elm-format.exe` (windows) on your `PATH`.

Expand Down
22 changes: 22 additions & 0 deletions Release Notes/0.8.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Update to GHC 9.6

The main purpose for this update is to upgrade to GHC 9.6 to avoid falling too far behind
on breaking changes in Haskell libraries.

Bug fixes:
- `case` expressions with multiline patterns are now formatted correctly


## Install

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

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


## Thanks to ...

- @sandydoo for Haskell dependency updates and bugfix
- @perkee for code review and github config
2 changes: 1 addition & 1 deletion dev/Documentation/Publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Then `cd elm-tooling`, push the resulting branch, and make a PR to <https://gith
- `scope` is optional and will create a scoped top-level package (don't set it for normal releases)
- `binaryPackageScope` is the scope that the binary packages will be published under
- Fill out the `binaries` info for each supported platform
- To get the sha256, run `nix-prefetch fetchzip --url <release url>`
- To get the sha256, run `nix-prefetch-url --unpack <release url> | xargs nix hash convert --hash-algo sha256`
- `v` is the sub-patch version for this binary and can be incremented as needed (but should be reset to `"1"` on each new elm-format version)
1. Update `default.nix` to point to the new `elm-format-<new-version>.nix`
1. `nix-shell --pure`
Expand Down
2 changes: 1 addition & 1 deletion elm-format.cabal

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: elm-format
version: 0.8.7
version: 0.8.8

synopsis: A source code formatter for Elm
description: |
Expand Down
2 changes: 1 addition & 1 deletion package/npm/default.nix
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.7.nix)
import ./workspace.nix pkgs (import ./elm-format-0.8.8.nix)
40 changes: 40 additions & 0 deletions package/npm/elm-format-0.8.8.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
name = "elm-format";
version = "0.8.8";
prerelease = null;
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.8/elm-format-0.8.8-linux-x64.tgz";
sha256 = "sha256-InbNKkpQnmmHQYE7oZ4mf8YCvg5jYK2uK0XcnRqHGhw=";
};
linux-aarch64 = {
v = "1";
url = "https://github.com/avh4/elm-format/releases/download/0.8.8/elm-format-0.8.8-linux-aarch64.tgz";
sha256 = "sha256-STfNmMG+yh2wXhFGFuxDmVpWY5J5xSw+l0s0JtdSkZ0=";
};
mac-x64 = {
v = "1";
url = "https://github.com/avh4/elm-format/releases/download/0.8.8/elm-format-0.8.8-mac-x64.tgz";
sha256 = "sha256-HNgaT/nveUklH6MK209iGeZhKbvU7p7/l/6MDp18r10=";
};
mac-arm64 = {
v = "1";
url = "https://github.com/avh4/elm-format/releases/download/0.8.8/elm-format-0.8.8-mac-arm64.tgz";
sha256 = "sha256-U5/fLt+zxJbCaCNSrXM9kR+QYh4+kUjJS9Hhcuxlq3w=";
};
win-x64 = {
v = "1";
url = "https://github.com/avh4/elm-format/releases/download/0.8.8/elm-format-0.8.8-win-x64.zip";
sha256 = "sha256-2ssJQEWDVozdlTZZFqJimfOJV3bmHgw93iOorM9guc4=";
};
};
}
Loading