mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +00:00
Merge pull request #141 from kamadorueda/kamadorueda
docs: update changelog
This commit is contained in:
commit
a2212283d8
1 changed files with 28 additions and 2 deletions
30
CHANGELOG.md
30
CHANGELOG.md
|
@ -22,18 +22,44 @@ Types of changes
|
||||||
- Let-in expressions are now indented in the top-level of a file.
|
- Let-in expressions are now indented in the top-level of a file.
|
||||||
- Patterns avoid a new line after `@`:
|
- Patterns avoid a new line after `@`:
|
||||||
|
|
||||||
```nix
|
```diff
|
||||||
- args @
|
- args @
|
||||||
- {
|
- {
|
||||||
+ args @ {
|
+ args @ {
|
||||||
```
|
```
|
||||||
|
|
||||||
```nix
|
```diff
|
||||||
- }
|
- }
|
||||||
- @ inp:
|
- @ inp:
|
||||||
+ } @ inp:
|
+ } @ inp:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Attribute sets no longer have spaces
|
||||||
|
before the first element or after the last:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
- { b = 1; }
|
||||||
|
+ {b = 1;}
|
||||||
|
```
|
||||||
|
|
||||||
|
- Pattern matching lambdas no longer have spaces
|
||||||
|
before the first or after the last element:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
- ({ ... }: _)
|
||||||
|
+ ({...}: _)
|
||||||
|
```
|
||||||
|
|
||||||
|
- Ellipsis is no longer count as an element when spreading pattern matching lambdas:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
- {
|
||||||
|
- pkgs,
|
||||||
|
- ...
|
||||||
|
- }:
|
||||||
|
+ {pkgs, ...}:
|
||||||
|
```
|
||||||
|
|
||||||
## [0.2.0] - 2022-02-17
|
## [0.2.0] - 2022-02-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue