From 4a82c45dda3daaa33c07a8cbbbe886a45a3abd72 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 12 Jun 2021 15:49:27 -0700 Subject: [PATCH] Release v0.9.5 (#870) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bump version: 0.9.4 → 0.9.5 - Update dependencies - Update changelog - Update man page - Update config test --- CHANGELOG.md | 21 +++++++++++++++++++++ Cargo.lock | 31 ++++++++++++++++--------------- Cargo.toml | 6 ++++-- man/just.1 | 12 +++++++++--- src/config.rs | 2 +- 5 files changed, 51 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 859ac62..74a26b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,27 @@ Changelog ========= +[v0.9.5] - 2021-6-12 +-------------------- + +### Added +- Add `--unstable` flag (#869) +- Add Sublime Text syntax file (#864) +- Add `--fmt` subcommand (#837) + +### Misc +- Mention doniogela.dev/just/ in readme (#866) +- Mention that vim-just is now available from vim-polyglot (#865) +- Mention `--list-heading` newline behavior (#860) +- Check for `rg` in `bin/forbid` (#859) +- Document that variables are not exported to backticks in the same scope (#856) +- Remove `dotenv_load` from tests (#853) +- Remove `v` prefix from version (#850) +- Improve install script (#847) +- Move pages assets back to `docs` (#846) +- Move pages assets to `www` (#845) + + [v0.9.4] - 2021-5-27 -------------------- diff --git a/Cargo.lock b/Cargo.lock index 24b98b4..44ac8f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,9 +134,9 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "env_logger" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f" +checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" dependencies = [ "atty", "humantime", @@ -164,9 +164,9 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" dependencies = [ "unicode-segmentation", ] @@ -188,7 +188,7 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "just" -version = "0.9.4" +version = "0.9.5" dependencies = [ "ansi_term 0.12.1", "atty", @@ -205,6 +205,7 @@ dependencies = [ "pretty_assertions", "snafu", "strum", + "strum_macros", "target", "tempfile", "test-utilities", @@ -220,9 +221,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.95" +version = "0.2.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36" +checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" [[package]] name = "log" @@ -343,9 +344,9 @@ dependencies = [ [[package]] name = "rand_chacha" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", "rand_core", @@ -457,18 +458,18 @@ dependencies = [ [[package]] name = "strum" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c" +checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.20.1" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149" +checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" dependencies = [ "heck", "proc-macro2", @@ -478,9 +479,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82" +checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 0612ac5..46ac427 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "0.9.4" +version = "0.9.5" description = "🤖 Just a command runner" authors = ["Casey Rodarmor "] license = "CC0-1.0" @@ -11,6 +11,7 @@ edition = "2018" autotests = false categories = ["command-line-utilities", "development-tools"] keywords = ["command-line", "task", "runner", "development", "utility"] +resolver = "2" [workspace] members = [".", "bin/prerelease"] @@ -27,6 +28,7 @@ lazy_static = "1.0.0" libc = "0.2.0" log = "0.4.4" snafu = "0.6.0" +strum_macros = "0.21.1" target = "1.0.0" tempfile = "3.0.0" unicode-width = "0.1.0" @@ -36,7 +38,7 @@ version = "3.1.1" features = ["termination"] [dependencies.strum] -version = "0.20.0" +version = "0.21.0" features = ["derive"] [dev-dependencies] diff --git a/man/just.1 b/man/just.1 index b1ced3f..0430fdf 100644 --- a/man/just.1 +++ b/man/just.1 @@ -1,9 +1,9 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH JUST "1" "May 2021" "just 0.9.4" "Just Manual" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.17. +.TH JUST "1" "June 2021" "just 0.9.5" "Just Manual" .SH NAME just \- save and run commands .SH DESCRIPTION -just 0.9.4 +just 0.9.5 \- Please see https://github.com/casey/just for more information. .SS "USAGE:" .IP @@ -30,6 +30,9 @@ Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim` Evaluate and print all variables. If a variable name is given as an argument, only print that variable's value. .TP +\fB\-\-fmt\fR +Format and overwrite justfile +.TP \fB\-\-highlight\fR Highlight echoed recipe lines in bold .TP @@ -57,6 +60,9 @@ List names of available recipes \fB\-u\fR, \fB\-\-unsorted\fR Return list and summary entries in source order .TP +\fB\-\-unstable\fR +Enable unstable features +.TP \fB\-\-variables\fR List names of variables .TP diff --git a/src/config.rs b/src/config.rs index 346b351..c00481f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -948,7 +948,7 @@ mod tests { // have proper tests for all the flags, but this will do for now. #[test] fn help() { - const EXPECTED_HELP: &str = "just 0.9.4 + const EXPECTED_HELP: &str = "just 0.9.5 Casey Rodarmor 🤖 Just a command runner \ - https://github.com/casey/just