chore(deps): update dependency shfmt to v3.10.0 #272
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.10.0
Compare Source
--filename
out of the parser options category - #1079v3.9.0
which broke redirecting files to stdin - #1099v3.9.0
whereHandlerContext.Stdin
was never nilInteractive
option to be used by interactive shells - #1100<&-
Consider becoming a sponsor if you benefit from the work that went into this release!
v3.9.0
Compare Source
This release drops support for Go 1.21 and includes many fixes.
os.Pipe
for stdin to prevent draining by subprocesses - #1085nocaseglob
bash option - #1073@k
parameter expansion operatortest -O
andtest -G
operators on non-Windows - #1080read -s
builtin 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!
v3.8.0
Compare Source
This release drops support for Go 1.19 and 1.20 and includes many
features and bugfixes, such as improving EditorConfig support in
shfmt
.[[shell]]
- #664--apply-ignore
for tools and editors - #1037function
in POSIX mode - #993unix.Access
- #1033FuncEnviron
asEnv
- #1043fs.DirEntry
viaReadDirHandler2
fs.DirEntry
viaReadDir2
v3.7.0
Compare Source
$foo#bar
as a single word - #1003&>
redirect operators an error in POSIX mode - #991${foo:-}
into${foo-}
- #970ExecHandlers
to support layering multiple middlewares - #964select
clause - #969errexit
andpipefail
options - #870EUID
just likeUID
- #958js/wasm
- #983reflect.Value.MethodByName
to reduce binary sizes - #961v3.6.0
Compare Source
This release drops support for Go 1.17 and includes many features and fixes.
--from-json
as the reverse of--to-json
- [#900]--to-json
output - [#900]-ln=auto
- [#803]echo *
- [#835]${name:-}
to the equivalent${name-}
- [#849]<<<
is used in POSIX mode - [#881]${!foo*}
and${!foo@}
in mksh mode - [#929]--from-json
and--to-json
as Go APIs - [#885]mapfile
andreadarray
- [#863]%b
in theprintf
builtin - [#955]shopt
- [#877]EntireString
to match the entire string using^$
- [#866]v3.5.1
Compare Source
[[
- [#861]nullglob
- [#862]Regexp
now returns the typed errorSyntaxError
- [#862]v3.5.0
Compare Source
This release drops support for Go 1.16 and includes many new features.
-ln=auto
by default to detect the shell language--indent
for-i
@() { ... }
NewPos
to createPos
values externallyMinify
no longer omits a leading shebang commentShebang
to extract the shell language from a#!
line**
globbing for correctnessos.Stat
as the last direct use of the filesystemCallHandler
to intercept all interpretedCallExpr
nodesReadDirHandler
to intercept glob expansion filesystem readsStatHandler
to interceptos.Stat
andos.Lstat
callsset -x
cd -
ascd "$OLDPWD"
set - args
v3.4.3
Compare Source
v3
tag to track the latest stable versiontest
builtin%w
to wrap errors inDir
v3.4.2
Compare Source
PATH
list separators OS-specific to fix a recent regressiontime
builtinv3.4.1
Compare Source
Quote
ListEnviron
to avoid common prefix issuesexport
used in functions now affects the global scope$PATH
insource
v3.4.0
Compare Source
This release drops support for Go 1.15,
which allows the code to start benefitting from
io/fs
.filepath.WalkDir
Quote
to mirrorstrconv.Quote
for shell syntaxCouldBeScript2
usingio/fs.DirEntry
GID
just likeUID
read -p
pwd
flags$(<file)
v3.3.1
Compare Source
&
in a separate line into;
BinaryNextLine
edge case idempotency bugRunner.Reset
beforeRunner.Run
set -e
for failed redirectionsv3.3.0
Compare Source
FORCE_COLOR
env var to always use colors in diffsSingleLine
option to avoid printing newlines&&
and||
no longer escape newlinesset -o nounset
support to fix many edge casesLookPath
in favor ofLookPathDir
trap
with error and exit signalsshopt -s nullglob
type -p
v3.2.4
Compare Source
v3.2.2
Compare Source
v3.2.1
Compare Source
~
in Bash test expressionsConfiguration
📅 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 becomes conflicted, 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.