diff --git a/CHANGELOG.md b/CHANGELOG.md index e7aeeb3..9e4b482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ Changelog ========= +[1.22.1](https://github.com/casey/just/releases/tag/1.22.1) - 2024-01-08 +------------------------------------------------------------------------ + +### Fixed +- Don't conflate recipes with the same name in different modules ([#1825](https://github.com/casey/just/pull/1825)) + +### Misc +- Clarify that UUID is version 4 ([#1821](https://github.com/casey/just/pull/1821) by [tgross35](https://github.com/tgross35)) +- Make sigil stripping from recipe lines less incomprehensible ([#1812](https://github.com/casey/just/pull/1812)) +- Refactor invalid path argument check ([#1811](https://github.com/casey/just/pull/1811)) + [1.22.0](https://github.com/casey/just/releases/tag/1.22.0) - 2023-12-31 ------------------------------------------------------------------------ diff --git a/Cargo.lock b/Cargo.lock index 40b7fa9..17bc25c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,9 +93,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -177,12 +177,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - [[package]] name = "dotenvy" version = "0.15.7" @@ -338,7 +332,7 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "just" -version = "1.22.0" +version = "1.22.1" dependencies = [ "ansi_term", "atty", @@ -390,9 +384,9 @@ checksum = "441225017b106b9f902e97947a6d31e44ebcf274b91bdbfb51e5c477fcd468e5" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "libredox" @@ -498,9 +492,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.72" +version = "1.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a293318316cf6478ec1ad2a21c49390a8d5b5eae9fab736467d93fbc0edc29c5" +checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" dependencies = [ "unicode-ident", ] @@ -528,9 +522,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.34" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a37c9326af5ed140c86a46655b5278de879853be5573c01df185b6f49a580a" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -626,35 +620,35 @@ checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "semver" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" dependencies = [ "itoa", "ryu", @@ -684,24 +678,23 @@ dependencies = [ [[package]] name = "snafu" -version = "0.7.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4de37ad025c587a29e8f3f5605c00f70b98715ef90b9061a815b9e59e9042d6" +checksum = "d342c51730e54029130d7dc9fd735d28c4cd360f1368c01981d4f03ff207f096" dependencies = [ - "doc-comment", "snafu-derive", ] [[package]] name = "snafu-derive" -version = "0.7.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990079665f075b699031e9c08fd3ab99be5029b96f3b78dc0709e8f77e4efebf" +checksum = "080c44971436b1af15d6f61ddd8b543995cf63ab8e677d46b00cc06f4ef267a0" dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.48", ] [[package]] @@ -753,7 +746,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -769,9 +762,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.43" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -837,22 +830,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.53" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cd5904763bad08ad5513ddbb12cf2ae273ca53fa9f68e843e236ec6dfccc09" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.53" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dcf4a824cce0aeacd6f38ae6f24234c8e80d68632338ebaa1443b5df9e29e19" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 06bc0d6..b353b5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "1.22.0" +version = "1.22.1" authors = ["Casey Rodarmor "] autotests = false categories = ["command-line-utilities", "development-tools"] @@ -39,7 +39,7 @@ serde = { version = "1.0.130", features = ["derive", "rc"] } serde_json = "1.0.68" sha2 = "0.10" similar = { version = "2.1.0", features = ["unicode"] } -snafu = "0.7.0" +snafu = "0.8.0" strum = { version = "0.25.0", features = ["derive"] } target = "2.0.0" tempfile = "3.0.0" diff --git a/man/just.1 b/man/just.1 index 21c7e23..715ec63 100644 --- a/man/just.1 +++ b/man/just.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. -.TH JUST "1" "December 2023" "just 1.22.0" "Just Manual" +.TH JUST "1" "January 2024" "just 1.22.1" "Just Manual" .SH NAME just \- save and run commands .SH DESCRIPTION -just 1.22.0 +just 1.22.1 \- Please see https://github.com/casey/just for more information. .SS "USAGE:" .IP @@ -14,12 +14,13 @@ 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 chooser. 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 chooser. 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 @@ -31,11 +32,12 @@ Print what just would do without doing it Print justfile .TP \fB\-e\fR, \fB\-\-edit\fR -Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim` +Edit justfile with editor given by $VISUAL or $EDITOR, falling back to +`vim` .TP \fB\-\-evaluate\fR -Evaluate and print all variables. If a variable name is given as an argument, only print -that variable's value. +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 @@ -100,16 +102,20 @@ Run an arbitrary command with the working directory, `.env`, overrides, and expo .HP \fB\-\-command\-color\fR .IP -Echo recipe lines in [possible values: black, blue, cyan, green, purple, red, yellow] +Echo recipe lines in [possible values: black, blue, cyan, green, purple, red, +yellow] .HP \fB\-\-completions\fR .IP -Print shell completion script for [possible values: zsh, bash, fish, powershell, elvish] -.TP +Print shell completion script for [possible values: zsh, bash, fish, powershell, +elvish] +.HP \fB\-\-dotenv\-filename\fR +.IP Search for environment file named instead of `.env` -.TP +.HP \fB\-\-dotenv\-path\fR +.IP Load environment file at instead of searching for one .HP \fB\-\-dump\-format\fR