All Versions
25
Latest Version
Avg Release Cycle
127 days
Latest Release
1232 days ago

Changelog History
Page 2

  • v0.4.3 Changes

    January 13, 2016

    ๐Ÿ›  This is purely a bugfix bump that works on GHC 7.6.3,
    as currently found in Debian stable and Ubuntu LTS.

  • v0.4.2 Changes

    January 09, 2016

    โž• Added

    • ๐Ÿ‘ First class support for the dash shell
    • The --color flag similar to ls/grep's (thanks, haguenau!)
    • SC2174: Warn about unexpected behavior of mkdir -pm (thanks, eatnumber1!)
    • ๐Ÿšฆ SC2172: Warn about non-portable use of signal numbers in trap
    • SC2171: Warn about ]] without leading [[
    • SC2168: Warn about local outside functions

    ๐Ÿ›  Fixed

    • โš  Warnings about unchecked cd will no longer trigger with set -e
    • [ a -nt/-ot/-ef b ] no longer warns about being constant
    • โœ… Quoted test operators like [ foo "<" bar ] now parse
    • ๐Ÿ“œ Escaped quotes in backticks now parse correctly
  • v0.4.1 Changes

    September 05, 2015

    ๐Ÿ›  Fixed

    • โž• Added missing files to Cabal, fixing the build
  • v0.4.0 Changes

    September 05, 2015

    โž• Added

    • ๐Ÿ‘Œ Support for following sourced files
    • ๐Ÿ‘Œ Support for setting default flags in SHELLCHECK_OPTS
    • An --external-sources flag for following arbitrary sourced files
    • A source directive to override the filename to source
    • SC2166: Suggest using [ p ] && [ q ] over [ p -a q ]
    • SC2165: Warn when nested for loops use the same variable name
    • SC2164: Warn when using cd without checking that it succeeds
    • SC2163: Warn about export $var
    • SC2162: Warn when using read without -r
    • SC2157: Warn about [ "$var " ] and similar never-empty string matches

    ๐Ÿ›  Fixed

    • cat -vnE file and similar will no longer flag as UUOC
    • ๐Ÿ“œ Nested trinary operators in (( )) now parse correctly
    • ๐Ÿ“œ Ksh ${ ..; } command expansions now parse
  • v0.3.8 Changes

    June 20, 2015

    ๐Ÿ”„ Changed

    • ShellCheck's license has changed from AGPLv3 to GPLv3.

    โž• Added

    • SC2156: Warn about injecting filenames in find -exec sh -c "{}" \;

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ Variables and command substitutions in brace expansions are now parsed
    • ๐Ÿ ANSI colors are now disabled on Windows
    • ๐Ÿ“œ Empty scripts now parse
  • v0.3.7 Changes

    April 16, 2015

    ๐Ÿ›  Fixed

    • ๐Ÿ— Build now works on GHC 7.10
    • ๐Ÿ‘‰ Use regex-tdfa over regex-compat since the latter crashes on OS X.
  • v0.3.6 Changes

    March 28, 2015

    โž• Added

    • SC2155: Warn about masked return values in export foo=$(exit 1)
    • SC2154: Warn when a lowercase variable is referenced but not assigned
    • SC2152/SC2151: Warn about bad return values like 1234 and "foo"
    • SC2150: Warn about find -exec "shell command" \;

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ coproc is now supported
    • Trinary operator now recognized in ((..))

    โœ‚ Removed

    • ๐Ÿšš Zsh support has been removed
  • v0.3.5 Changes

    November 09, 2014

    โž• Added

    • SC2148: Warn when not including a shebang
    • SC2147: Warn about literal ~ in PATH
    • SC1086: Warn about $ in for loop variables, e.g. for $i in ..
    • SC1084: Warn when the shebang uses !# instead of #!

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ Empty and comment-only backtick expansions now parse
    • Variables used in PS1/PROMPT_COMMAND/trap now count as referenced
    • ShellCheck now skips unreadable files and directories
    • -f gcc on empty files no longer crashes
    • Variables in $".." are now considered quoted
    • โš  Warnings about expansions in single quotes now include backticks
  • v0.3.4 Changes

    July 08, 2014

    โž• Added

    • SC2146: Warn about precedence when combining find -o with actions
    • SC2145: Warn when concatenating arrays and strings

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Case statements now support ;& and ;;&
    • ๐Ÿ“œ Indices in array declarations now parse correctly
    • ๐Ÿ“œ let expressions now parsed as arithmetic expressions
    • Escaping is now respected in here documents

    ๐Ÿ”„ Changed

    • Completely drop Makefile in favor of Cabal (thanks rodrigosetti!)
  • v0.3.3 Changes

    May 29, 2014

    โž• Added

    • SC2144: Warn when using globs in [/[[
    • SC2143: Suggesting using grep -q over [ "$(.. | grep)" ]
    • SC2142: Warn when referencing positional parameters in aliases
    • SC2141: Warn about suspicious IFS assignments like IFS="\n"
    • SC2140: Warn about bad embedded quotes like echo "var="value""
    • SC2130: Warn when using -eq on strings
    • SC2139: Warn about define time expansions in alias definitions
    • ๐ŸŒฒ SC2129: Suggest command grouping over a >> log; b >> log; c >> log
    • SC2128: Warn when expanding arrays without an index
    • SC2126: Suggest grep -c over grep|wc
    • SC2123: Warn about accidentally overriding $PATH, e.g. PATH=/my/dir
    • SC1083: Warn about literal {/} outside of quotes
    • SC1082: Warn about UTF-8 BOMs

    ๐Ÿ›  Fixed

    • SC2051 no longer triggers for {1,$n}, only {1..$n}
    • ๐Ÿ‘Œ Improved detection of single quoted sed variables, e.g. sed '$s///'
    • โš  Stop warning about single quoted variables in PS1 and similar
    • ๐Ÿ‘Œ Support for Zsh short form loops, =(..)

    โœ‚ Removed

    • SC1000 about unescaped lonely $, e.g. grep "^foo$"