From 0dd040de5936df3e39760b93ac897bcf8c3f7695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dyego=20Aur=C3=A9lio?= Date: Thu, 8 Jan 2026 10:58:17 -0300 Subject: [PATCH] Release 1.2.0 --- CHANGELOG.md | 14 ++++++++++++++ nixfmt.cabal | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94ace63e..c6d2af10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Revision history for nixfmt +## 1.2.0 -- 2026-01-08 +- Reformat indented strings, reformatting to simple strings when appropriate: +- Added musl static build and nixfmt-static package: +- Added auto-release GitHub Actions workflow: +- Fixed empty lists/sets with comments idempotency: +- Fixed language annotations inside lists on function arguments: +- Fixed parser for chained prefix operators: +- Fixed inconsistent comment indentation in parameter lists: +- Fixed language annotations followed by multiple new lines: +- Memory optimization: don't retain thunks when appending to Trivia: +- Added a flake formatter (so nix fmt works): +- Added link to standard.md in README: +- Fixed typo in README for nixfmt installation: + ## 1.1.0 -- 2025-10-07 - Added support for "language annotation" comments (e.g. `/* lang */ ""`), used by things like tree-sitter grammars: diff --git a/nixfmt.cabal b/nixfmt.cabal index 97115d88..287bfaae 100644 --- a/nixfmt.cabal +++ b/nixfmt.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 name: nixfmt -version: 1.1.0 +version: 1.2.0 synopsis: Official formatter for Nix code description: A formatter for Nix that ensures consistent and clear formatting by forgetting