Release 0.6
[0.6] - 2018-07-21
Added
-
Protocol buffers integration using
proto-lens
. See
#239. -
strip_include_prefix
attribute to thehaskell_cc_import
rule. See
#241. -
Support for
c2hs
files. See
#351. -
The
extra_srcs
attribute that allows to list non-Haskell source files
that should be visible during compilation and linking (usually useful with
TH). See #292. -
The
extra_binaries
attribute to thehaskell_toolchain
rule. See
#282. -
A Haskell library for looking up runfiles. See
#302. -
A separate toolchain for
doctest
—haskell_doctest_toolchain
. See
#310. -
The
compiler_flags
attribute to thehaskell_toolchain
rule allowing to
specify default compiler flags. See
#315. -
The ability to set locale to be used during compilation by adding the
locale
andlocale_archive
attributes tohaskell_toolchain
. See
#328. -
Proper support for profiling. See
#332. -
The
repl_ghci_args
attribute to thehaskell_toolchain
rule. See
#334. -
The
haskell_import
rule allowing us to make specifying dependencies more
uniform and to deprecate theprebuilt_dependencies
attribute. See
#337.
Fixed
-
Template Haskell linking against
cc_library
. See
#218. -
Linking issues on MacOS. See
#221. -
GHC packages that correspond to targets with the same name but in
different Bazel packages no longer clash. See
#219. -
Build breakage on MacOS when XCode is not installed. See
#223. -
Bug preventing Haddock generation because of missing dynamic shared
libraries when targets have TH in them. See
#226. -
Hyperlinks between targets contained in different Bazel packages
(Haddocks). See #231. -
Generated source files do not cause issues now. See
#211. -
data
attributes now allow files in them. See
#236. -
Bug when headers and hsc2hs-produced files were not visible to Haddock.
See #254. -
Bug preventing using genrule-produced headers via
haskell_cc_import
. See
#268. -
Bug that allowed us avoid specifying certain
prebuilt_dependencies
if
they were already specified for transitive dependencies. See
#286. -
Bug that was making modules generated from
.hsc
and.chs
files and
generated modules in general not available in the REPLs. See
#323.
Changed
-
Added
-Wnoncanonical-monad-instances
to default warnings in
haskell_lint
. -
How REPLs work. Now there is an optional output per binary/library. Its
name is the name of target with-repl
added. Users can then build and
run such a REPL for any defined target. See
#220 and
#225. -
The
haskell_doc
rule now produces self-contained documentation bundle
with unified index. See
#249. -
haskell_lint
now only lints direct dependencies. See
#293. -
haskell_doctest
has been re-designed. It's now a normal rule that works
only on direct dependencies and allows to specify modules which should be
tested, pass custom flags todoctest
executable. See
#342. -
The
prebuilt_dependencies
attribute ofhaskell_binary
and
haskell_library
has been deprecated. See
#355.