0.2.0
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
- feat: version 0.1.0 by @kamadorueda in #101
- feat: dereferece links by @kamadorueda in #102
- feat: document prebuilt binaries by @kamadorueda in #104
- feat: document manual way by @kamadorueda in #105
- fix: relative path by @kamadorueda in #106
- feat: merge similar rules by @kamadorueda in #109
- feat: remove unnecesary newlines by @kamadorueda in #110
- feat: remove unnecessary newlines by @kamadorueda in #111
- refactor: reuse code by @kamadorueda in #112
- feat: no space in empty containers by @kamadorueda in #113
- feat: add version flag by @kamadorueda in #116
- feat: start attr set in same line by @kamadorueda in #117
- test: add same line comment cases by @kamadorueda in #118
- refactor: remove nix3 alias by @kamadorueda in #119
- feat: expose all newlines to the engine by @kamadorueda in #121
- feat: inline lists comments by @kamadorueda in #122
- feat: inline attr-set comments by @kamadorueda in #123
- feat: inline let-ins comments by @kamadorueda in #124
- fix: position update by @kamadorueda in #125
- feat: nicer string interpolation by @kamadorueda in #126
- feat: update dependencies by @kamadorueda in #127
Full Changelog: 0.1.0...0.2.0