Skip to content

Commit

Permalink
chore: release 2024.11.32 (#3237)
Browse files Browse the repository at this point in the history
* chore: release 2024.11.32

* chore: release 2024.11.32

* chore: release 2024.11.32
  • Loading branch information
mise-en-dev authored Nov 27, 2024
1 parent 9feb3b6 commit 9b3f005
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
env:
TEST_TRANCHE: ${{matrix.tranche}}
TEST_TRANCHE_COUNT: 8
TEST_ALL: ${{github.ref_name == 'release' && '1' || '0'}}
TEST_ALL: ${{github.head_ref == 'release' && '1' || '0'}}
with:
timeout_minutes: 30
retry_wait_seconds: 30
Expand Down Expand Up @@ -315,11 +315,11 @@ jobs:
needs: [build-macos, build-windows]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
if: github.ref == 'refs/heads/release'
if: github.head_ref == 'release'
env:
TEST_TRANCHE: ${{matrix.tranche}}
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_CACHE_DIR: ~/.cache/mise
MISE_DISABLE_TOOLS: |
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# 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

### 🚀 Features
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mise"
version = "2024.11.31"
version = "2024.11.32"
edition = "2021"
description = "The front-end to your dev env"
authors = ["Jeff Dickey (@jdx)"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2024.11.31 macos-arm64 (a1b2d3e 2024-11-27)
2024.11.32 macos-arm64 (a1b2d3e 2024-11-27)
```

or install a specific a version:
Expand Down
6 changes: 3 additions & 3 deletions completions/_mise
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ _mise() {
zstyle ":completion:${curcontext}:" cache-policy _usage_mise_cache_policy
fi

if ( [[ -z "${_usage_spec_mise_2024_11_31:-}" ]] || _cache_invalid _usage_spec_mise_2024_11_31 ) \
&& ! _retrieve_cache _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_32;
then
spec="$(mise usage)"
_store_cache _usage_spec_mise_2024_11_31 spec
_store_cache _usage_spec_mise_2024_11_32 spec
fi

_arguments "*: :(($(usage complete-word --shell zsh -s "$spec" -- "${words[@]}" )))"
Expand Down
6 changes: 3 additions & 3 deletions completions/mise.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ _mise() {
return 1
fi

if [[ -z ${_usage_spec_mise_2024_11_31:-} ]]; then
_usage_spec_mise_2024_11_31="$(mise usage)"
if [[ -z ${_usage_spec_mise_2024_11_32:-} ]]; then
_usage_spec_mise_2024_11_32="$(mise usage)"
fi

# 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
unset COMPREPLY
fi
Expand Down
6 changes: 3 additions & 3 deletions completions/mise.fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if ! command -v usage &> /dev/null
return 1
end

if ! set -q _usage_spec_mise_2024_11_31
set -g _usage_spec_mise_2024_11_31 (mise usage | string collect)
if ! set -q _usage_spec_mise_2024_11_32
set -g _usage_spec_mise_2024_11_32 (mise usage | string collect)
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))'
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rustPlatform.buildRustPackage {
pname = "mise";
version = "2024.11.31";
version = "2024.11.32";

src = lib.cleanSource ./.;

Expand Down
8 changes: 2 additions & 6 deletions docs/tasks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

- `root` - the root of the project, defaults to the directory of the `mise.toml` file
Expand Down Expand Up @@ -46,12 +48,6 @@ task3 = "echo task3"
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 are variables that can be shared between tasks like environment variables but they are not
Expand Down
6 changes: 6 additions & 0 deletions docs/tasks/running-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,9 @@ mise watch -t build -- --print-events --verbose

See watchexec's help with `watchexec --help` or `mise watch -- --help` to see
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.
4 changes: 2 additions & 2 deletions man/man1/mise.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH mise 1 "mise 2024.11.31"
.TH mise 1 "mise 2024.11.32"
.SH NAME
mise \- The front\-end to your dev env
.SH SYNOPSIS
Expand Down Expand Up @@ -207,6 +207,6 @@ Examples:
$ mise settings Show settings in use
$ mise settings color=0 Disable color by modifying global config file
.SH VERSION
v2024.11.31
v2024.11.32
.SH AUTHORS
Jeff Dickey <@jdx>
2 changes: 1 addition & 1 deletion packaging/rpm/mise.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: The front-end to your dev env
Name: mise
Version: 2024.11.31
Version: 2024.11.32
Release: 1
URL: https://github.com/jdx/mise/
Group: System
Expand Down
2 changes: 1 addition & 1 deletion registry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ eza.backends = ["asdf:lwiechec/asdf-eza"]
fd.backends = ["ubi:sharkdp/fd", "asdf:https://gitlab.com/wt0f/asdf-fd"]
ffmpeg.backends = ["asdf:acj/asdf-ffmpeg"]
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"]
firebase.backends = ["asdf:jthegedus/asdf-firebase"]
fission.backends = ["aqua:fission/fission", "asdf:virtualstaticvoid/asdf-fission"]
Expand Down
1 change: 1 addition & 0 deletions src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ fn with_github_auth(url: &Url, mut req: RequestBuilder) -> RequestBuilder {
if url.host_str() == Some("api.github.com") {
if let Some(token) = &*env::GITHUB_TOKEN {
req = req.header("authorization", format!("token {}", token));
req = req.header("x-github-api-version", "2022-11-28");
}
}
req
Expand Down

0 comments on commit 9b3f005

Please sign in to comment.