Release 0.12
[0.12.0] - 2020-03-16
Highlights
-
Various improvements to Windows support.
-
Support for Bazel 2.0.0
-
Minimum supported Bazel version is now 0.29, but GHC bindist is known to fail on macOS with Bazel 0.29. Please use a more recent version for macOS.
Added
haskell_replnow has ahie_biosoutput group
See #1263- Added support for hrepl (a standalone binary that runs REPLS for Bazel Haskell targets).
See #1210. haskell_cabal_library,haskell_cabal_binary, andstack_snapshotnow have averboseargument, to allow suppressing their output.
See #1208.haskell_cabal_libraryandstack_snapshotnow build the Haddock documentation if the parameterhaddockis set toTrue(the default).
See #1102 and #1200.- Added support for GHC bindist versions
8.8.3,8.8.2, and8.8.1. - Windows: support for
cabal
See #1133. - rules_haskell now depends on rules_sh, a toolchain for common shell commands.
See #1117,
#1143, and #1136 for motivation.
See #1096 for the issue that triggered this train of thought.
Removed
hazelhas been deleted, please usestack_snapshotinstead.
See #1158.
Changed
- The
haskell_register_toolchains()is no longer defined inhaskell/repositories.bzl, load it fromhaskell/toolchain.bzlinstead. cabalwrapper: specifypython3as a requirement, to enhance error messages on macOS and reduce cache invalidations.
See #1251, #1097, and #1096.ghc_bindistandhaskell_register_ghc_bindistsnow have
alocaleargument. Set it to circumvent issues on systems without
the defaultC.UTF-8locale.
See #1249.- macOS:
BAZEL_USE_CPP_ONLY_TOOLCHAIN = 1must be set for Bazel to pick the correct C compiler.
See #1159. stack_snapshot: warning of stackage dependencies are not shown anymore, as they are irrelevant.
See #1146 and #1026.- Sorted the content of generated manifest files, hereby avoid some spurious rebuilds (more builds caching).
See #1128 and
#1126. - Windows: possible race condition on
stack updateis now avoided, by callingstack updateonly once.
See #1199 and #1090.