diff --git a/CHANGELOG.md b/CHANGELOG.md index 510d5064..0def3fdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,7 +42,7 @@ Types of changes - String interpolations (`"${something}"`) now follow the same logic as parentheses (`(something)`), - since ultimately, the are the same family of elements + since ultimately, they are the same family of elements. - Parentheses handling logic was rewritten and by extension string interpolations as well. @@ -137,7 +137,7 @@ Types of changes - A few internal position counters, nothing visible from the outside. - The new features cost a little of runtime speed, - but anyway we are still pretty fast ⚡ + but anyway we are still pretty fast. ⚡ ## [0.7.0] - 2022-02-28 diff --git a/Cargo.lock b/Cargo.lock index 688c918c..68e7117d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_cli" -version = "0.7.0" +version = "1.0.0" dependencies = [ "alejandra_engine", "atty", @@ -18,7 +18,7 @@ dependencies = [ [[package]] name = "alejandra_engine" -version = "0.7.0" +version = "1.0.0" dependencies = [ "mimalloc", "rnix", diff --git a/README.md b/README.md index 47a0d1e2..fdc824d5 100644 --- a/README.md +++ b/README.md @@ -107,11 +107,11 @@ Please visit: You can download a binary for your platform: -- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.7.0/alejandra-aarch64-unknown-linux-musl) -- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.7.0/alejandra-armv6l-unknown-linux-musleabihf) -- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.7.0/alejandra-armv7l-unknown-linux-musleabihf) -- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.7.0/alejandra-i686-unknown-linux-musl) -- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.7.0/alejandra-x86_64-unknown-linux-musl) +- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.0.0/alejandra-aarch64-unknown-linux-musl) +- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.0.0/alejandra-armv6l-unknown-linux-musleabihf) +- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.0.0/alejandra-armv7l-unknown-linux-musleabihf) +- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.0.0/alejandra-i686-unknown-linux-musl) +- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.0.0/alejandra-x86_64-unknown-linux-musl) Make it executable (`$ chmod +x`) and run Alejandra with: @@ -135,7 +135,7 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o - Nix with [Flakes](https://nixos.wiki/wiki/Flakes): ```bash - $ nix profile install github:kamadorueda/alejandra/0.7.0 + $ nix profile install github:kamadorueda/alejandra/1.0.0 ``` - Nix stable: @@ -143,10 +143,10 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o Pick one depending on your platform: ```bash - $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.7.0 - $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.7.0 - $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.7.0 - $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.7.0 + $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.0.0 + $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.0.0 + $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.0.0 + $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.0.0 ``` Then run Alejandra with: @@ -164,7 +164,7 @@ $ alejandra --help inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - alejandra.url = "github:kamadorueda/alejandra/0.7.0"; + alejandra.url = "github:kamadorueda/alejandra/1.0.0"; alejandra.inputs.nixpkgs.follows = "nixpkgs"; }; @@ -194,8 +194,8 @@ $ alejandra --help let alejandra = (import (builtins.fetchTarball { - url = "https://github.com/kamadorueda/alejandra/tarball/0.7.0"; - sha256 = "0kqkwi4j1d0n334jl3q6x70ga8jqmqpv514zsbfca2a86c7qs6cf"; + url = "https://github.com/kamadorueda/alejandra/tarball/1.0.0"; + sha256 = "0000000000000000000000000000000000000000000000000000"; })) # Pick one from: aarch64-linux, aarch64-linux, x86_64-darwin, x86_64-linux .x86_64-linux diff --git a/flake.nix b/flake.nix index d75613a4..ba441927 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.7.0+${builtins.substring 0 8 date}.${commit}"; + version = "1.0.0+${builtins.substring 0 8 date}.${commit}"; nixpkgsForHost = host: import inputs.nixpkgs { diff --git a/front/Cargo.lock b/front/Cargo.lock index b560241d..61460bba 100644 --- a/front/Cargo.lock +++ b/front/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_engine" -version = "0.7.0" +version = "1.0.0" dependencies = [ "mimalloc", "rnix", @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "alejandra_front" -version = "0.7.0" +version = "1.0.0" dependencies = [ "alejandra_engine", "console_error_panic_hook", diff --git a/front/Cargo.toml b/front/Cargo.toml index 835f1336..11420bf9 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.7.0" +version = "1.0.0" [profile.release] lto = true diff --git a/src/alejandra_cli/Cargo.toml b/src/alejandra_cli/Cargo.toml index e359f6f1..fd208e4e 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.7.0" +version = "1.0.0" diff --git a/src/alejandra_engine/Cargo.toml b/src/alejandra_engine/Cargo.toml index 6d0dfbcc..913f5a48 100644 --- a/src/alejandra_engine/Cargo.toml +++ b/src/alejandra_engine/Cargo.toml @@ -32,4 +32,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra_engine" repository = "https://github.com/kamadorueda/alejandra" -version = "0.7.0" +version = "1.0.0" diff --git a/src/alejandra_engine/src/version.rs b/src/alejandra_engine/src/version.rs index fe6b3fa6..72b08b9f 100644 --- a/src/alejandra_engine/src/version.rs +++ b/src/alejandra_engine/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.7.0"; +pub const VERSION: &str = "1.0.0";