From a56af47e887c9bdbc71594f036289d2547865763 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 22 Feb 2022 13:13:24 -0800 Subject: [PATCH] Release 1.0 (#1112) --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 30 ++++++++++++++++++------------ Cargo.toml | 4 ++-- README.md | 13 +++++++++++++ man/just.1 | 15 ++++++++------- 5 files changed, 50 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a69f9d4..9bd083e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ Changelog ========= +[1.0.0](https://github.com/casey/just/releases/tag/1.0.0) - 2022-2-22 +--------------------------------------------------------------------- + +### Added +- Add path_exists() function (#1106) + +### Misc +- Note that `pipefail` isn't normally set (#1108) + [0.11.2](https://github.com/casey/just/releases/tag/0.11.2) - 2022-2-15 ----------------------------------------------------------------------- diff --git a/Cargo.lock b/Cargo.lock index 15a951b..4e5e67a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,9 +62,9 @@ checksum = "6f3132262930b0522068049f5870a856ab8affc80c70d08b6ecb785771a6fc23" [[package]] name = "cc" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" +checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" [[package]] name = "cfg-if" @@ -195,6 +195,12 @@ dependencies = [ "unicode-segmentation", ] +[[package]] +name = "heck" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -227,7 +233,7 @@ checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" [[package]] name = "just" -version = "0.11.2" +version = "1.0.0" dependencies = [ "ansi_term", "atty", @@ -274,9 +280,9 @@ checksum = "441225017b106b9f902e97947a6d31e44ebcf274b91bdbfb51e5c477fcd468e5" [[package]] name = "libc" -version = "0.2.118" +version = "0.2.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e509672465a0504304aa87f9f176f2b2b716ed8fb105ebe5c02dc6dce96a94" +checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" [[package]] name = "linked-hash-map" @@ -503,7 +509,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a7fe9b0669ef117c5cabc5549638528f36771f058ff977d7689deb517833a75" dependencies = [ - "heck", + "heck 0.3.3", "proc-macro2", "quote", "syn", @@ -532,7 +538,7 @@ version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ - "heck", + "heck 0.3.3", "proc-macro-error", "proc-macro2", "quote", @@ -541,20 +547,20 @@ dependencies = [ [[package]] name = "strum" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" +checksum = "e96acfc1b70604b8b2f1ffa4c57e59176c7dbb05d556c71ecd2f5498a1dee7f8" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" +checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef" dependencies = [ - "heck", + "heck 0.4.0", "proc-macro2", "quote", "rustversion", diff --git a/Cargo.toml b/Cargo.toml index abb723d..2596c24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "0.11.2" +version = "1.0.0" description = "🤖 Just a command runner" authors = ["Casey Rodarmor "] license = "CC0-1.0" @@ -34,7 +34,7 @@ serde = { version = "1.0.130", features = ["derive", "rc"] } serde_json = "1.0.68" similar = { version = "2.1.0", features = ["unicode"] } snafu = "0.7.0" -strum = { version = "0.23.0", features = ["derive"] } +strum = { version = "0.24.0", features = ["derive"] } target = "2.0.0" tempfile = "3.0.0" typed-arena = "2.0.1" diff --git a/README.md b/README.md index 8370fff..1f54171 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,19 @@ Example usage: An [RSS feed](https://en.wikipedia.org/wiki/RSS) of `just` releases is available [here](https://github.com/casey/just/releases.atom). +Backwards Compatibility +----------------------- + +With the release of version 1.0, `just` features a strong commitment to backwards compatibility and stability. + +Future releases will not introduce backwards incompatible changes that make existing `justfile`s stop working, or break working invocations of the command-line interface. + +This does not, however, preclude fixing outright bugs, even if doing so might break `justfiles` that rely on their behavior. + +There will never be a `just` 2.0. Any desirable backwards-incompatible changes will be opt-in on a per-`justfile` basis, so users may migrate at their leisure. + +Features that aren't yet ready for stabilization are gated behind the `--unstable` flag. Features enabled by `--unstable` may change in backwards incompatible ways at any time. + Editor Support -------------- diff --git a/man/just.1 b/man/just.1 index fa0d3e5..69e7ff5 100644 --- a/man/just.1 +++ b/man/just.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. -.TH JUST "1" "February 2022" "just 0.11.2" "Just Manual" +.TH JUST "1" "February 2022" "just 1.0.0" "Just Manual" .SH NAME just \- save and run commands .SH DESCRIPTION -just 0.11.2 +just 1.0.0 \- Please see https://github.com/casey/just for more information. .SS "USAGE:" .IP @@ -14,12 +14,12 @@ just [FLAGS] [OPTIONS] [\-\-] [ARGUMENTS]... Print changelog .TP \fB\-\-check\fR -Run `\-\-fmt` in 'check' mode. Exits with 0 if justfile is formatted correctly. Exits with 1 -and prints a diff if formatting is required. +Run `\-\-fmt` in 'check' mode. Exits with 0 if justfile is formatted correctly. Exits with +1 and prints a diff if formatting is required. .TP \fB\-\-choose\fR -Select one or more recipes to run using a binary. If `\-\-chooser` is not passed the chooser -defaults to the value of $JUST_CHOOSER, falling back to `fzf` +Select one or more recipes to run using a binary. If `\-\-chooser` is not passed the +chooser defaults to the value of $JUST_CHOOSER, falling back to `fzf` .TP \fB\-\-clear\-shell\-args\fR Clear shell arguments @@ -98,8 +98,9 @@ Run an arbitrary command with the working directory, `.env`, overrides, and expo \fB\-\-completions\fR .IP Print shell completion script for [possible values: zsh, bash, fish, powershell, elvish] -.TP +.HP \fB\-\-dotenv\-filename\fR +.IP Search for environment file named instead of `.env` .TP \fB\-\-dotenv\-path\fR