From 6ded43a40e2540c14910c30cfa7ad3ab289af2d8 Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Mon, 14 Feb 2022 20:18:12 -0500 Subject: [PATCH] feat: version 0.1.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ Cargo.lock | 16 +++------------- Cargo.toml | 2 +- README.md | 12 ++++++++++++ flake.lock | 6 +++--- flake.nix | 2 +- front/Cargo.lock | 18 ++++-------------- front/Cargo.toml | 2 +- front/flake.lock | 6 +++--- 9 files changed, 55 insertions(+), 36 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ebb62b4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.0] - 2022-02-14 + +### Added + +- Initial version +- A Changelog + +## [0.0.0] - 2022-01-09 + +### Added + +- The project :) + +--- + +[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.1.0...HEAD +[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.0.0...0.1.0 +[0.0.0]: https://github.com/kamadorueda/alejandra/compare/6adfbe8516bf6d9e896534e01118e1bc41f65425...0.0.0 diff --git a/Cargo.lock b/Cargo.lock index fc21a57..fe1a506 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra" -version = "0.0.0" +version = "0.1.0" dependencies = [ "clap", "indoc", @@ -250,14 +250,13 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "rand" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", "rand_core", - "rand_hc", ] [[package]] @@ -279,15 +278,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core", -] - [[package]] name = "rayon" version = "1.5.1" diff --git a/Cargo.toml b/Cargo.toml index 3c3d4b6..566e377 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,4 +13,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra" repository = "https://github.com/kamadorueda/alejandra" -version = "0.0.0" +version = "0.1.0" diff --git a/README.md b/README.md index 2350f7a..e3a42cd 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,18 @@ See why Alejandra was created and a comparison between alternatives [here](https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/3?u=kamadorueda). +## Versioning + +We use [semver](https://semver.org/) to version Alejandra. + +Our public API consists of: + +- The formatting rules (a.k.a. the style). +- The CLI tool (`$ alejandra`), + command line flags, + positional arguments, + and stdout. + ## Footnotes [^benchmark-specs]: diff --git a/flake.lock b/flake.lock index 01daa47..ef7acf2 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1644789245, - "narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=", + "lastModified": 1644880769, + "narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613", + "rev": "a31699dce9a2d5b432a41a7499e088240d1086c8", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0731bfd..3c4dc32 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,7 @@ commit = inputs.self.shortRev or "dirty"; date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101"; in - "${builtins.substring 0 8 date}_${commit}"; + "0.1.0+${builtins.substring 0 8 date}.${commit}"; src = ./.; inherit target; cargoLock.lockFile = ./Cargo.lock; diff --git a/front/Cargo.lock b/front/Cargo.lock index 96bf327..ef89027 100644 --- a/front/Cargo.lock +++ b/front/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra" -version = "0.0.0" +version = "0.1.0" dependencies = [ "clap", "indoc", @@ -17,7 +17,7 @@ dependencies = [ [[package]] name = "alejandra-front" -version = "0.0.0" +version = "0.1.0" dependencies = [ "alejandra", "console_error_panic_hook", @@ -327,14 +327,13 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", "rand_core", - "rand_hc", ] [[package]] @@ -356,15 +355,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core", -] - [[package]] name = "rayon" version = "1.5.1" diff --git a/front/Cargo.toml b/front/Cargo.toml index e6d9f0b..314fbc0 100644 --- a/front/Cargo.toml +++ b/front/Cargo.toml @@ -14,4 +14,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra-front" repository = "https://github.com/kamadorueda/alejandra" -version = "0.0.0" +version = "0.1.0" diff --git a/front/flake.lock b/front/flake.lock index ecb1f61..ca415cc 100644 --- a/front/flake.lock +++ b/front/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1644789245, - "narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=", + "lastModified": 1644880769, + "narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613", + "rev": "a31699dce9a2d5b432a41a7499e088240d1086c8", "type": "github" }, "original": {