diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f1599..e4e5c83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ Types of changes - Security in case of vulnerabilities. --> +## [0.6.0] - 2022-02-25 + ### Added - A `--check` flag, which makes Alejandra emit an exit code of 2 @@ -269,7 +271,8 @@ Types of changes --- -[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.5.0...HEAD +[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.6.0...HEAD +[0.6.0]: https://github.com/kamadorueda/alejandra/compare/0.5.0...0.6.0 [0.5.0]: https://github.com/kamadorueda/alejandra/compare/0.4.0...0.5.0 [0.4.0]: https://github.com/kamadorueda/alejandra/compare/0.3.1...0.4.0 [0.3.1]: https://github.com/kamadorueda/alejandra/compare/0.3.0...0.3.1 diff --git a/Cargo.lock b/Cargo.lock index dfeb9a6..4e607b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_cli" -version = "0.5.0" +version = "0.6.0" dependencies = [ "alejandra_engine", "atty", @@ -18,7 +18,7 @@ dependencies = [ [[package]] name = "alejandra_engine" -version = "0.5.0" +version = "0.6.0" dependencies = [ "rnix", "rowan", diff --git a/README.md b/README.md index 6ec3513..0f9bbd0 100644 --- a/README.md +++ b/README.md @@ -109,11 +109,11 @@ You can download a binary for your platform, make it executable (`$ chmod +x`) and have fun! -- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-aarch64-unknown-linux-musl) -- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv6l-unknown-linux-musleabihf) -- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv7l-unknown-linux-musleabihf) -- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-i686-unknown-linux-musl) -- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-x86_64-unknown-linux-musl) +- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-aarch64-unknown-linux-musl) +- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv6l-unknown-linux-musleabihf) +- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv7l-unknown-linux-musleabihf) +- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-i686-unknown-linux-musl) +- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-x86_64-unknown-linux-musl) Alternatively there is an automated method for some platforms. It needs: @@ -144,7 +144,7 @@ $ /path/to/alejandra --help - Nix with [Flakes](https://nixos.wiki/wiki/Flakes): ```bash - $ nix profile install github:kamadorueda/alejandra/0.5.0 + $ nix profile install github:kamadorueda/alejandra/0.6.0 ``` - Nix stable: @@ -152,10 +152,10 @@ $ /path/to/alejandra --help Pick one depending on your platform: ```bash - $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0 - $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0 - $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0 - $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0 + $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0 + $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0 + $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0 + $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0 ``` Then run Alejandra with: diff --git a/flake.nix b/flake.nix index 5f44a18..7be714a 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ outputs = inputs: let commit = inputs.self.shortRev or "dirty"; date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101"; - version = "0.5.0+${builtins.substring 0 8 date}.${commit}"; + version = "0.6.0+${builtins.substring 0 8 date}.${commit}"; nixpkgsForHost = host: import inputs.nixpkgs { diff --git a/front/Cargo.lock b/front/Cargo.lock index d7d1b5f..12da102 100644 --- a/front/Cargo.lock +++ b/front/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_engine" -version = "0.5.0" +version = "0.6.0" dependencies = [ "rnix", "rowan", @@ -12,7 +12,7 @@ dependencies = [ [[package]] name = "alejandra_front" -version = "0.5.0" +version = "0.6.0" dependencies = [ "alejandra_engine", "console_error_panic_hook", diff --git a/front/Cargo.toml b/front/Cargo.toml index 74ec629..d4ac81d 100644 --- a/front/Cargo.toml +++ b/front/Cargo.toml @@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra_front" repository = "https://github.com/kamadorueda/alejandra" -version = "0.5.0" +version = "0.6.0" [profile.release] lto = true diff --git a/installers/aarch64-linux.sh b/installers/aarch64-linux.sh index e3ec1b0..ecac31c 100755 --- a/installers/aarch64-linux.sh +++ b/installers/aarch64-linux.sh @@ -2,7 +2,7 @@ releases=https://github.com/kamadorueda/alejandra/releases/download/ target=alejandra-aarch64-unknown-linux-musl -version=0.5.0 +version=0.6.0 curl -o alejandra -L "${releases}/${version}/${target}" diff --git a/installers/x86_64-linux.sh b/installers/x86_64-linux.sh index e263d64..b074c91 100755 --- a/installers/x86_64-linux.sh +++ b/installers/x86_64-linux.sh @@ -2,7 +2,7 @@ releases=https://github.com/kamadorueda/alejandra/releases/download/ target=alejandra-x86_64-unknown-linux-musl -version=0.5.0 +version=0.6.0 curl -o alejandra -L "${releases}/${version}/${target}" diff --git a/src/alejandra_cli/Cargo.toml b/src/alejandra_cli/Cargo.toml index 3ed4d2e..2d561eb 100644 --- a/src/alejandra_cli/Cargo.toml +++ b/src/alejandra_cli/Cargo.toml @@ -18,4 +18,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra_cli" repository = "https://github.com/kamadorueda/alejandra" -version = "0.5.0" +version = "0.6.0" diff --git a/src/alejandra_engine/Cargo.toml b/src/alejandra_engine/Cargo.toml index 39629f3..7515e97 100644 --- a/src/alejandra_engine/Cargo.toml +++ b/src/alejandra_engine/Cargo.toml @@ -8,4 +8,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra_engine" repository = "https://github.com/kamadorueda/alejandra" -version = "0.5.0" +version = "0.6.0" diff --git a/src/alejandra_engine/src/version.rs b/src/alejandra_engine/src/version.rs index a282adf..185cc1c 100644 --- a/src/alejandra_engine/src/version.rs +++ b/src/alejandra_engine/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.0"; +pub const VERSION: &str = "0.6.0";