stack v2.3.0.1 Release Notes

Release Date: 2020-03-31 // about 4 years ago
  • ๐Ÿš€ First release candidate for v2.3

    ๐Ÿ”„ Changes since v2.1.3

    ๐Ÿš€ Release notes:

    Major changes:

    ๐Ÿ”ง setup-info-locations yaml configuration now allows overwriting the default locations of stack-setup-2.yaml.
    #5031
    #2983
    #2913

    ๐Ÿ”ง The setup-info configuration key now allows overwriting parts of the default setup-info

    ๐Ÿ— The --setup-info-yaml command line flag now may be used in all stack commands such as stack build, and not only in stack setup

    The --setup-info-yaml may specify multiple locations for stack-setup.yaml files.

    ๐Ÿ‘‰ The stack upload can read first reads environment Variable $HACKAGE_USERNAME and $HACKAGE_PASSWORD if they are missing only then asks for username or password

    ๐Ÿšš Fully remove GHCJS support.

    โœ‚ Remove the freeze command. It has been replaced by lock files.

    Behavior changes:

    โœ‚ Remove the deprecated --stack-setup-yaml command line argument in favor of --setup-info-yaml
    #2647

    ๐Ÿ”’ We now recommend checking in generated cabal files for repos. When generating lock files for
    ๐Ÿ“ฆ extra-deps that only include package.yaml files, a deprecation warning will be generated.
    ๐Ÿ”’ Also, those packages will no longer be included in the generated lock files.
    ๐Ÿ‘€ See #5210.

    Other enhancements:

    โž• Add build-output-timestamps flag in yaml. Setting it to true
    ๐Ÿ— prefixes each build log output line with a timestamp.

    ๐Ÿ Show warning about local-programs-path with spaces on windows
    ๐Ÿ‘€ when running scripts. See
    #5013

    โž• Add ls dependencies json which will print dependencies as JSON.
    ๐Ÿ‘€ ls dependencies --tree is now ls dependencies tree. See
    #4424

    โœ‚ Remove warning for using Stack with GHC 8.8 and Cabal 3.0.

    ๐Ÿ‘ Allow relative paths in --setup-info-yaml and tool paths
    #3394

    ๐Ÿ› Bug fixes:

    โฌ†๏ธ Upgrade pantry: module mapping insertions into the database are now atomic.
    Previously, if you SIGTERMed at the wrong time while running a script, you
    could end up with an inconsistent database state.

    --resolver global doesn't retrieve snapshots list from the internet
    ๐Ÿ‘€ beause doesn't need it. See #5103

    ๐Ÿ›  Fix using relative links in haddocks output. See
    #4971.

    ๐Ÿ”’ Do not include generated cabal file information in lock files. See
    #5045.

    ๐Ÿ‘€ Use proper Hoogle executable path when installed automatically. See
    #4905

    ๐Ÿ›  Fix GHC version for batched package unregistration. See
    #4951

    ๐Ÿ‘€ Use Hoogle from the snapshot used and not the latest version. See
    #4905

    ๐Ÿ‘€ Resolve "'stty' is not recognized". See
    #4901

    ๐Ÿ›  Fix missing reconfigure check causing errors when a package gets
    ๐Ÿ‘€ used in multiple projects. See
    #5147