mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
feat: release 0.7.0
This commit is contained in:
parent
44affb27f5
commit
47cbeddfbf
11 changed files with 39 additions and 36 deletions
|
@ -17,6 +17,8 @@ Types of changes
|
||||||
- Security in case of vulnerabilities.
|
- Security in case of vulnerabilities.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## [0.7.0] - 2022-02-28
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Inline comments support in binary operators:
|
- 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.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.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.4.0]: https://github.com/kamadorueda/alejandra/compare/0.3.1...0.4.0
|
||||||
|
|
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_cli"
|
name = "alejandra_cli"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alejandra_engine",
|
"alejandra_engine",
|
||||||
"atty",
|
"atty",
|
||||||
|
@ -18,7 +18,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_engine"
|
name = "alejandra_engine"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
"rnix",
|
"rnix",
|
||||||
|
@ -77,9 +77,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap"
|
name = "clap"
|
||||||
version = "3.1.2"
|
version = "3.1.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77"
|
checksum = "86f8c0e2a6b902acc18214e24a6935cdaf8a8e34231913d4404dcaee659f65a1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"bitflags",
|
"bitflags",
|
||||||
|
@ -292,9 +292,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "redox_syscall"
|
name = "redox_syscall"
|
||||||
version = "0.2.10"
|
version = "0.2.11"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
|
checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
]
|
]
|
||||||
|
|
20
README.md
20
README.md
|
@ -107,11 +107,11 @@ Please visit:
|
||||||
|
|
||||||
You can download a binary for your platform:
|
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)
|
- [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.6.0/alejandra-armv6l-unknown-linux-musleabihf)
|
- [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.6.0/alejandra-armv7l-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.6.0/alejandra-i686-unknown-linux-musl)
|
- [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.6.0/alejandra-x86_64-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`)
|
Make it executable (`$ chmod +x`)
|
||||||
and run Alejandra with:
|
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):
|
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nix profile install github:kamadorueda/alejandra/0.6.0
|
$ nix profile install github:kamadorueda/alejandra/0.7.0
|
||||||
```
|
```
|
||||||
|
|
||||||
- Nix stable:
|
- Nix stable:
|
||||||
|
@ -143,10 +143,10 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
|
||||||
Pick one depending on your platform:
|
Pick one depending on your platform:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nix-env -ivA aarch64-darwin -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.6.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.6.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.6.0
|
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.7.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run Alejandra with:
|
Then run Alejandra with:
|
||||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -18,11 +18,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645623357,
|
"lastModified": 1645937171,
|
||||||
"narHash": "sha256-vAaI91QFn/kY/uMiebW+kG2mPmxirMSJWYtkqkBKdDc=",
|
"narHash": "sha256-n9f9GZBNMe8UMhcgmmaXNObkH01jjgp7INMrUgBgcy4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9222ae36b208d1c6b55d88e10aa68f969b5b5244",
|
"rev": "22dc22f8cedc58fcb11afe1acb08e9999e78be9c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
outputs = inputs: let
|
outputs = inputs: let
|
||||||
commit = inputs.self.shortRev or "dirty";
|
commit = inputs.self.shortRev or "dirty";
|
||||||
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
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:
|
nixpkgsForHost = host:
|
||||||
import inputs.nixpkgs {
|
import inputs.nixpkgs {
|
||||||
|
|
4
front/Cargo.lock
generated
4
front/Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_engine"
|
name = "alejandra_engine"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
"rnix",
|
"rnix",
|
||||||
|
@ -13,7 +13,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_front"
|
name = "alejandra_front"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alejandra_engine",
|
"alejandra_engine",
|
||||||
"console_error_panic_hook",
|
"console_error_panic_hook",
|
||||||
|
|
|
@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra_front"
|
name = "alejandra_front"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
18
front/flake.lock
generated
18
front/flake.lock
generated
|
@ -8,11 +8,11 @@
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645770291,
|
"lastModified": 1645943033,
|
||||||
"narHash": "sha256-G+1P64m2mDaP8El14Xh0lX4dJG0ANQQbxsjzTJ6Cz1Y=",
|
"narHash": "sha256-es7SEXoeWqv0blb8s+AVWOUygsRDIcx7G/8FIUUEjZE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "89ac7f1e75cd2edd38cb5a876e6587b79f01c17a",
|
"rev": "f078968e47b20286d9f6b11c528cb0e5d73aa1fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645623357,
|
"lastModified": 1645937171,
|
||||||
"narHash": "sha256-vAaI91QFn/kY/uMiebW+kG2mPmxirMSJWYtkqkBKdDc=",
|
"narHash": "sha256-n9f9GZBNMe8UMhcgmmaXNObkH01jjgp7INMrUgBgcy4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9222ae36b208d1c6b55d88e10aa68f969b5b5244",
|
"rev": "22dc22f8cedc58fcb11afe1acb08e9999e78be9c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -46,11 +46,11 @@
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645736367,
|
"lastModified": 1645823844,
|
||||||
"narHash": "sha256-NTGvCNdZyRwa8gOnNNqGVhcBUhA7RAS31/cCoTw75iw=",
|
"narHash": "sha256-zCrxupBXHKm9pakFTcxng/PMbAmiRRK58ZewtBfwc50=",
|
||||||
"owner": "rust-analyzer",
|
"owner": "rust-analyzer",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "f6901c952ec3847ca522c69d4c854e9e0e51d5fe",
|
"rev": "a2cc1d6b7b499d6b03436db7fc8053aea72f75ac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -18,4 +18,4 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra_cli"
|
name = "alejandra_cli"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
|
|
|
@ -32,4 +32,4 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra_engine"
|
name = "alejandra_engine"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
pub const VERSION: &str = "0.6.0";
|
pub const VERSION: &str = "0.7.0";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue