Update dependency shfmt to v3.12.0 #1107
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
mvdan/sh (shfmt)
v3.12.0Compare Source
mvdan-shJS package is discontinued in favor ofsh-syntax- #1145--writeto replace non-regular files - #843IsBuiltinto check if a command name is a shell built-in - #1164HandlerContext.Builtinto allowExecHandlerFuncto call built-ins$!andwait PID- #221ExecHandlerFuncerrors via theRunner.RunAPIHandlerContext.Posto provide handlers with source positionsNewExitStatusandIsExitStatusin favor ofExitStatuswaitto always return the status of the last given job$RANDOMand$SRANDOM$BASH_REMATCHwhen matching regular expressions via=~Bracesmode; usesyntax.SplitBracesinstead**to only act as "globstar" when alone as a path element - #1149*and**to not match leading dots in basenamesNoGlobStarmode to match the POSIX semanticsv3.11.0Compare Source
This release drops support for Go 1.22 and includes many enhancements.
-l=0and-f=0to split filenames with null bytes - #1096Parser.WordsSeqParser.IncompleteandIsIncompleteto work well withParser.Words- #937RecoverErrorsLangErrorto include which language was used when parsingtestread/write/exec operators to work correctly on directories - #1116cancelreaderdependency withos.File.SetReadDeadlineOpenHandlerwhen opening named pipes for process substitutions - #1120TMPDIRif set viaEnvto create temporary files such as named pipesFieldsSeqUnsetkind with a newVariable.Setboolean fieldConsider becoming a sponsor if you benefit from the work that went into this release!
v3.10.0Compare Source
--filenameout of the parser options category - #1079v3.9.0which broke redirecting files to stdin - #1099v3.9.0whereHandlerContext.Stdinwas never nilInteractiveoption to be used by interactive shells - #1100<&-Consider becoming a sponsor if you benefit from the work that went into this release!
v3.9.0Compare Source
This release drops support for Go 1.21 and includes many fixes.
os.Pipefor stdin to prevent draining by subprocesses - #1085nocaseglobbash option - #1073@kparameter expansion operatortest -Oandtest -Goperators on non-Windows - #1080read -sbuiltin flag - #1063A 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!
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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.
This PR was generated by Mend Renovate. View the repository job log.