All Versions
7
Latest Version
Avg Release Cycle
173 days
Latest Release
765 days ago

Changelog History

  • v0.5.0 Changes

    March 15, 2022
    • โž• 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.
  • v0.4.0 Changes

    February 10, 2020
    • Report non-conforming files on the same line to aid line-oriented processing.
    • ๐Ÿ›  Fix help, summary, and version flag contents.
    • ๐Ÿ›  Fix indentation of leading comments in parens.
  • v0.3.1 Changes

    February 10, 2020
    • Report non-conforming files on the same line to aid line-oriented processing.
    • ๐Ÿ›  Fix help, summary, and version flag contents.
    • ๐Ÿ›  Fix indentation of leading comments in parens.
  • v0.3.0 Changes

    August 29, 2019
    • โž• Added check flag for use in CI.
    • โž• Added quiet flag to disable all output on stderr.
    • Further improved indentation.
    • ๐Ÿ›  Fixed bugs where Nix code with different semantics was emitted in some cases.
  • v0.2.1 Changes

    July 29, 2019
    • ๐Ÿ›  Fixed missing linebreaks in set abstractions.
  • v0.2.0 Changes

    July 25, 2019

    We've improved nixfmt by using atomic writes to avoid data loss, adding proper indentation and making sure nixfmt is idempotent so you won't get strange behavior when you run it again.

    ๐Ÿ‘€ Please try out our formatter on your code and see if you like the result. For any parts you think are formatted unclearly, please make an issue so we can improve it.

    nix-env -f https://github.com/serokell/nixfmt/archive/v0.2.0.tar.gz -i

  • v0.1.0 Changes

    May 11, 2019
    • ๐Ÿš€ The first released version of nixfmt. This project aims to provide a consistent formatter for Nix code. This release is capable of parsing all of nixpkgs and formatting it in a consistent way. The generated code is not yet pretty in all places though and there are still some other issues as well.