diff --git a/CHANGELOG.md b/CHANGELOG.md index 64da1ee..1a9bd24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ Types of changes - Security in case of vulnerabilities. --> +## [0.7.0] - 2022-02-28 + ### Added - Inline comments support in binary operators: @@ -386,7 +388,8 @@ Types of changes --- -[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.6.0...HEAD +[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.7.0...HEAD +[0.7.0]: https://github.com/kamadorueda/alejandra/compare/0.6.0...0.7.0 [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 diff --git a/Cargo.lock b/Cargo.lock index 5d82f15..f7a3770 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_cli" -version = "0.6.0" +version = "0.7.0" dependencies = [ "alejandra_engine", "atty", @@ -18,7 +18,7 @@ dependencies = [ [[package]] name = "alejandra_engine" -version = "0.6.0" +version = "0.7.0" dependencies = [ "mimalloc", "rnix", @@ -77,9 +77,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.1.2" +version = "3.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77" +checksum = "86f8c0e2a6b902acc18214e24a6935cdaf8a8e34231913d4404dcaee659f65a1" dependencies = [ "atty", "bitflags", @@ -292,9 +292,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" +checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c" dependencies = [ "bitflags", ] diff --git a/README.md b/README.md index d15799f..db7d855 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.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) +- [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) 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.6.0 + $ nix profile install github:kamadorueda/alejandra/0.7.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.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 + $ 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 ``` Then run Alejandra with: diff --git a/flake.lock b/flake.lock index 73334d6..c9edc53 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1645623357, - "narHash": "sha256-vAaI91QFn/kY/uMiebW+kG2mPmxirMSJWYtkqkBKdDc=", + "lastModified": 1645937171, + "narHash": "sha256-n9f9GZBNMe8UMhcgmmaXNObkH01jjgp7INMrUgBgcy4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9222ae36b208d1c6b55d88e10aa68f969b5b5244", + "rev": "22dc22f8cedc58fcb11afe1acb08e9999e78be9c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4470941..ece2d61 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.6.0+${builtins.substring 0 8 date}.${commit}"; + version = "0.7.0+${builtins.substring 0 8 date}.${commit}"; nixpkgsForHost = host: import inputs.nixpkgs { diff --git a/front/Cargo.lock b/front/Cargo.lock index ac5b58b..b560241 100644 --- a/front/Cargo.lock +++ b/front/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra_engine" -version = "0.6.0" +version = "0.7.0" dependencies = [ "mimalloc", "rnix", @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "alejandra_front" -version = "0.6.0" +version = "0.7.0" dependencies = [ "alejandra_engine", "console_error_panic_hook", diff --git a/front/Cargo.toml b/front/Cargo.toml index d4ac81d..835f133 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.6.0" +version = "0.7.0" [profile.release] lto = true diff --git a/front/flake.lock b/front/flake.lock index ab18c6c..6ad34c5 100644 --- a/front/flake.lock +++ b/front/flake.lock @@ -8,11 +8,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1645770291, - "narHash": "sha256-G+1P64m2mDaP8El14Xh0lX4dJG0ANQQbxsjzTJ6Cz1Y=", + "lastModified": 1645943033, + "narHash": "sha256-es7SEXoeWqv0blb8s+AVWOUygsRDIcx7G/8FIUUEjZE=", "owner": "nix-community", "repo": "fenix", - "rev": "89ac7f1e75cd2edd38cb5a876e6587b79f01c17a", + "rev": "f078968e47b20286d9f6b11c528cb0e5d73aa1fb", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1645623357, - "narHash": "sha256-vAaI91QFn/kY/uMiebW+kG2mPmxirMSJWYtkqkBKdDc=", + "lastModified": 1645937171, + "narHash": "sha256-n9f9GZBNMe8UMhcgmmaXNObkH01jjgp7INMrUgBgcy4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9222ae36b208d1c6b55d88e10aa68f969b5b5244", + "rev": "22dc22f8cedc58fcb11afe1acb08e9999e78be9c", "type": "github" }, "original": { @@ -46,11 +46,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1645736367, - "narHash": "sha256-NTGvCNdZyRwa8gOnNNqGVhcBUhA7RAS31/cCoTw75iw=", + "lastModified": 1645823844, + "narHash": "sha256-zCrxupBXHKm9pakFTcxng/PMbAmiRRK58ZewtBfwc50=", "owner": "rust-analyzer", "repo": "rust-analyzer", - "rev": "f6901c952ec3847ca522c69d4c854e9e0e51d5fe", + "rev": "a2cc1d6b7b499d6b03436db7fc8053aea72f75ac", "type": "github" }, "original": { diff --git a/src/alejandra_cli/Cargo.toml b/src/alejandra_cli/Cargo.toml index 2d561eb..e359f6f 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.6.0" +version = "0.7.0" diff --git a/src/alejandra_engine/Cargo.toml b/src/alejandra_engine/Cargo.toml index 7f2375f..6d0dfbc 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.6.0" +version = "0.7.0" diff --git a/src/alejandra_engine/src/version.rs b/src/alejandra_engine/src/version.rs index 185cc1c..fe6b3fa 100644 --- a/src/alejandra_engine/src/version.rs +++ b/src/alejandra_engine/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.6.0"; +pub const VERSION: &str = "0.7.0";