bazel-coverage-report-renderer v0.8 Release Notes

Release Date: 2019-01-28 // over 5 years ago
  • [0.8] - 2019-01-28

    • ๐Ÿ‘ The minimum supported Bazel version is now v0.21.

    โž• Added

    • haskell_register_toolchains, haskell_register_ghc_bindists and
      haskell_register_ghc_nixpkgs to register multiple toolchains for
      multiple platforms at once. Toolchains from binary distributions can
      now coexist with toolchains from Nixpkgs, even on the same platform.
      ๐Ÿ‘€ On nixpkgs you need to provide a toolchain. See
      the README for instructions.
      ๐Ÿ‘€ See #597
      and #610.
    • Instructions on how to reference a local checkout of rules_haskell.
    • rules_haskell is forward-compatible with the next breaking changes
      in bazel versions, via the --all_incompatible_changes flag.
      ๐Ÿ‘€ See #613.

    โœ‚ Removed

    • The generate_so attribute of haskell_binary and haskell_test
      ๐Ÿš€ has been completely superseded by linkstatic in the last release
      ๐Ÿšš and became a no-op, so it is removed.
    • The main_file attribute of haskell_binary and haskell_test
      ๐Ÿšš had been deprecated because it was a no-op, so it is removed.
    • The prebuilt_dependencies attribute of all haskell rules
      ๐Ÿšš had been deprecated two versions ago and is removed.
      ๐Ÿ‘€ Use haskell_import instead (see docs for usage).
    • ๐Ÿ‘ The extra_binaries field is now no longer supported.

    ๐Ÿ”„ Changed

    • ghc_bindist now requires a target argument. Use
      haskell_register_ghc_nixpkgs to call ghc_bindist once per known
      target.
      ๐Ÿ‘€ See #610.
    • ghc_bindist now registers itself as a toolchain. We no longer
      require a separate toolchain definition and registration in addition
      to ghc_bindist.
      ๐Ÿ‘€ See #610.
    • ๐Ÿ‘ c2hs support is now provided in a separate toolchain called
      c2hs_toolchain, rather than an optional extra to the
      haskell_toolchain.
      ๐Ÿ‘€ See #590.
    • ๐Ÿ“‡ Rename bindist arch names so they are the same as in
      rules_go/nodejs.

    ๐Ÿ›  Fixed

    • Prevent duplicate installs of bazel_skylib
      ๐Ÿ‘€ See #536.
    • โœ… Test suite now executes all binaries, various runtime errors were
      uncovered.
      ๐Ÿ‘€ See #551.
    • Repl targets that have indirect cc_library dependencies.
      ๐Ÿ‘€ See #576.
    • linkstatic for haskell binaries that have an indirect dependency
      ๐Ÿ“ฆ on a prebuilt haskell package.
      ๐Ÿ‘€ See #569.
    • โ€ฆ and an indirect dependency on a C library.
      ๐Ÿ‘€ See #567.
    • Prefer linking agains static C libraries with linkstatic.
      ๐Ÿ‘€ See #587.
    • Haddock flags take precedence over GHC compiler flags.
      ๐Ÿ‘€ See #572.
    • 0๏ธโƒฃ User-defined GHC flags now override default flags.
      ๐Ÿ‘€ See #607.
    • Dynamic transitive C(++) libraries work.
      ๐Ÿ‘€ See #627.