Skip to content

Commit

Permalink
feat: release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadorueda committed May 13, 2022
1 parent a27fb4a commit bb7f2ad
Show file tree
Hide file tree
Showing 19 changed files with 1,057 additions and 864 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo INFO: building Alejandra
nix-build \
--attr ${system} \
--out-link result-alejandra \
https://github.com/kamadorueda/alejandra/tarball/1.2.0
https://github.com/kamadorueda/alejandra/tarball/1.3.0

echo INFO: running Alejandra:
result-alejandra/bin/alejandra -- -q "${@}"
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ Types of changes
- Security in case of vulnerabilities.
-->

## [1.3.0] - 2022-05-09

### Added

- A pre-commit hook (requires Nix to be installed in the host).

### Changed

- Updated dependencies to its latest version.

## [1.2.0] - 2022-04-05

### Added
Expand Down Expand Up @@ -543,7 +553,8 @@ Types of changes

---

[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.2.0...HEAD
[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.3.0...HEAD
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.0
[1.2.0]: https://github.com/kamadorueda/alejandra/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/kamadorueda/alejandra/compare/1.0.0...1.1.0
[1.0.0]: https://github.com/kamadorueda/alejandra/compare/0.7.0...1.0.0
Expand Down
78 changes: 34 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
```yaml
repos:
- repo: https://github.com/kamadorueda/alejandra
rev: dcaed43358af225dd2593b75537a01beb98563f0
rev: 1.3.0
hooks:
- id: alejandra
```
Expand All @@ -122,11 +122,11 @@ Please visit:
You can download a binary for your platform:
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.2.0/alejandra-aarch64-unknown-linux-musl)
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.2.0/alejandra-armv6l-unknown-linux-musleabihf)
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.2.0/alejandra-armv7l-unknown-linux-musleabihf)
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.2.0/alejandra-i686-unknown-linux-musl)
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.2.0/alejandra-x86_64-unknown-linux-musl)
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.3.0/alejandra-aarch64-unknown-linux-musl)
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.3.0/alejandra-armv6l-unknown-linux-musleabihf)
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.3.0/alejandra-armv7l-unknown-linux-musleabihf)
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.3.0/alejandra-i686-unknown-linux-musl)
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.3.0/alejandra-x86_64-unknown-linux-musl)
Make it executable (`$ chmod +x`)
and run Alejandra with:
Expand All @@ -150,19 +150,19 @@ 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/1.2.0
$ nix profile install github:kamadorueda/alejandra/1.3.0
```

- Nix stable:

Pick one depending on your platform:

```bash
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.2.0
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.2.0
$ nix-env -ivA i686-linux -f https://github.com/kamadorueda/alejandra/tarball/1.2.0
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.2.0
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.2.0
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.3.0
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.3.0
$ nix-env -ivA i686-linux -f https://github.com/kamadorueda/alejandra/tarball/1.3.0
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.3.0
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.3.0
```

Then run Alejandra with:
Expand All @@ -180,7 +180,7 @@ $ alejandra --help
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
alejandra.url = "github:kamadorueda/alejandra/1.2.0";
alejandra.url = "github:kamadorueda/alejandra/1.3.0";
alejandra.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down Expand Up @@ -210,7 +210,7 @@ $ alejandra --help
let
alejandra =
(import (builtins.fetchTarball {
url = "https://github.com/kamadorueda/alejandra/tarball/1.2.0";
url = "https://github.com/kamadorueda/alejandra/tarball/1.3.0";
sha256 = "0000000000000000000000000000000000000000000000000000";
}))
# Pick one from: aarch64-darwin, aarch64-linux, i686-linux, x86_64-darwin, x86_64-linux
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
flakeCompat.url = github:edolstra/flake-compat;
flakeCompat.flake = false;

nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
};

outputs = inputs: let
commit = inputs.self.shortRev or "dirty";
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
version = "1.2.0+${builtins.substring 0 8 date}.${commit}";
version = "1.3.0+${builtins.substring 0 8 date}.${commit}";

nixpkgsForHost = host:
import inputs.nixpkgs {
Expand Down
4 changes: 2 additions & 2 deletions front/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra_front"
repository = "https://github.com/kamadorueda/alejandra"
version = "1.2.0"
version = "1.3.0"

[profile.release]
lto = true
Expand Down
8 changes: 4 additions & 4 deletions front/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
fenix.url = "github:nix-community/fenix";
fenix.inputs.nixpkgs.follows = "nixpkgs";

nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
};

outputs = inputs: let
Expand Down
Loading

0 comments on commit bb7f2ad

Please sign in to comment.