diff --git a/CHANGELOG.md b/CHANGELOG.md index 9025186ec..7d5f5dc77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2024.5.3](https://github.com/jdx/mise/compare/v2024.5.2..v2024.5.3) - 2024-05-06 + +### 🚀 Features + +- **(env)** supports glob patterns in `env._.file` and `env._.source` (fix #1916) by [@noirbizarre](https://github.com/noirbizarre) in [#2016](https://github.com/jdx/mise/pull/2016) +- cleanup invalid symlinks in .local/state/mise/(tracked|trusted)-configs by [@roele](https://github.com/roele) in [#2036](https://github.com/jdx/mise/pull/2036) + +### 🐛 Bug Fixes + +- **(plugin-update)** Handle errors from the underlying plugin updates by [@offbyone](https://github.com/offbyone) in [#2024](https://github.com/jdx/mise/pull/2024) +- backend install directory not removed if empty by [@roele](https://github.com/roele) in [#2018](https://github.com/jdx/mise/pull/2018) +- mise trust doesn't handle relative paths by [@roele](https://github.com/roele) in [#2037](https://github.com/jdx/mise/pull/2037) + +### 🔍 Other Changes + +- Update README.md by [@jdx](https://github.com/jdx) in [40e82be](https://github.com/jdx/mise/commit/40e82be7e187cb09d2dad1c0d8b61078c4f7cebe) +- move kachick plugins to mise-plugins by Jeff Dickey in [a41b296](https://github.com/jdx/mise/commit/a41b296d7f599de3bccfb31c71da9606fd508216) + +### 📦️ Dependency Updates + +- update rust crate zip to v1.1.4 by [@renovate[bot]](https://github.com/renovate[bot]) in [#2030](https://github.com/jdx/mise/pull/2030) + +### New Contributors + +* @noirbizarre made their first contribution in [#2016](https://github.com/jdx/mise/pull/2016) + ## [2024.5.2](https://github.com/jdx/mise/compare/v2024.5.1..v2024.5.2) - 2024-05-02 ### 🐛 Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index d63998c34..6ddded647 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,47 +62,48 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.13" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -153,9 +154,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" @@ -277,9 +278,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.96" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "065a29261d53ba54260972629f9ca6bffa69bac13cd1fed61420f7fa68b9f8bd" +checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" dependencies = [ "jobserver", "libc", @@ -413,9 +414,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" [[package]] name = "confique" @@ -963,9 +964,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -1309,6 +1310,12 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + [[package]] name = "itertools" version = "0.12.1" @@ -1470,7 +1477,7 @@ dependencies = [ [[package]] name = "mise" -version = "2024.5.2" +version = "2024.5.3" dependencies = [ "assert_cmd", "base64 0.22.1", @@ -1588,9 +1595,9 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -2257,11 +2264,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.5.0", "core-foundation", "core-foundation-sys", "libc", @@ -2270,9 +2277,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" dependencies = [ "core-foundation-sys", "libc", @@ -2824,16 +2831,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] @@ -2878,7 +2884,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.7", + "winnow 0.6.8", ] [[package]] @@ -3447,9 +3453,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14b9415ee827af173ebb3f15f9083df5a122eb93572ec28741fb153356ea2578" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" dependencies = [ "memchr", ] @@ -3507,9 +3513,9 @@ checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" [[package]] name = "zip" -version = "1.1.4" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cc23c04387f4da0374be4533ad1208cbb091d5c11d070dfef13676ad6497164" +checksum = "57c07d35c02b10a0884b033b17edb61a4d7bc443ef9a12636bb8cd2e8b8ab5ca" dependencies = [ "arbitrary", "crc32fast", diff --git a/Cargo.toml b/Cargo.toml index ea49e84b2..5e5f6c476 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mise" -version = "2024.5.2" +version = "2024.5.3" edition = "2021" description = "The front-end to your dev env" authors = ["Jeff Dickey (@jdx)"] diff --git a/README.md b/README.md index b58e71da5..fcbd7fff8 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Install mise (other methods [here](https://mise.jdx.dev/getting-started.html)): ```sh-session $ curl https://mise.run | sh $ ~/.local/bin/mise --version -mise 2024.5.2 +mise 2024.5.3 ``` Hook mise into your shell (pick the right one for your shell): diff --git a/default.nix b/default.nix index a9fc15eab..1ca3830ce 100644 --- a/default.nix +++ b/default.nix @@ -2,7 +2,7 @@ rustPlatform.buildRustPackage { pname = "mise"; - version = "2024.5.2"; + version = "2024.5.3"; src = lib.cleanSource ./.; diff --git a/docs/cli-reference.md b/docs/cli-reference.md index 8a3890e94..cfaa1f342 100644 --- a/docs/cli-reference.md +++ b/docs/cli-reference.md @@ -885,6 +885,12 @@ Options: -n, --dry-run Do not actually delete anything + --configs + Prune only tracked and trusted configuration links that point to non-existent configurations + + --tools + Prune only unused versions of tools + Examples: $ mise prune --dry-run diff --git a/man/man1/mise.1 b/man/man1/mise.1 index 245332be0..4174ae7b1 100644 --- a/man/man1/mise.1 +++ b/man/man1/mise.1 @@ -1,6 +1,6 @@ .ie \n(.g .ds Aq \(aq .el .ds Aq ' -.TH mise 1 "mise 2024.5.2" +.TH mise 1 "mise 2024.5.3" .SH NAME mise \- The front\-end to your dev env .SH SYNOPSIS @@ -186,6 +186,6 @@ Examples: $ mise settings Show settings in use $ mise settings set color 0 Disable color by modifying global config file .SH VERSION -v2024.5.2 +v2024.5.3 .SH AUTHORS Jeff Dickey <@jdx> diff --git a/mise.usage.kdl b/mise.usage.kdl index 79c61c756..d9421fb95 100644 --- a/mise.usage.kdl +++ b/mise.usage.kdl @@ -682,6 +682,8 @@ as will versions only referenced on the command line (`mise exec @> = ("calendarsync", "https://github.com/FeryET/asdf-calendarsync.git"), ("calicoctl", "https://github.com/TheCubicleJockey/asdf-calicoctl.git"), ("camunda-modeler", "https://github.com/barmac/asdf-camunda-modeler.git"), - ("cargo-make", "https://github.com/kachick/asdf-cargo-make.git"), + ("cargo-make", "https://github.com/mise-plugins/asdf-cargo-make.git"), ("carp", "https://github.com/susurri/asdf-carp.git"), ("carthage", "https://github.com/younke/asdf-carthage.git"), ("ccache", "https://github.com/asdf-community/asdf-ccache.git"), @@ -779,7 +779,7 @@ pub static DEFAULT_SHORTHANDS: Lazy> = ("xcresultparser", "https://github.com/MacPaw/asdf-xcresultparser.git"), ("xh", "https://github.com/NeoHsu/asdf-xh"), ("yadm", "https://github.com/particledecay/asdf-yadm.git"), - ("yamlfmt", "https://github.com/kachick/asdf-yamlfmt.git"), + ("yamlfmt", "https://github.com/mise-plugins/asdf-yamlfmt.git"), ("yamllint", "https://github.com/ericcornelissen/asdf-yamllint.git"), ("yamlscript", "https://github.com/FeryET/asdf-yamlscript.git"), ("yarn", "https://github.com/mise-plugins/asdf-yarn.git"), @@ -794,7 +794,7 @@ pub static DEFAULT_SHORTHANDS: Lazy> = ("zellij", "https://github.com/chessmango/asdf-zellij.git"), ("zephyr", "https://github.com/nsaunders/asdf-zephyr.git"), ("zig", "https://github.com/cheetah/asdf-zig.git"), - ("zigmod", "https://github.com/kachick/asdf-zigmod.git"), + ("zigmod", "https://github.com/mise-plugins/asdf-zigmod.git"), ("zola", "https://github.com/salasrod/asdf-zola.git"), ("zoxide", "https://github.com/nyrst/asdf-zoxide"), ("zprint", "https://github.com/carlduevel/asdf-zprint.git"),