Skip to content

Commit 5a13f04

Browse files
committed
feat: release 0.2.0
1 parent 2603db7 commit 5a13f04

File tree

8 files changed

+121
-192
lines changed

8 files changed

+121
-192
lines changed

CHANGELOG.md

+28-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0] - 2022-02-17
11+
1012
### Added
1113

12-
- Pre-built binaries for x86_64-linux and aarch64-linux
14+
- Pre-built binaries for x86_64-linux and aarch64-linux.
15+
- Made the logic of the `or-default` (`a or b`) node
16+
to be equal to the binary operator (`a $operator b`).
17+
This increases consistency across the same family of elements.
18+
- Remove users freedom to insert newlines
19+
before the `?` in pattern bindings (`a ? b`).
20+
21+
Inserting a newline after the `?` is still possible.
22+
23+
This increases consistency on where to break a long pattern binding.
24+
25+
- Remove space on empty containers (`[]`, `{}`).
26+
- Add a `--version` flag to the CLI.
27+
- Reduce 1 indentation level in `let-in` expressions,
28+
when the target expression is a parenthesis, attr-set, list, or string.
29+
- Support inline comments on lists, attr-sets, and let-in expressions.
30+
- String interpolations in multi-line strings
31+
now have a nice-looking indentation.
32+
33+
### Fixed
34+
35+
- A bug in the current position counter
36+
caused a small percentage of multiline comments in Nixpkgs
37+
to be unaligned by one character.
1338

1439
## [0.1.0] - 2022-02-14
1540

@@ -26,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2651

2752
---
2853

29-
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.1.0...HEAD
54+
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.2.0...HEAD
55+
[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.1.0...0.2.0
3056
[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.0.0...0.1.0
3157
[0.0.0]: https://github.com/kamadorueda/alejandra/compare/6adfbe8516bf6d9e896534e01118e1bc41f65425...0.0.0

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ description = "The Uncompromising Nix Code Formatter"
1313
edition = "2021"
1414
name = "alejandra"
1515
repository = "https://github.com/kamadorueda/alejandra"
16-
version = "0.1.0"
16+
version = "0.2.0"

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
let
4040
commit = inputs.self.shortRev or "dirty";
4141
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
42-
in "0.1.0+${builtins.substring 0 8 date}.${commit}";
42+
in "0.2.0+${builtins.substring 0 8 date}.${commit}";
4343
src = ./.;
4444
inherit target;
4545
cargoLock.lockFile = ./Cargo.lock;

0 commit comments

Comments
 (0)