Skip to content

Commit

Permalink
Merge pull request #94 from serokell/yorickvp/release-0.5.0
Browse files Browse the repository at this point in the history
Update changelog, bump version to 0.5.0
  • Loading branch information
yorickvP committed Mar 19, 2022
2 parents a0a0b89 + f743591 commit fa30b97
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

# Revision history for nixfmt

## 0.5.0 -- 2022-03-15
* Add a nix flake to the nixfmt project.
* Add a --verify flag to check idempotency.
* Support nix path (`./${foo}.nix`) interpolations.
* Fix escaping of interpolations after single quotes.
* Fix handling of multiline strings with spaces in the last line.

## 0.4.0 -- 2020-02-10
* Report non-conforming files on the same line to aid line-oriented processing
* Fix help, summary, and version flag contents.
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

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

18 changes: 9 additions & 9 deletions nixfmt.cabal
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cabal-version: 2.0

-- © 2019 Serokell <[email protected]>
-- © 2019 Lars Jellema <[email protected]>
-- © 2022 Serokell <[email protected]>
-- © 2022 Lars Jellema <[email protected]>
--
-- SPDX-License-Identifier: MPL-2.0

name: nixfmt
version: 0.4.0
version: 0.5.0
synopsis: An opinionated formatter for Nix
description:
A formatter for Nix that ensures consistent and clear formatting by forgetting
Expand All @@ -17,7 +17,7 @@ license: MPL-2.0
license-file: LICENSE
author: Lars Jellema
maintainer: [email protected]
copyright: 2019 Serokell, 2019 Lars Jellema
copyright: 2022 Serokell, 2022 Lars Jellema
category: Development
build-type: Simple
extra-source-files: README.md, CHANGELOG.md
Expand All @@ -41,7 +41,7 @@ executable nixfmt
else
buildable: True
build-depends:
base >= 4.12.0 && < 4.15
base >= 4.12.0 && < 4.17
, cmdargs >= 0.10.20 && < 0.11
, nixfmt
, unix >= 2.7.2 && < 2.8
Expand Down Expand Up @@ -81,9 +81,9 @@ library

hs-source-dirs: src
build-depends:
base >= 4.12.0 && < 4.15
, megaparsec >= 9.0.1 && < 9.1
, parser-combinators >= 1.0.3 && < 1.3
base >= 4.12.0 && < 4.17
, megaparsec >= 9.0.1 && < 9.3
, parser-combinators >= 1.0.3 && < 1.4
, text >= 1.2.3 && < 1.3
default-language: Haskell2010
ghc-options:
Expand All @@ -107,7 +107,7 @@ executable js-interface
-Wredundant-constraints
-Wno-orphans
build-depends:
base >= 4.12.0 && < 4.15
base >= 4.12.0 && < 4.17
, ghcjs-base >= 0.2.0 && < 0.3
, nixfmt
hs-source-dirs: js/
Expand Down

0 comments on commit fa30b97

Please sign in to comment.