sh v0.4.0 Release Notes
Release Date: 2016-11-08 // over 7 years ago-
Highlights:
- ๐ฆ Merge
parser
,ast
,token
andprinter
into a single packagesyntax
- ๐ Use separate operator types in nodes rather than
Token
- ๐ Use operator value names that express their function
- Keep
;
if on a separate line when formatting - cmd/shfmt
- Allow whitespace after
#!
in a shebang
- Allow whitespace after
- syntax
- Implement operator precedence for
[[ ]]
- Parse
$(foo)
andfoo
as the same (shfmt
then converts the latter to the former) - Rename
Quoted
toDblQuoted
for clarity - Split
((foo))
nodes as their own type,ArithmCmd
- Add support for bash parameter expansion slicing
- Implement operator precedence for
- ๐ฆ Merge