chore: release 2024.11.32 (#3237)

* chore: release 2024.11.32

* chore: release 2024.11.32

* chore: release 2024.11.32
This commit is contained in:
mise-en-dev 2024-11-27 16:37:40 -06:00 committed by GitHub
parent 9feb3b638e
commit 9b3f005a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 78 additions and 33 deletions

View File

@ -213,7 +213,7 @@ jobs:
env: env:
TEST_TRANCHE: ${{matrix.tranche}} TEST_TRANCHE: ${{matrix.tranche}}
TEST_TRANCHE_COUNT: 8 TEST_TRANCHE_COUNT: 8
TEST_ALL: ${{github.ref_name == 'release' && '1' || '0'}} TEST_ALL: ${{github.head_ref == 'release' && '1' || '0'}}
with: with:
timeout_minutes: 30 timeout_minutes: 30
retry_wait_seconds: 30 retry_wait_seconds: 30
@ -315,11 +315,11 @@ jobs:
needs: [build-macos, build-windows] needs: [build-macos, build-windows]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 20 timeout-minutes: 20
if: github.ref == 'refs/heads/release' if: github.head_ref == 'release'
env: env:
TEST_TRANCHE: ${{matrix.tranche}} TEST_TRANCHE: ${{matrix.tranche}}
TEST_TRANCHE_COUNT: 4 TEST_TRANCHE_COUNT: 4
TEST_ALL: ${{github.ref_name == 'release' && '1' || '0'}} TEST_ALL: ${{github.head_ref == 'release' && '1' || '0'}}
MISE_DATA_DIR: ~/.local/share/mise MISE_DATA_DIR: ~/.local/share/mise
MISE_CACHE_DIR: ~/.cache/mise MISE_CACHE_DIR: ~/.cache/mise
MISE_DISABLE_TOOLS: | MISE_DISABLE_TOOLS: |

View File

@ -1,5 +1,47 @@
# Changelog # Changelog
## [2024.11.32](https://github.com/jdx/mise/compare/v2024.11.31..v2024.11.32) - 2024-11-27
### 🚀 Features
- allow running tasks without `mise run`, e.g.: `mise test` as shorthand for `mise run test` by [@jdx](https://github.com/jdx) in [#3235](https://github.com/jdx/mise/pull/3235)
- default task directory config by [@jdx](https://github.com/jdx) in [#3238](https://github.com/jdx/mise/pull/3238)
- standalone tasks by [@jdx](https://github.com/jdx) in [#3240](https://github.com/jdx/mise/pull/3240)
- automatic uv venv activation by [@jdx](https://github.com/jdx) in [#3239](https://github.com/jdx/mise/pull/3239)
- migrate more tools away from asdf by [@jdx](https://github.com/jdx) in [#3242](https://github.com/jdx/mise/pull/3242)
- add committed by [@scop](https://github.com/scop) in [#3247](https://github.com/jdx/mise/pull/3247)
- use ubi for figma-export by [@jdx](https://github.com/jdx) in [19dbeac](https://github.com/jdx/mise/commit/19dbeac16a68248bb780a2de1056d16409714204)
- add vacuum by [@scop](https://github.com/scop) in [#3249](https://github.com/jdx/mise/pull/3249)
### 🐛 Bug Fixes
- skip _.source files if not present by [@jdx](https://github.com/jdx) in [#3236](https://github.com/jdx/mise/pull/3236)
- rust idiomatic file parsing by [@jdx](https://github.com/jdx) in [#3241](https://github.com/jdx/mise/pull/3241)
- automatic reinstall of uvx tools during python upgrades by [@jdx](https://github.com/jdx) in [#3243](https://github.com/jdx/mise/pull/3243)
### 🚜 Refactor
- use aqua for shfmt by [@scop](https://github.com/scop) in [#3244](https://github.com/jdx/mise/pull/3244)
- use aqua for lefthook by [@scop](https://github.com/scop) in [#3246](https://github.com/jdx/mise/pull/3246)
- use aqua for nfpm by [@scop](https://github.com/scop) in [#3248](https://github.com/jdx/mise/pull/3248)
### 📚 Documentation
- correction in aqua by [@jdx](https://github.com/jdx) in [b7de2f3](https://github.com/jdx/mise/commit/b7de2f32e6a23458bbd3573372f9c49733b80e62)
- typo by [@jdx](https://github.com/jdx) in [98aa6bd](https://github.com/jdx/mise/commit/98aa6bd7b2631a5904243cbf9aeb2eaf218c9c64)
### 🔍 Other Changes
- bump tabled by [@jdx](https://github.com/jdx) in [#3245](https://github.com/jdx/mise/pull/3245)
- fix tools tests on release branch by [@jdx](https://github.com/jdx) in [675a2b0](https://github.com/jdx/mise/commit/675a2b086116f0afb431189c51136255b6f6c434)
- fix tools tests on release branch by [@jdx](https://github.com/jdx) in [130c3a4](https://github.com/jdx/mise/commit/130c3a4de60edfbed98642bc6dc71e67ba9b6ce1)
- Mention the fish shell's automatic activation in the Quickstart section by [@rmacklin](https://github.com/rmacklin) in [#2295](https://github.com/jdx/mise/pull/2295)
- fix tools tests on release branch by [@jdx](https://github.com/jdx) in [9feb3b6](https://github.com/jdx/mise/commit/9feb3b638ef634d320f576921b3e366f6cd73075)
### New Contributors
- @rmacklin made their first contribution in [#2295](https://github.com/jdx/mise/pull/2295)
## [2024.11.31](https://github.com/jdx/mise/compare/v2024.11.30..v2024.11.31) - 2024-11-27 ## [2024.11.31](https://github.com/jdx/mise/compare/v2024.11.30..v2024.11.31) - 2024-11-27
### 🚀 Features ### 🚀 Features

14
Cargo.lock generated
View File

@ -561,7 +561,7 @@ dependencies = [
"encode_unicode", "encode_unicode",
"lazy_static", "lazy_static",
"libc", "libc",
"unicode-width 0.1.11", "unicode-width 0.1.14",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
@ -2019,7 +2019,7 @@ dependencies = [
"miette-derive", "miette-derive",
"once_cell", "once_cell",
"thiserror 1.0.69", "thiserror 1.0.69",
"unicode-width 0.1.11", "unicode-width 0.1.14",
] ]
[[package]] [[package]]
@ -2077,7 +2077,7 @@ dependencies = [
[[package]] [[package]]
name = "mise" name = "mise"
version = "2024.11.31" version = "2024.11.32"
dependencies = [ dependencies = [
"base64", "base64",
"built", "built",
@ -3926,9 +3926,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
[[package]] [[package]]
name = "tracing" name = "tracing"
version = "0.1.40" version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
dependencies = [ dependencies = [
"pin-project-lite", "pin-project-lite",
"tracing-core", "tracing-core",
@ -4097,9 +4097,9 @@ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]] [[package]]
name = "unicode-width" name = "unicode-width"
version = "0.1.11" version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]] [[package]]
name = "unicode-width" name = "unicode-width"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mise" name = "mise"
version = "2024.11.31" version = "2024.11.32"
edition = "2021" edition = "2021"
description = "The front-end to your dev env" description = "The front-end to your dev env"
authors = ["Jeff Dickey (@jdx)"] authors = ["Jeff Dickey (@jdx)"]

View File

@ -36,7 +36,7 @@ Install mise (other methods [here](https://mise.jdx.dev/getting-started.html)):
```sh-session ```sh-session
$ curl https://mise.run | sh $ curl https://mise.run | sh
$ ~/.local/bin/mise --version $ ~/.local/bin/mise --version
2024.11.31 macos-arm64 (a1b2d3e 2024-11-27) 2024.11.32 macos-arm64 (a1b2d3e 2024-11-27)
``` ```
or install a specific a version: or install a specific a version:

@ -1 +1 @@
Subproject commit 1e39a24455abea5e46b937480f4ccb04c9ed20d5 Subproject commit 001efbfaee1f93befbec74c9afa0d99460608638

View File

@ -27,11 +27,11 @@ _mise() {
zstyle ":completion:${curcontext}:" cache-policy _usage_mise_cache_policy zstyle ":completion:${curcontext}:" cache-policy _usage_mise_cache_policy
fi fi
if ( [[ -z "${_usage_spec_mise_2024_11_31:-}" ]] || _cache_invalid _usage_spec_mise_2024_11_31 ) \ if ( [[ -z "${_usage_spec_mise_2024_11_32:-}" ]] || _cache_invalid _usage_spec_mise_2024_11_32 ) \
&& ! _retrieve_cache _usage_spec_mise_2024_11_31; && ! _retrieve_cache _usage_spec_mise_2024_11_32;
then then
spec="$(mise usage)" spec="$(mise usage)"
_store_cache _usage_spec_mise_2024_11_31 spec _store_cache _usage_spec_mise_2024_11_32 spec
fi fi
_arguments "*: :(($(usage complete-word --shell zsh -s "$spec" -- "${words[@]}" )))" _arguments "*: :(($(usage complete-word --shell zsh -s "$spec" -- "${words[@]}" )))"

View File

@ -6,12 +6,12 @@ _mise() {
return 1 return 1
fi fi
if [[ -z ${_usage_spec_mise_2024_11_31:-} ]]; then if [[ -z ${_usage_spec_mise_2024_11_32:-} ]]; then
_usage_spec_mise_2024_11_31="$(mise usage)" _usage_spec_mise_2024_11_32="$(mise usage)"
fi fi
# shellcheck disable=SC2207 # shellcheck disable=SC2207
COMPREPLY=( $(usage complete-word --shell bash -s "${_usage_spec_mise_2024_11_31}" --cword="$COMP_CWORD" -- "${COMP_WORDS[@]}" ) ) COMPREPLY=( $(usage complete-word --shell bash -s "${_usage_spec_mise_2024_11_32}" --cword="$COMP_CWORD" -- "${COMP_WORDS[@]}" ) )
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
unset COMPREPLY unset COMPREPLY
fi fi

View File

@ -6,7 +6,7 @@ if ! command -v usage &> /dev/null
return 1 return 1
end end
if ! set -q _usage_spec_mise_2024_11_31 if ! set -q _usage_spec_mise_2024_11_32
set -g _usage_spec_mise_2024_11_31 (mise usage | string collect) set -g _usage_spec_mise_2024_11_32 (mise usage | string collect)
end end
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2024_11_31" -- (commandline -cop) (commandline -t))' complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2024_11_32" -- (commandline -cop) (commandline -t))'

View File

@ -2,7 +2,7 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "mise"; pname = "mise";
version = "2024.11.31"; version = "2024.11.32";
src = lib.cleanSource ./.; src = lib.cleanSource ./.;

View File

@ -14,6 +14,8 @@ Here's my favorite features about mise's task runner:
- ability to write tasks as actual bash script files and not inside yml/json/toml strings that lack - ability to write tasks as actual bash script files and not inside yml/json/toml strings that lack
syntax highlighting and linting/checking support syntax highlighting and linting/checking support
There are 2 ways to define tasks: [inside of `mise.toml` files](./toml-tasks.html) or as [standalone shell scripts](./file-tasks.html).
## Task Environment Variables ## Task Environment Variables
- `root` - the root of the project, defaults to the directory of the `mise.toml` file - `root` - the root of the project, defaults to the directory of the `mise.toml` file
@ -46,12 +48,6 @@ task3 = "echo task3"
run = "echo task4" run = "echo task4"
``` ```
## Running tasks
Tasks can be run with `mise run <TASK>` or `mise <TASK>`—if the name doesn't conflict with a mise command.
Because mise may later add a command with a conflicting name, it's recommended to use `mise run <TASK>` in
scripts and documentation.
## Vars ## Vars
Vars are variables that can be shared between tasks like environment variables but they are not Vars are variables that can be shared between tasks like environment variables but they are not

View File

@ -122,3 +122,9 @@ mise watch -t build -- --print-events --verbose
See watchexec's help with `watchexec --help` or `mise watch -- --help` to see See watchexec's help with `watchexec --help` or `mise watch -- --help` to see
all of the options. all of the options.
## `mise run` shorthand
Tasks can be run with `mise run <TASK>` or `mise <TASK>`—if the name doesn't conflict with a mise command.
Because mise may later add a command with a conflicting name, it's recommended to use `mise run <TASK>` in
scripts and documentation.

View File

@ -1,6 +1,6 @@
.ie \n(.g .ds Aq \(aq .ie \n(.g .ds Aq \(aq
.el .ds Aq ' .el .ds Aq '
.TH mise 1 "mise 2024.11.31" .TH mise 1 "mise 2024.11.32"
.SH NAME .SH NAME
mise \- The front\-end to your dev env mise \- The front\-end to your dev env
.SH SYNOPSIS .SH SYNOPSIS
@ -207,6 +207,6 @@ Examples:
$ mise settings Show settings in use $ mise settings Show settings in use
$ mise settings color=0 Disable color by modifying global config file $ mise settings color=0 Disable color by modifying global config file
.SH VERSION .SH VERSION
v2024.11.31 v2024.11.32
.SH AUTHORS .SH AUTHORS
Jeff Dickey <@jdx> Jeff Dickey <@jdx>

View File

@ -1,6 +1,6 @@
Summary: The front-end to your dev env Summary: The front-end to your dev env
Name: mise Name: mise
Version: 2024.11.31 Version: 2024.11.32
Release: 1 Release: 1
URL: https://github.com/jdx/mise/ URL: https://github.com/jdx/mise/
Group: System Group: System

View File

@ -325,7 +325,7 @@ eza.backends = ["asdf:lwiechec/asdf-eza"]
fd.backends = ["ubi:sharkdp/fd", "asdf:https://gitlab.com/wt0f/asdf-fd"] fd.backends = ["ubi:sharkdp/fd", "asdf:https://gitlab.com/wt0f/asdf-fd"]
ffmpeg.backends = ["asdf:acj/asdf-ffmpeg"] ffmpeg.backends = ["asdf:acj/asdf-ffmpeg"]
figma-export.backends = ["ubi:RedMadRobot/figma-export", "asdf:younke/asdf-figma-export"] figma-export.backends = ["ubi:RedMadRobot/figma-export", "asdf:younke/asdf-figma-export"]
figma-export.test = ["figma-export --version", "{{version}}"] # figma-export.test = ["figma-export --version", "{{version}}"] flaky
fillin.backends = ["aqua:itchyny/fillin", "asdf:ouest/asdf-fillin"] fillin.backends = ["aqua:itchyny/fillin", "asdf:ouest/asdf-fillin"]
firebase.backends = ["asdf:jthegedus/asdf-firebase"] firebase.backends = ["asdf:jthegedus/asdf-firebase"]
fission.backends = ["aqua:fission/fission", "asdf:virtualstaticvoid/asdf-fission"] fission.backends = ["aqua:fission/fission", "asdf:virtualstaticvoid/asdf-fission"]

View File

@ -194,6 +194,7 @@ fn with_github_auth(url: &Url, mut req: RequestBuilder) -> RequestBuilder {
if url.host_str() == Some("api.github.com") { if url.host_str() == Some("api.github.com") {
if let Some(token) = &*env::GITHUB_TOKEN { if let Some(token) = &*env::GITHUB_TOKEN {
req = req.header("authorization", format!("token {}", token)); req = req.header("authorization", format!("token {}", token));
req = req.header("x-github-api-version", "2022-11-28");
} }
} }
req req