Skip to content

Update module mvdan.cc/sh/v3 to v3.14.1 - #185

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

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

Conversation

@renovate

@renovate renovate Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mvdan.cc/sh/v3 v3.13.1 β†’ v3.14.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v3.14.1

Compare Source

  • syntax
    • Fix the indentation of heredocs nested inside command substitutions - #​1403
    • Keep literal tabs in <<- heredoc bodies rather than replacing them with spaces
    • Don't indent heredocs without dashes nested in <<- ones, whose output no longer parsed
    • Zsh: don't drop the prefix in short forms like $#"$foo" and $+"$foo" - #​1405
  • interp
    • Fix the build on 32-bit FreeBSD and NetBSD
  • expand
    • Don't let escaped characters such as \* act as glob metacharacters
  • pattern
    • Treat unclosed extended operator groups like @(a as literals, avoiding a panic

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

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

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

v3.14.0

Compare Source

This release drops support for Go 1.25 and includes many enhancements, particularly in the interpreter, which implements more shell features and fixes many divergences from Bash.

  • cmd/shfmt
    • Add --detect to find shell files by executable bit or shebang - #​944
  • syntax
    • Add Preorder, an iterator over all nodes, complementing Walk
    • Add encoding.TextUnmarshaler implementations for each operator type
    • Support ${ foo;} and ${|foo;} inside double quotes - #​1368
    • Support array elements in {varname} redirects, like exec {fds[3]}>&- - #​719
    • Backslashes inside backquotes within double quotes escape double quotes - #​1083
    • Allow pound signs in associative array keys like ${args[cmd,#]} - #​1285
    • Don't treat # as the start of a comment inside [[ ]] tests - #​1326
    • Don't join then or do with a semicolon when heredocs are pending - #​1047
    • Print a space after ! in arithmetic expressions, avoiding history expansion - #​987
    • Space nested closing parentheses like the opening ones - #​876
    • Make SplitBraces reject malformed sequences and skip backslash escapes - #​1330
    • Zsh: support the ${=name}, ${~name}, and ${^name} prefixes - #​1238
    • Zsh: support the ;| case terminator and leading parentheses for globs - #​1293, #​1279
    • Zsh: parse subscript flag arguments as patterns, and allow [ globs in arrays - #​1278, #​1322
  • syntax/typedjson
    • Encode operators as their syntax form, such as ">>", rather than integers - #​1321
    • Return errors rather than panicking on malformed input
  • interp
    • Add BashOpts to set Bash options like shopt - #​962
    • Add AccessHandler to control file access checks, used by -r and cd - #​1318
    • Add HandlerContext.LastExitStatus, and provide a HandlerContext to stat handlers
    • Implement the help and times builtins, as well as $- - #​1398
    • Implement the ;& and ;;& case terminators - #​1391
    • Implement the -N test operator, and make -nt and -ot follow POSIX - #​1340
    • Support sparse indexed arrays such as a=([5]=x) - #​1373
    • Run files as shell scripts when exec fails with ENOEXEC - #​1065
    • Support empty here-documents, and don't expand quoted ones - #​1390
    • Support js/wasm, where subprocesses and pipes are unavailable
    • Keep the redirections applied by exec with no arguments
    • Only fire the exit trap when the shell exits, rather than after every Run
  • expand
    • Add BracesSeq with a config and error reporting, deprecating Braces
    • Add Variable.Indexes to describe sparse indexed arrays
    • Support integer bases in arithmetic - #​339
    • Short-circuit the arithmetic && and || operators - #​1371
    • Apply per-element operators to quoted array expansions like "${a[@]%o}" - #​1081
    • Make unquoted ${!arr[@]} consistent with the quoted form - #​672
    • Fix many divergences from Bash in arithmetic, string, and brace expansions
    • Reject unsupported Zsh syntax rather than panicking - #​1363
  • pattern
    • Treat an unmatched [ as a literal character, like Bash - #​1372
    • Fix panics and mismatches in bracket expressions, such as [![:space:]]
  • fileutil
    • Recognize dash shebangs as POSIX shell for -ln=auto - #​1307

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

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

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

Configuration

πŸ“… Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» 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 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.26 -> 1.26.0
golang.org/x/sys v0.46.0 -> v0.47.0
golang.org/x/term v0.44.0 -> v0.45.0

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 28, 2026
@renovate renovate Bot changed the title Update module mvdan.cc/sh/v3 to v3.14.0 Update module mvdan.cc/sh/v3 to v3.14.1 Sep 6, 2026
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-sh-v3-3.x branch from 0544796 to 61140e9 Compare September 6, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants