Skip to content

fix(deps): update module mvdan.cc/sh/v3 to v3.13.1 in go.mod#683

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mvdan.cc-sh-v3-3.x
Open

fix(deps): update module mvdan.cc/sh/v3 to v3.13.1 in go.mod#683
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mvdan.cc-sh-v3-3.x

Conversation

@renovate

@renovate renovate Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mvdan.cc/sh/v3 v3.12.0v3.13.1 age confidence

Release Notes

mvdan/sh (mvdan.cc/sh/v3)

v3.13.1

Compare Source

  • cmd/shfmt
    • Add support for [[zsh]] in EditorConfig files
    • Detect the shell variant from filenames like .zshrc and .bash_profile
    • Fix --apply-ignore when used with explicit args - #​1310
  • syntax
    • Revert an accidental change to how array subscripts are formatted - #​1314
    • Never join ;; with the previous line when formatting - #​1289
    • Fix a bug where $1[foo] was parsed as a subscript in Zsh - #​1288
    • Correctly parse $! in double quotes in Zsh - #​1298
    • Allow indexing into special parameters in Zsh - #​1299
    • Allow parameter expansions with empty names in Zsh - #​1280
  • interp
    • Test against Bash 5.3 and fix three new discrepancies
    • Fix a few bugs related to nameref variables
    • Avoid panics when user input encounters unimplemented features

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"

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Every minute (* */1 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Apr 7, 2026
@renovate
renovate Bot enabled auto-merge (squash) April 7, 2026 04:44
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 14 times, most recently from e4dec92 to 4c3150e Compare April 14, 2026 17:48
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 5 times, most recently from de07c71 to 86b0d46 Compare April 22, 2026 21:49
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 9 times, most recently from 90c87aa to 25b76b4 Compare May 1, 2026 00:52
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 4 times, most recently from 28b0e8a to 2c7cfa5 Compare May 17, 2026 08:30
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 5 times, most recently from a8a1e48 to f74fe1a Compare May 25, 2026 20:35
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 11 times, most recently from b4680d9 to 779f302 Compare June 3, 2026 02:09
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 7 times, most recently from d55ea04 to 332dc84 Compare June 12, 2026 23:11
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch 2 times, most recently from 7026886 to cca7fa6 Compare June 15, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants