github kamadorueda/alejandra 0.2.0

latest releases: 3.0.0, 2.0.0, 1.5.0...
2 years ago

Added

  • Pre-built binaries for x86_64-linux and aarch64-linux.

  • Made the logic of the or-default (a or b) node
    to be equal to the binary operator (a $operator b).
    This increases consistency across the same family of elements.

  • Remove users freedom to insert newlines
    before the ? in pattern bindings (a ? b).

    Inserting a newline after the ? is still possible.

    This increases consistency on where to break a long pattern binding.

  • Remove space on empty containers ([], {}).

  • Add a --version flag to the CLI.

  • Reduce 1 indentation level in let-in expressions,
    when the target expression is a parenthesis, attr-set, list, or string.

  • Support inline comments on lists, attr-sets, and let-in expressions.

  • String interpolations in multi-line strings
    now have a nice-looking indentation.

Fixed

  • A bug in the current position counter
    caused a small percentage of multiline comments in Nixpkgs
    to be unaligned by one character.

Pull Requests

Full Changelog: 0.1.0...0.2.0

Don't miss a new alejandra release

NewReleases is sending notifications on new releases.