Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mvdan mvdan released this 13 Oct 18:04
· 2229 commits to master since this release

Highlights:

  • Optimizations all around, making shfmt ~15% faster
  • cmd/shfmt
    • Add -p flag to only accept POSIX Shell programs (parser.PosixConformant)
  • parser
    • Add support for ambiguous $(( as in $((foo) | bar)
    • Limit more bash features to PosixConformant being false
    • Don't parse heredoc bodies in nested expansions and contexts
    • Run tests through bash to confirm the presence of a parse error
  • ast
    • Add Walk(Visitor, Node) function

Binaries built on go version devel +dc46b88 Thu Oct 13 09:37:17 2016 +0000 linux/amd64.