Skip to content

chore(deps): update mvdan/sh to v3.13.0#66

Merged
scop merged 6 commits intomainfrom
renovate/mvdan-sh-3.x
Mar 23, 2026
Merged

chore(deps): update mvdan/sh to v3.13.0#66
scop merged 6 commits intomainfrom
renovate/mvdan-sh-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Update Change
mvdan/sh minor v3.12.0v3.13.0

Release Notes

mvdan/sh (mvdan/sh)

v3.13.0

Compare Source

This release introduces support for Zsh in the parser and formatter, which was tracked in issue #​120 alongside the label https://github.com/mvdan/sh/labels/zsh. While support is not complete, it should be far enough for many use cases.

This release also drops support for Go 1.24 and includes many other enhancements:

  • cmd/shfmt
    • Exit with a non-zero status when -l prints any filenames
    • shfmt -version is now derived from the git current tag, dropping the -ldflags workaround
  • syntax
    • New nodes types and node fields are introduced alongside LangZsh
    • LangVariant is now a bitset, allowing the use of sets like "Bash-like"
    • Add InteractiveSeq and StmtsSeq iterator methods for Parser
    • Stop exposing the internal buffer in Printer via struct embedding
    • Support the use of brace expansions like declare {a,b}_c=value
    • Fix a bug where POSIX and Bash incorrectly allowed empty command lists
  • interp
    • Add support for shopt -s dotglob and shopt -s extglob
    • Add support for simple uses of !(expr) extended glob patterns
    • Support more builtin flags for declare, type, read
    • Fix various bugs relating to nulls, errors, and arrays
  • expand
    • Add Config.DotGlob and Config.ExtGlob for the interpreter
    • Add Variable.Flags to get the one-character declare flags
    • Do not force env vars on Windows to be uppercase
    • Fix various bugs relating to glob pattern matching
  • pattern
    • Add GlobLeadingDot and ExtendedOperators for the interpreter
    • Add NegExtGlobError to mark the use of !(expr) negation patterns

Consider becoming a sponsor if you benefit from the work that went into this release!

Binaries built on go version go1.26.1 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s"

Note that this release no longer includes a sha256sums.txt asset; GitHub now provide digests natively.


  • If you want to rebase/retry this PR, check this box

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 23, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@scop scop force-pushed the renovate/mvdan-sh-3.x branch from d1fe76f to cc5eb22 Compare March 23, 2026 19:49
@scop scop force-pushed the renovate/mvdan-sh-3.x branch from cc5eb22 to c399536 Compare March 23, 2026 19:54
@scop scop enabled auto-merge March 23, 2026 19:55
@scop scop merged commit e26a818 into main Mar 23, 2026
5 checks passed
@scop scop deleted the renovate/mvdan-sh-3.x branch March 23, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant