Skip to content

Draft: deps: update module mvdan.cc/sh/v3 to v3.10.0

Renovate requested to merge renovate/mvdan.cc-sh-v3-3.x into master

This MR contains the following updates:

Package Type Update Change
mvdan.cc/sh/v3 require minor v3.8.0 -> v3.10.0

Release Notes

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

v3.10.0

Compare Source

  • cmd/shfmt
    • Report the correct language variant in parser error messages - #​1102
    • Move --filename out of the parser options category - #​1079
  • syntax
    • Parse all CRLF line endings as LF, including inside heredocs - #​1088
    • Count skipped backslashes inside backticks in position column numbers - #​1098
    • Count skipped null bytes in position column numbers for consistency
  • interp
    • Fix a regression in v3.9.0 which broke redirecting files to stdin - #​1099
    • Fix a regression in v3.9.0 where HandlerContext.Stdin was never nil
    • Add an Interactive option to be used by interactive shells - #​1100
    • Support closing stdin, stdout, and stderr via redirections like <&-

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

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

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v3.10.0"

v3.9.0

Compare Source

This release drops support for Go 1.21 and includes many fixes.

  • cmd/shfmt
    • Switch the diff implementation to remove one dependency
  • syntax
    • Protect against overflows in position offset integers
  • interp
    • Use os.Pipe for stdin to prevent draining by subprocesses - #​1085
    • Support cancelling reads in builtins when stdin is a file - #​1066
    • Support the nocaseglob bash option - #​1073
    • Support the Bash 5.2 @k parameter expansion operator
    • Support the test -O and test -G operators on non-Windows - #​1080
    • Support the read -s builtin flag - #​1063
  • expand
    • Add support for case insensitive globbing - #​1073
    • Don't panic when pattern words are nil - #​1076

A special thanks to @​theclapp for their contributors to this release!

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

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

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v3.9.0"

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

 

Merge request reports

Loading