All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- This CHANGELOG file to track changes to the command line and library APIs.
- Support for custom GHC version,
ghcWithPackages
andpkgs
. - Support for more than one directory in
src
(and HPack'ssource-dirs
). - Allow empty
source-dirs
inpackage.yaml
; defaults to./.
- The
snack run
function to accept arguments that will be passed to the built executable. - The
snack.nix
now describes the build environment and packages are described throughpackage.nix
(i.e. to migrate: renamesnack.nix
topackage.nix
). - The same flag (
-p
) is used for specifying both a YAML or Nix file. When none is provided snack tries to use either./package.yaml
or./package.nix
. - The flag
-s
is used to specify asnack.nix
. By default./snack.nix
is used. - The
--cores
was replaced with--jobs
- The default GHC version is now 8.4.4.
- The default GHC version is now 8.6.4.
- The module import parsing when the CPP extension is enabled.
- The module import parsing when a BOM is present.
- The matching on Haskell files. Any file in any subdirectory ending in
.hs
will be matched, both lower- and uppercase filenames are accepted.