-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: release 2026.4.25 #9422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release 2026.4.25 #9422
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ _mise() { | |
|
|
||
| local cur prev words cword was_split comp_args | ||
| _comp_initialize -n : -- "$@" || return | ||
| local spec_file="${TMPDIR:-/tmp}/usage__usage_spec_mise_2026_4_24.spec" | ||
| local spec_file="${TMPDIR:-/tmp}/usage__usage_spec_mise_2026_4_25.spec" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using a fixed filename in a shared temporary directory like /tmp can lead to permission conflicts or security risks in multi-user environments. Including the effective user ID ($EUID) in the filename ensures that each user has their own spec file and prevents potential access issues. |
||
| if [[ ! -f "$spec_file" ]]; then | ||
| mise usage >| "$spec_file" | ||
| fi | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ if ! type -p usage &> /dev/null | |
| return 1 | ||
| end | ||
| set -l tmpdir (if set -q TMPDIR; echo $TMPDIR; else; echo /tmp; end) | ||
| set -l spec_file "$tmpdir/usage__usage_spec_mise_2026_4_24.spec" | ||
| set -l spec_file "$tmpdir/usage__usage_spec_mise_2026_4_25.spec" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using a fixed filename in a shared temporary directory like /tmp can lead to permission conflicts or security risks in multi-user environments. Including the user ID (via id -u) in the filename ensures that each user has their own spec file. |
||
| if not test -f "$spec_file" | ||
| mise usage | string collect > "$spec_file" | ||
| end | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ Register-ArgumentCompleter -Native -CommandName 'mise' -ScriptBlock { | |
| param($wordToComplete, $commandAst, $cursorPosition) | ||
|
|
||
| $tmpDir = if ($env:TEMP) { $env:TEMP } else { [System.IO.Path]::GetTempPath() } | ||
| $specFile = Join-Path $tmpDir "usage__usage_spec_mise_2026_4_24.kdl" | ||
| $specFile = Join-Path $tmpDir "usage__usage_spec_mise_2026_4_25.kdl" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using a fixed filename in a shared temporary directory can lead to permission conflicts in multi-user environments. Additionally, the .kdl extension is inconsistent with the .spec extension used in the Bash, Zsh, and Fish completion scripts. Consider including the username in the filename and using the .spec extension for consistency. |
||
|
|
||
| if (-not (Test-Path $specFile)) { | ||
| mise usage | Out-File -FilePath $specFile -Encoding utf8 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| export default { | ||
| load() { | ||
| return { | ||
| stars: "27.2k", | ||
| stars: "27.3k", | ||
| }; | ||
| }, | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a fixed filename in a shared temporary directory like /tmp can lead to permission conflicts or security risks in multi-user environments. If one user creates the file, others may encounter "permission denied" errors. Including the effective user ID ($EUID) in the filename ensures that each user has their own spec file.