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
theREADME
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
inbazel
versions, via the--all_incompatible_changes
flag.
๐ See #613.
โ Removed
- The
generate_so
attribute ofhaskell_binary
andhaskell_test
๐ has been completely superseded bylinkstatic
in the last release
๐ and became a no-op, so it is removed. - The
main_file
attribute ofhaskell_binary
andhaskell_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.
๐ Usehaskell_import
instead (see docs for usage). - ๐ The
extra_binaries
field is now no longer supported.
๐ Changed
ghc_bindist
now requires atarget
argument. Use
haskell_register_ghc_nixpkgs
to callghc_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
toghc_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.