Skip to content

Commit 2627a96

Browse files
committed
feat: release 1.5.0
1 parent 3aa0776 commit 2627a96

File tree

12 files changed

+46
-34
lines changed

12 files changed

+46
-34
lines changed

.pre-commit-entry.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ echo INFO: building Alejandra
2020
nix-build \
2121
--attr ${system} \
2222
--out-link result-alejandra \
23-
https://github.com/kamadorueda/alejandra/tarball/1.4.0
23+
https://github.com/kamadorueda/alejandra/tarball/1.5.0
2424

2525
echo INFO: running Alejandra:
2626
result-alejandra/bin/alejandra -- -q "${@}"

CHANGELOG.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,27 @@ Types of changes
2020
<!--
2121
Before releasing update dependencies with:
2222
23-
/
23+
pushd .
2424
cargo update
2525
nix flake update
26-
/front/
26+
popd
27+
pushd front/
2728
cargo update
2829
nix flake update
2930
yarn upgrade
30-
/integrations/vscode/
31+
popd
32+
pushd integrations/vscode/
3133
yarn upgrade
3234
yarn2nix > yarn.lock.nix
35+
popd
3336
-->
3437

38+
## [1.5.0] - 2022-06-22
39+
40+
### Changed
41+
42+
- Updated dependencies to its latest version.
43+
3544
## [1.4.0] - 2022-05-19
3645

3746
### Added
@@ -574,7 +583,8 @@ Before releasing update dependencies with:
574583

575584
---
576585

577-
[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.4.0...HEAD
586+
[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.5.0...HEAD
587+
[1.5.0]: https://github.com/kamadorueda/alejandra/compare/1.4.0...1.5.0
578588
[1.4.0]: https://github.com/kamadorueda/alejandra/compare/1.3.0...1.4.0
579589
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.0
580590
[1.2.0]: https://github.com/kamadorueda/alejandra/compare/1.1.0...1.2.0

Cargo.lock

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

README.md

+20-18
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ Please visit:
110110

111111
You can download a binary for your platform:
112112

113-
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.4.0/alejandra-aarch64-unknown-linux-musl)
114-
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.4.0/alejandra-armv6l-unknown-linux-musleabihf)
115-
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.4.0/alejandra-armv7l-unknown-linux-musleabihf)
116-
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.4.0/alejandra-i686-unknown-linux-musl)
117-
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.4.0/alejandra-x86_64-unknown-linux-musl)
113+
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-aarch64-unknown-linux-musl)
114+
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv6l-unknown-linux-musleabihf)
115+
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv7l-unknown-linux-musleabihf)
116+
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-i686-unknown-linux-musl)
117+
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-x86_64-unknown-linux-musl)
118118

119119
Make it executable (`$ chmod +x`)
120120
and run Alejandra with:
@@ -138,19 +138,19 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
138138
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
139139

140140
```bash
141-
$ nix profile install github:kamadorueda/alejandra/1.4.0
141+
$ nix profile install github:kamadorueda/alejandra/1.5.0
142142
```
143143

144144
- Nix stable:
145145

146146
Pick one depending on your platform:
147147

148148
```bash
149-
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.4.0
150-
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.4.0
151-
$ nix-env -ivA i686-linux -f https://github.com/kamadorueda/alejandra/tarball/1.4.0
152-
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.4.0
153-
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.4.0
149+
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.5.0
150+
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.5.0
151+
$ nix-env -ivA i686-linux -f https://github.com/kamadorueda/alejandra/tarball/1.5.0
152+
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.5.0
153+
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.5.0
154154
```
155155

156156
Then run Alejandra with:
@@ -168,7 +168,7 @@ $ alejandra --help
168168
inputs = {
169169
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
170170
171-
alejandra.url = "github:kamadorueda/alejandra/1.4.0";
171+
alejandra.url = "github:kamadorueda/alejandra/1.5.0";
172172
alejandra.inputs.nixpkgs.follows = "nixpkgs";
173173
};
174174
@@ -198,7 +198,7 @@ $ alejandra --help
198198
let
199199
alejandra =
200200
(import (builtins.fetchTarball {
201-
url = "https://github.com/kamadorueda/alejandra/tarball/1.4.0";
201+
url = "https://github.com/kamadorueda/alejandra/tarball/1.5.0";
202202
sha256 = "0000000000000000000000000000000000000000000000000000";
203203
}))
204204
# Pick one from: aarch64-darwin, aarch64-linux, i686-linux, x86_64-darwin, x86_64-linux
@@ -310,17 +310,17 @@ Thank you ❤️
310310
1. Checkout [Nixpkgs](https://github.com/nixos/nixpkgs) and run:
311311

312312
```bash
313-
$ nix-env -qaP --json --drv-path > before
313+
$ nix-env -qaf . --drv-path --xml > before
314314
```
315315

316316
1. Now format with Alejandra and run:
317317

318318
```bash
319-
$ nix-env -qaP --json --drv-path > after
319+
$ nix-env -qaf . --drv-path --xml > after
320320
```
321321

322-
As of 2022-02-21,
323-
there are 46 differences in a set of 36314 derivations
322+
As of 2022-06-22,
323+
there are 41 differences in a set of 38109 derivations
324324
because of things like this:
325325

326326
```
@@ -331,6 +331,8 @@ Thank you ❤️
331331
you get a semantical difference.
332332

333333
This is something that should be solved on Nixpkgs
334-
and not a bug in Alejandra. For example:
334+
and not a bug in Alejandra.
335+
For example:
335336

337+
- https://github.com/NixOS/nixpkgs/pull/178378
336338
- https://github.com/NixOS/nixpkgs/pull/157760

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
outputs = inputs: let
1212
commit = inputs.self.shortRev or "dirty";
1313
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
14-
version = "1.4.0+${builtins.substring 0 8 date}.${commit}";
14+
version = "1.5.0+${builtins.substring 0 8 date}.${commit}";
1515

1616
nixpkgsForHost = host:
1717
import inputs.nixpkgs {

front/Cargo.lock

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

front/Cargo.toml

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

1818
[profile.release]
1919
lto = true

integrations/pre-commit/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ with contents:
88
```yaml
99
repos:
1010
- repo: https://github.com/kamadorueda/alejandra
11-
rev: 1.4.0
11+
rev: 1.5.0
1212
# Choose either the 'alejandra' or 'alejandra-system' hook
1313
# depending on what pre-requisites you have:
1414
hooks:

integrations/vscode/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@
6565
"type": "git",
6666
"url": "https://github.com/kamadorueda/alejandra"
6767
},
68-
"version": "1.4.0"
68+
"version": "1.5.0"
6969
}

src/alejandra_cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ edition = "2021"
1919
license = "Unlicense"
2020
name = "alejandra_cli"
2121
repository = "https://github.com/kamadorueda/alejandra"
22-
version = "1.4.0"
22+
version = "1.5.0"

src/alejandra_engine/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ edition = "2021"
3333
license = "Unlicense"
3434
name = "alejandra_engine"
3535
repository = "https://github.com/kamadorueda/alejandra"
36-
version = "1.4.0"
36+
version = "1.5.0"

src/alejandra_engine/src/version.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pub const VERSION: &str = "1.4.0";
1+
pub const VERSION: &str = "1.5.0";

0 commit comments

Comments
 (0)