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:
3.3.0
->3.8.0
Release Notes
mvdan/sh (shfmt)
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 redirectionsConfiguration
📅 Schedule: 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 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.