PackageTrack
Sign in Get early access

github.com/mvdan/sh

v2.6.4+incompatible #383 most downloaded on Go modules mvdan/sh

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Ships fairly regularly

a new release about every 4 weeks

Some releases are documented

notes for 11 of 24 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

51 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

51 releases · Jun 2016 to Mar 2019
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 51
  1. v2.6.4+incompatible 10 Mar 2019

    Nothing published for this version

  2. v2.6.3+incompatible 19 Jan 2019

    Nothing published for this version

  3. v2.6.2+incompatible 08 Dec 2018

    Nothing published for this version

  4. v2.6.1+incompatible 17 Nov 2018

    Nothing published for this version

  5. v2.6.0+incompatible 10 Nov 2018

    Nothing published for this version

  6. v2.5.1+incompatible 03 Aug 2018

    Nothing published for this version

  7. v2.5.1-0.20180907133431-09fe3e0538c0+incompatible 07 Sep 2018 pre-release

    Nothing published for this version

  8. v2.5.0+incompatible 13 Jul 2018

    Nothing published for this version

  9. v2.4.0+incompatible 16 May 2018

    Nothing published for this version

  10. v2.3.0+incompatible 07 Mar 2018

    Nothing published for this version

  11. v2.2.1+incompatible 25 Jan 2018

    Nothing published for this version

  12. v2.2.0+incompatible 18 Jan 2018

    Nothing published for this version

  13. v2.1.0+incompatible 25 Nov 2017

    Nothing published for this version

  14. v2.0.1-0.20170914203508-693fb96706d3+incompatible 14 Sep 2017 pre-release

    Nothing published for this version

  15. v2.0.0+incompatible 30 Aug 2017

    Nothing published for this version

  16. v1.3.1 26 May 2017
    Release notes
    • syntax
      • Fix parsing of ${foo[$bar]}
      • Fix printer regression where > >(foo) would be turned into >>(foo)
      • Break comment alignment on any line without a comment, fixing formatting issues
      • Error on keywords like fi and done used as commands
    Open source →
  17. v1.3.1-0.20181216173157-8aeb0734cd0f 16 Dec 2018 pre-release

    Nothing published for this version

  18. v1.3.1-0.20180917103936-65d8e2a4b156 17 Sep 2018 pre-release

    Nothing published for this version

  19. v1.3.1-0.20180829163519-3a244a89e2e5 29 Aug 2018 pre-release

    Nothing published for this version

  20. v1.3.1-0.20170805101800-e6f9238b1f62 05 Aug 2017 pre-release

    Nothing published for this version

  21. v1.3.1-0.20170730124705-e5b6ba788962 30 Jul 2017 pre-release

    Nothing published for this version

  22. v1.3.1-0.20170714101613-cbdcf488deae 14 Jul 2017 pre-release

    Nothing published for this version

  23. v1.3.1-0.20170705135418-6773c283e820 05 Jul 2017 pre-release

    Nothing published for this version

  24. v1.3.1-0.20170624185320-7545ea3a7ad3 24 Jun 2017 pre-release

    Nothing published for this version

  25. v1.3.1-0.20170614140001-c79708369f1c 14 Jun 2017 pre-release

    Nothing published for this version

  26. v1.3.1-0.20170526143719-27fa62d749f4 26 May 2017 pre-release

    Nothing published for this version

  27. v1.3.1-0.20170517164415-380eaf2df041 17 May 2017 pre-release

    Nothing published for this version

  28. v1.3.1-0.20170430141130-faf782d3a498 30 Apr 2017 pre-release

    Nothing published for this version

  29. v1.3.0 24 Apr 2017
    Release notes
    • syntax
      • Fix backslashes in backquote command substitutions
      • Disallow some test expressions like [[ a == ! b ]]
      • Disallow some parameter expansions like ${$foo}
      • Disallow some arithmetic expressions like ((1=3)) and (($(echo 1 + 2)))
      • Binary commands like &&, || and pipes are now left-associative
    • fileutil
      • CouldBeScript may now return true on non-regular files such as symlinks
    • interp
      • New experimental package to interpret a syntax.File in pure Go
    Open source →
  30. v1.2.1-0.20170424113108-17e267b541e3 24 Apr 2017 pre-release

    Nothing published for this version

  31. v1.2.0 22 Feb 2017
    Release notes
    • syntax
      • Add support for escaped characters in bash regular expressions
    • fileutil
      • New package with some code moved from cmd/shfmt, now importable
      • New funcs HasShebang and CouldBeScript
      • Require shebangs to end with whitespace to reject #!/bin/shfoo
    Open source →
  32. v1.1.0 05 Jan 2017
    Release notes
    • syntax
      • Parse [[ a = b ]] like [[ a == b ]], deprecating TsAssgn in favour of TsEqual
      • Add support for the -k, -G, -O and -N unary operators inside [[ ]]
      • Add proper support for ! in parameter expansions, like ${!foo}
      • Fix a couple of crashes found via fuzzing
    • cmd/shfmt
      • Rewrite [[ a = b ]] into the saner [[ a == b ]] (see above)
    Open source →
  33. v1.0.0 13 Dec 2016
    Release notes
    • syntax
      • Stable release, API now frozen
      • Parse now reads input in chunks of 1KiB
    • cmd/shfmt
      • Add -version flag
    Open source →
  34. v0.6.0 05 Dec 2016
    Release notes
    • syntax
      • Parse now takes an io.Reader instead of []byte
      • Invalid UTF-8 is now reported as an error
      • Remove backtracking for $(( and ((
      • Walk now takes a func literal to simplify its use
    Open source →
  35. v0.5.0 24 Nov 2016
    Release notes
    • cmd/shfmt
      • Remove -cpuprofile
      • Don't read entire files into memory to check for a shebang
    • syntax
      • Use uint32 for tokens and positions in nodes
      • Use Word and Lit pointers consistently instead of values
      • Ensure Word.Parts is never empty
      • Add support for expressions in array indexing and parameter expansion slicing
    Open source →
  36. v0.4.0 08 Nov 2016
    Release notes
    • Merge parser, ast, token and printer into a single package syntax
    • 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
    • syntax
      • Implement operator precedence for [[ ]]
      • Parse $(foo) and foo as the same (shfmt then converts the latter to the former)
      • Rename Quoted to DblQuoted for clarity
      • Split ((foo)) nodes as their own type, ArithmCmd
      • Add support for bash parameter expansion slicing
    Open source →
  37. v0.3.0 26 Oct 2016
    Release notes
    • Add support for bash's coproc and extended globbing like @(foo)
    • Improve test coverage, adding tests to cmd/shfmt and bringing parser and printer close to 100%
    • Support empty C-style for loops like for ((;;)) ...
    • Support for the >| redirect operand
    • cmd/shfmt
      • Fix issue where .sh and .bash files might not be walked if running on a directory
      • Fix issue where -p was not obeyed when formatting stdin
    • parser
      • $'' now generates an ast.SglQuoted, not an ast.Quoted
      • Support for ambiguous (( like with $((
      • Improve special parameter expansions like $@ or $!
      • Improve bash's export typeset, nameref and readonly
      • <>, >& and <& are valid POSIX
      • Support for bash's ^, ^^, , and ,, operands inside ${}
    Open source →
  38. v0.2.0 13 Oct 2016
    Release notes
    • 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
    Open source →
  39. v0.1.0 19 Sep 2016
    Release notes

    Initial release.

    Open source →
    Release notes

    Initial release.

    Open source →
  40. v0.0.0-20180907133431-09fe3e0538c0 07 Sep 2018 pre-release

    Nothing published for this version

  41. v0.0.0-20170730124705-e5b6ba788962 30 Jul 2017 pre-release

    Nothing published for this version

  42. v0.0.0-20170714101613-cbdcf488deae 14 Jul 2017 pre-release

    Nothing published for this version

  43. v0.0.0-20170705135418-6773c283e820 05 Jul 2017 pre-release

    Nothing published for this version

  44. v0.0.0-20170614140001-c79708369f1c 14 Jun 2017 pre-release

    Nothing published for this version

  45. v0.0.0-20170424113108-17e267b541e3 24 Apr 2017 pre-release

    Nothing published for this version

  46. v0.0.0-20160701153213-10c45c2ce2d8 01 Jul 2016 pre-release

    Nothing published for this version

  47. v0.0.0-20160630215830-ed0a7761fd9e 30 Jun 2016 pre-release

    Nothing published for this version

  48. v0.0.0-20160622122235-f177bc9f2568 22 Jun 2016 pre-release

    Nothing published for this version

  49. v0.0.0-20160620223658-9899121d4c4e 20 Jun 2016 pre-release

    Nothing published for this version

  50. v0.0.0-20160615232723-fc93dd29d2f7 15 Jun 2016 pre-release

    Nothing published for this version

  51. v0.0.0-20160614183351-233b276a55cd 14 Jun 2016 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive