1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: release 0.2.0

This commit is contained in:
Kevin Amado 2022-02-17 01:43:50 -05:00
parent 2603db7513
commit 5a13f040d6
No known key found for this signature in database
GPG key ID: FFF341057F503148
8 changed files with 121 additions and 192 deletions

View file

@ -7,9 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.2.0] - 2022-02-17
### Added
- Pre-built binaries for x86_64-linux and aarch64-linux
- 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.
## [0.1.0] - 2022-02-14
@ -26,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
---
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.1.0...HEAD
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.2.0...HEAD
[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.0.0...0.1.0
[0.0.0]: https://github.com/kamadorueda/alejandra/compare/6adfbe8516bf6d9e896534e01118e1bc41f65425...0.0.0