stack v2.5.0.1 Release Notes

Release Date: 2020-09-25 // over 3 years ago
  • Changes since v2.3.3

    Major changes:

    • โž• Add the snapshot-location-base yaml configuration option, which allows to
      ๐Ÿ”ง override the default location of snapshot configuration files. This option
      affects how snapshot synonyms (LTS/Nightly) are expanded to URLs by the
      pantry library.
    • ๐Ÿณ docker-network configuration key added to overwrite docker --net arg

    Behavior changes:

    • File watching now takes into account specified targets, old behavior could
      โช be restored using the new flag --watch-all
      #5310

    Other enhancements:

    • stack ls dependencies json now includes fields sha256 and size for
      dependencies of type archive in location.
      #5280
    • ๐Ÿ— Build failures now show a hint to scroll up to the corresponding section
      #5279
    • ๐Ÿ’… Customisable output styles (see stack --help and the --stack-colors
      option, and stack ls stack-colors --help) now include info, debug,
      other-level, secondary and highlight, used with verbose output.

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix stack test --coverage when using Cabal 3
    • stack new now generates PascalCase'd module name correctly.
      #5376
    • ๐Ÿ— Connection issues to Casa server no longer cause builds to failure. Casa acts
      ๐Ÿš‘ only as an optimizing cache layer, not a critical piece of infrastructure.
    • ๐Ÿ›  Fix modified time busting caches by always calculating sha256 digest during
      ๐Ÿ— the build process.
      #5125