Skip to content

Release 0.12

Compare
Choose a tag to compare
@smelc smelc released this 16 Mar 14:10

[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_repl now has a hie_bios output 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, and stack_snapshot now have a verbose argument, to allow suppressing their output.
    See #1208.
  • haskell_cabal_library and stack_snapshot now build the Haddock documentation if the parameter haddock is set to True (the default).
    See #1102 and #1200.
  • Added support for GHC bindist versions 8.8.3, 8.8.2, and 8.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

  • hazel has been deleted, please use stack_snapshot instead.
    See #1158.

Changed

  • The haskell_register_toolchains() is no longer defined in haskell/repositories.bzl, load it from haskell/toolchain.bzl instead.
  • cabal wrapper: specify python3 as a requirement, to enhance error messages on macOS and reduce cache invalidations.
    See #1251, #1097, and #1096.
  • ghc_bindist and haskell_register_ghc_bindists now have
    a locale argument. Set it to circumvent issues on systems without
    the default C.UTF-8 locale.
    See #1249.
  • macOS: BAZEL_USE_CPP_ONLY_TOOLCHAIN = 1 must 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 update is now avoided, by calling stack update only once.
    See #1199 and #1090.

Fixed

  • haskell_cabal_library and haskell_library now set relative RUNPATH entries.
    See #1267
  • Fixed that GHC bindist could contain absolute RUNPATH to rts.
    See #1131.
  • Documentations of rules haskelly_library, haskell_binary, and haskell_test now show the documentation of attributes.
    See #1122.