1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: release 0.7.0

This commit is contained in:
Kevin Amado 2022-02-28 18:52:55 -05:00
parent 44affb27f5
commit 47cbeddfbf
11 changed files with 39 additions and 36 deletions

View file

@ -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

12
Cargo.lock generated
View file

@ -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",
]

View file

@ -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:

6
flake.lock generated
View file

@ -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": {

View file

@ -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 {

4
front/Cargo.lock generated
View file

@ -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",

View file

@ -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

18
front/flake.lock generated
View file

@ -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": {

View file

@ -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"

View file

@ -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"

View file

@ -1 +1 @@
pub const VERSION: &str = "0.6.0";
pub const VERSION: &str = "0.7.0";