Skip to content

Commit 142f048

Browse files
committed
feat: release 2.0.0
1 parent 8242618 commit 142f048

File tree

12 files changed

+25
-22
lines changed

12 files changed

+25
-22
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.5.0
23+
https://github.com/kamadorueda/alejandra/tarball/2.0.0
2424

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

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Types of changes
1717
- Security in case of vulnerabilities.
1818
-->
1919

20+
## [2.0.0] - 2022-07-13
21+
2022
### Added
2123

2224
- A [Style Guide](./STYLE.md),
@@ -639,7 +641,8 @@ Types of changes
639641

640642
---
641643

642-
[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.5.0...HEAD
644+
[unreleased]: https://github.com/kamadorueda/alejandra/compare/2.0.0...HEAD
645+
[2.0.0]: https://github.com/kamadorueda/alejandra/compare/1.5.0...2.0.0
643646
[1.5.0]: https://github.com/kamadorueda/alejandra/compare/1.4.0...1.5.0
644647
[1.4.0]: https://github.com/kamadorueda/alejandra/compare/1.3.0...1.4.0
645648
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.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

+9-9
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ Please visit:
113113

114114
You can download a binary for your platform:
115115

116-
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-aarch64-unknown-linux-musl)
117-
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv6l-unknown-linux-musleabihf)
118-
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv7l-unknown-linux-musleabihf)
119-
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-i686-unknown-linux-musl)
120-
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-x86_64-unknown-linux-musl)
116+
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-aarch64-unknown-linux-musl)
117+
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-armv6l-unknown-linux-musleabihf)
118+
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-armv7l-unknown-linux-musleabihf)
119+
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-i686-unknown-linux-musl)
120+
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-x86_64-unknown-linux-musl)
121121

122122
Make it executable (`$ chmod +x`)
123123
and run Alejandra with:
@@ -141,13 +141,13 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
141141
- Nix stable:
142142

143143
```bash
144-
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/1.5.0
144+
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/2.0.0
145145
```
146146

147147
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
148148

149149
```bash
150-
$ nix profile install github:kamadorueda/alejandra/1.5.0
150+
$ nix profile install github:kamadorueda/alejandra/2.0.0
151151
```
152152

153153
Then run Alejandra with:
@@ -164,7 +164,7 @@ $ alejandra --help
164164
let
165165
alejandra =
166166
(import (builtins.fetchTarball {
167-
url = "https://github.com/kamadorueda/alejandra/tarball/1.5.0";
167+
url = "https://github.com/kamadorueda/alejandra/tarball/2.0.0";
168168
sha256 = "0000000000000000000000000000000000000000000000000000";
169169
}) {})
170170
.outPath;
@@ -180,7 +180,7 @@ $ alejandra --help
180180
inputs = {
181181
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
182182
183-
alejandra.url = "github:kamadorueda/alejandra/1.5.0";
183+
alejandra.url = "github:kamadorueda/alejandra/2.0.0";
184184
alejandra.inputs.nixpkgs.follows = "nixpkgs";
185185
};
186186

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
outputs = inputs: let
1515
commit = inputs.self.shortRev or "dirty";
1616
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
17-
version = "1.5.0+${builtins.substring 0 8 date}.${commit}";
17+
version = "2.0.0+${builtins.substring 0 8 date}.${commit}";
1818

1919
nixpkgsForHost = host:
2020
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.5.0"
16+
version = "2.0.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.5.0
11+
rev: 2.0.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.5.0"
68+
"version": "2.0.0"
6969
}

src/alejandra/Cargo.toml

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

src/alejandra/src/version.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/// The version of Alejandra.
2-
pub const VERSION: &str = "1.5.0";
2+
pub const VERSION: &str = "2.0.0";

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.5.0"
22+
version = "2.0.0"

0 commit comments

Comments
 (0)