From 9457278c91284bcc06f92d5439e49541f228612c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henr=C3=A9=20Botha?= Date: Fri, 31 Jan 2025 15:30:41 +0100 Subject: [PATCH 1/3] docs: Fix typo (#4277) --- docs/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.md b/docs/faq.md index b5e6cc6a7b..fc192ff8d4 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -191,6 +191,6 @@ usage () is a spec and CLI for defining CLI tools. Arguments, flags, environment variables, and config files can all be defined in a Usage spec. It can be thought of like OpenAPI (swagger) for CLIs. -`usage` can be installed with `mise` using `mise use -g usage` and is required to get the autocompetion working. See [autocompletion](/installing-mise.html#autocompletion). +`usage` can be installed with `mise` using `mise use -g usage` and is required to get the autocompletion working. See [autocompletion](/installing-mise.html#autocompletion). You can leverage usage in file tasks to get auto-completion working, see [file tasks arguments](/tasks/file-tasks.html#arguments). From d877a53a7daba802116a1fd13a5288481c5f09c2 Mon Sep 17 00:00:00 2001 From: mise-en-dev Date: Fri, 31 Jan 2025 13:40:48 -0600 Subject: [PATCH 2/3] chore: release 2025.1.17 (#4261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 🚀 Features - **(registry)** use aqua for duckdb by [@mangkoran](https://github.com/mangkoran) in [#4270](https://github.com/jdx/mise/pull/4270) ### 🐛 Bug Fixes - mise does not operate well under Git Bash on Windows by [@roele](https://github.com/roele) in [#4048](https://github.com/jdx/mise/pull/4048) - mise rm removes/reports wrong version of tool by [@roele](https://github.com/roele) in [#4272](https://github.com/jdx/mise/pull/4272) ### 📚 Documentation - Update python documentation by [@hverlin](https://github.com/hverlin) in [#4260](https://github.com/jdx/mise/pull/4260) - fix postinstall typo in nodejs cookbook by [@arafays](https://github.com/arafays) in [#4251](https://github.com/jdx/mise/pull/4251) - Fix typo by [@henrebotha](https://github.com/henrebotha) in [#4277](https://github.com/jdx/mise/pull/4277) ### Hooks.md - MISE_PROJECT_DIR -> MISE_PROJECT_ROOT by [@jubr](https://github.com/jubr) in [#4269](https://github.com/jdx/mise/pull/4269) ### New Contributors - @mangkoran made their first contribution in [#4270](https://github.com/jdx/mise/pull/4270) - @jubr made their first contribution in [#4269](https://github.com/jdx/mise/pull/4269) - @arafays made their first contribution in [#4251](https://github.com/jdx/mise/pull/4251) --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ Cargo.lock | 41 +++++++++++++++++++++++++---------------- Cargo.toml | 2 +- README.md | 2 +- aqua-registry | 2 +- completions/_mise | 6 +++--- completions/mise.bash | 6 +++--- completions/mise.fish | 8 ++++---- default.nix | 2 +- packaging/rpm/mise.spec | 2 +- 10 files changed, 67 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c81d36a2f7..c37957d25b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [2025.1.17](https://github.com/jdx/mise/compare/v2025.1.16..v2025.1.17) - 2025-01-31 + +### 🚀 Features + +- **(registry)** use aqua for duckdb by [@mangkoran](https://github.com/mangkoran) in [#4270](https://github.com/jdx/mise/pull/4270) + +### 🐛 Bug Fixes + +- mise does not operate well under Git Bash on Windows by [@roele](https://github.com/roele) in [#4048](https://github.com/jdx/mise/pull/4048) +- mise rm removes/reports wrong version of tool by [@roele](https://github.com/roele) in [#4272](https://github.com/jdx/mise/pull/4272) + +### 📚 Documentation + +- Update python documentation by [@hverlin](https://github.com/hverlin) in [#4260](https://github.com/jdx/mise/pull/4260) +- fix postinstall typo in nodejs cookbook by [@arafays](https://github.com/arafays) in [#4251](https://github.com/jdx/mise/pull/4251) +- Fix typo by [@henrebotha](https://github.com/henrebotha) in [#4277](https://github.com/jdx/mise/pull/4277) + +### Hooks.md + +- MISE_PROJECT_DIR -> MISE_PROJECT_ROOT by [@jubr](https://github.com/jubr) in [#4269](https://github.com/jdx/mise/pull/4269) + +### New Contributors + +- @mangkoran made their first contribution in [#4270](https://github.com/jdx/mise/pull/4270) +- @jubr made their first contribution in [#4269](https://github.com/jdx/mise/pull/4269) +- @arafays made their first contribution in [#4251](https://github.com/jdx/mise/pull/4251) + ## [2025.1.16](https://github.com/jdx/mise/compare/v2025.1.15..v2025.1.16) - 2025-01-29 ### 🚀 Features diff --git a/Cargo.lock b/Cargo.lock index ba5db56555..0f83e4f47b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1742,7 +1742,7 @@ dependencies = [ "gix-utils", "itoa", "thiserror 2.0.11", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -1838,7 +1838,7 @@ dependencies = [ "smallvec", "thiserror 2.0.11", "unicode-bom", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -2129,7 +2129,7 @@ dependencies = [ "itoa", "smallvec", "thiserror 2.0.11", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -2262,7 +2262,7 @@ dependencies = [ "gix-utils", "maybe-async", "thiserror 2.0.11", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -2294,7 +2294,7 @@ dependencies = [ "gix-validate", "memmap2", "thiserror 2.0.11", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -3338,7 +3338,7 @@ dependencies = [ "miette", "num", "thiserror 1.0.69", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -3637,7 +3637,7 @@ dependencies = [ [[package]] name = "mise" -version = "2025.1.16" +version = "2025.1.17" dependencies = [ "base64 0.22.1", "built", @@ -4835,9 +4835,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.21" +version = "0.23.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f287924602bf649d949c63dc8ac8b235fa5387d394020705b80c4eb597ce5b8" +checksum = "9fb9263ab4eb695e42321db096e3b8fbd715a59b154d5c88d82db2175b681ba7" dependencies = [ "once_cell", "ring", @@ -5856,15 +5856,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.22" +version = "0.22.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" +checksum = "02a8b472d1a3d7c18e2d61a489aee3453fd9031c33e4f55bd533f4a7adca1bee" dependencies = [ "indexmap 2.7.1", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.7.0", ] [[package]] @@ -6425,9 +6425,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "0.26.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "2210b291f7ea53617fbafcc4939f10914214ec15aace5ba62293a668f322c5c9" dependencies = [ "rustls-pki-types", ] @@ -6723,9 +6723,18 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.25" +version = "0.6.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad699df48212c6cc6eb4435f35500ac6fd3b9913324f938aea302022ce19d310" +checksum = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e49d2d35d3fad69b39b94139037ecfb4f359f08958b9c11e7315ce770462419" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index 5324d4b2f7..5c7a8aa649 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mise" -version = "2025.1.16" +version = "2025.1.17" edition = "2021" description = "The front-end to your dev env" authors = ["Jeff Dickey (@jdx)"] diff --git a/README.md b/README.md index 46a144bac2..89e4fbef27 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Install mise (other methods [here](https://mise.jdx.dev/getting-started.html)): ```sh-session $ curl https://mise.run | sh $ ~/.local/bin/mise --version -2025.1.16 macos-arm64 (a1b2d3e 2025-01-29) +2025.1.17 macos-arm64 (a1b2d3e 2025-01-31) ``` or install a specific a version: diff --git a/aqua-registry b/aqua-registry index f0e4dd947a..2b8e0a5bd7 160000 --- a/aqua-registry +++ b/aqua-registry @@ -1 +1 @@ -Subproject commit f0e4dd947a80d8c8deb2f24bdfe1e14f8ab4cb40 +Subproject commit 2b8e0a5bd7197f52199154d3dfb9af37ba94eac8 diff --git a/completions/_mise b/completions/_mise index b65c22f2fd..7719edc6a9 100644 --- a/completions/_mise +++ b/completions/_mise @@ -27,11 +27,11 @@ _mise() { zstyle ":completion:${curcontext}:" cache-policy _usage_mise_cache_policy fi - if ( [[ -z "${_usage_spec_mise_2025_1_16:-}" ]] || _cache_invalid _usage_spec_mise_2025_1_16 ) \ - && ! _retrieve_cache _usage_spec_mise_2025_1_16; + if ( [[ -z "${_usage_spec_mise_2025_1_17:-}" ]] || _cache_invalid _usage_spec_mise_2025_1_17 ) \ + && ! _retrieve_cache _usage_spec_mise_2025_1_17; then spec="$(mise usage)" - _store_cache _usage_spec_mise_2025_1_16 spec + _store_cache _usage_spec_mise_2025_1_17 spec fi _arguments "*: :(($(usage complete-word --shell zsh -s "$spec" -- "${words[@]}" )))" diff --git a/completions/mise.bash b/completions/mise.bash index 7ce4a0cab0..c0f73e140f 100644 --- a/completions/mise.bash +++ b/completions/mise.bash @@ -6,14 +6,14 @@ _mise() { return 1 fi - if [[ -z ${_usage_spec_mise_2025_1_16:-} ]]; then - _usage_spec_mise_2025_1_16="$(mise usage)" + if [[ -z ${_usage_spec_mise_2025_1_17:-} ]]; then + _usage_spec_mise_2025_1_17="$(mise usage)" fi local cur prev words cword was_split comp_args _comp_initialize -n : -- "$@" || return # shellcheck disable=SC2207 - _comp_compgen -- -W "$(usage complete-word --shell bash -s "${_usage_spec_mise_2025_1_16}" --cword="$cword" -- "${words[@]}")" + _comp_compgen -- -W "$(usage complete-word --shell bash -s "${_usage_spec_mise_2025_1_17}" --cword="$cword" -- "${words[@]}")" _comp_ltrim_colon_completions "$cur" # shellcheck disable=SC2181 if [[ $? -ne 0 ]]; then diff --git a/completions/mise.fish b/completions/mise.fish index 0f40e993bc..98128176ab 100644 --- a/completions/mise.fish +++ b/completions/mise.fish @@ -6,12 +6,12 @@ if ! command -v usage &> /dev/null return 1 end -if ! set -q _usage_spec_mise_2025_1_16 - set -g _usage_spec_mise_2025_1_16 (mise usage | string collect) +if ! set -q _usage_spec_mise_2025_1_17 + set -g _usage_spec_mise_2025_1_17 (mise usage | string collect) end set -l tokens if commandline -x >/dev/null 2>&1 - complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_1_16" -- (commandline -xpc) (commandline -t))' + complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_1_17" -- (commandline -xpc) (commandline -t))' else - complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_1_16" -- (commandline -opc) (commandline -t))' + complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_1_17" -- (commandline -opc) (commandline -t))' end diff --git a/default.nix b/default.nix index 43ecb2b5fc..32752baf33 100644 --- a/default.nix +++ b/default.nix @@ -2,7 +2,7 @@ rustPlatform.buildRustPackage { pname = "mise"; - version = "2025.1.16"; + version = "2025.1.17"; src = lib.cleanSource ./.; diff --git a/packaging/rpm/mise.spec b/packaging/rpm/mise.spec index 31582542ca..cc88ad7f65 100644 --- a/packaging/rpm/mise.spec +++ b/packaging/rpm/mise.spec @@ -1,6 +1,6 @@ Summary: The front-end to your dev env Name: mise -Version: 2025.1.16 +Version: 2025.1.17 Release: 1 URL: https://github.com/jdx/mise/ Group: System From 73d125ef16c2c591b5616f18ef6382ec8d2b835e Mon Sep 17 00:00:00 2001 From: ELLIOTTCABLE Date: Fri, 31 Jan 2025 17:56:13 -0700 Subject: [PATCH 3/3] Fix typo in the Python cookbook (#4280) --- docs/mise-cookbook/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mise-cookbook/python.md b/docs/mise-cookbook/python.md index 8841a8fe69..9d12379266 100644 --- a/docs/mise-cookbook/python.md +++ b/docs/mise-cookbook/python.md @@ -96,7 +96,7 @@ _.python.venv = { path = ".venv" } ### Syncing python versions installed by mise and uv -You can use [uv sync python --uv](/cli/sync/python.html#uv) to sync the python version installed by `mise` with the python version specified in the `.python-version` file in the `uv` project. +You can use [mise sync python --uv](/cli/sync/python.html#uv) to sync the python version installed by `mise` with the python version specified in the `.python-version` file in the `uv` project. ### uv scripts