@@ -4,6 +4,115 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/ ) .
66
7+ ## [ 0.6] - 2018-07-21
8+
9+ ### Added
10+
11+ * Protocol buffers integration using ` proto-lens ` . See
12+ [ #239 ] ( https://github.com/tweag/rules_haskell/pull/239 ) .
13+
14+ * ` strip_include_prefix ` attribute to the ` haskell_cc_import ` rule. See
15+ [ #241 ] ( https://github.com/tweag/rules_haskell/pull/241 ) .
16+
17+ * Support for ` c2hs ` files. See
18+ [ #351 ] ( https://github.com/tweag/rules_haskell/pull/351 ) .
19+
20+ * The ` extra_srcs ` attribute that allows to list non-Haskell source files
21+ that should be visible during compilation and linking (usually useful with
22+ TH). See [ #292 ] ( https://github.com/tweag/rules_haskell/pull/292 ) .
23+
24+ * The ` extra_binaries ` attribute to the ` haskell_toolchain ` rule. See
25+ [ #282 ] ( https://github.com/tweag/rules_haskell/issues/282 ) .
26+
27+ * A Haskell library for looking up runfiles. See
28+ [ #302 ] ( https://github.com/tweag/rules_haskell/pull/302 ) .
29+
30+ * A separate toolchain for ` doctest ` —` haskell_doctest_toolchain ` . See
31+ [ #310 ] ( https://github.com/tweag/rules_haskell/pull/310 ) .
32+
33+ * The ` compiler_flags ` attribute to the ` haskell_toolchain ` rule allowing to
34+ specify default compiler flags. See
35+ [ #315 ] ( https://github.com/tweag/rules_haskell/issues/315 ) .
36+
37+ * The ability to set locale to be used during compilation by adding the
38+ ` locale ` and ` locale_archive ` attributes to ` haskell_toolchain ` . See
39+ [ #328 ] ( https://github.com/tweag/rules_haskell/pull/328 ) .
40+
41+ * Proper support for profiling. See
42+ [ #332 ] ( https://github.com/tweag/rules_haskell/pull/332 ) .
43+
44+ * The ` repl_ghci_args ` attribute to the ` haskell_toolchain ` rule. See
45+ [ #334 ] ( https://github.com/tweag/rules_haskell/pull/334 ) .
46+
47+ * The ` haskell_import ` rule allowing us to make specifying dependencies more
48+ uniform and to deprecate the ` prebuilt_dependencies ` attribute. See
49+ [ #337 ] ( https://github.com/tweag/rules_haskell/pull/337 ) .
50+
51+ ### Fixed
52+
53+ * Template Haskell linking against ` cc_library ` . See
54+ [ #218 ] ( https://github.com/tweag/rules_haskell/pull/218 ) .
55+
56+ * Linking issues on MacOS. See
57+ [ #221 ] ( https://github.com/tweag/rules_haskell/pull/221 ) .
58+
59+ * GHC packages that correspond to targets with the same name but in
60+ different Bazel packages no longer clash. See
61+ [ #219 ] ( https://github.com/tweag/rules_haskell/issues/219 ) .
62+
63+ * Build breakage on MacOS when XCode is not installed. See
64+ [ #223 ] ( https://github.com/tweag/rules_haskell/pull/223 ) .
65+
66+ * Bug preventing Haddock generation because of missing dynamic shared
67+ libraries when targets have TH in them. See
68+ [ #226 ] ( https://github.com/tweag/rules_haskell/pull/226 ) .
69+
70+ * Hyperlinks between targets contained in different Bazel packages
71+ (Haddocks). See [ #231 ] ( https://github.com/tweag/rules_haskell/issues/231 ) .
72+
73+ * Generated source files do not cause issues now. See
74+ [ #211 ] ( https://github.com/tweag/rules_haskell/pull/211 ) .
75+
76+ * ` data ` attributes now allow files in them. See
77+ [ #236 ] ( https://github.com/tweag/rules_haskell/issues/236 ) .
78+
79+ * Bug when headers and hsc2hs-produced files were not visible to Haddock.
80+ See [ #254 ] ( https://github.com/tweag/rules_haskell/pull/254 ) .
81+
82+ * Bug preventing using genrule-produced headers via ` haskell_cc_import ` . See
83+ [ #268 ] ( https://github.com/tweag/rules_haskell/pull/268 ) .
84+
85+ * Bug that allowed us avoid specifying certain ` prebuilt_dependencies ` if
86+ they were already specified for transitive dependencies. See
87+ [ #286 ] ( https://github.com/tweag/rules_haskell/issues/286 ) .
88+
89+ * Bug that was making modules generated from ` .hsc ` and ` .chs ` files and
90+ generated modules in general not available in the REPLs. See
91+ [ #323 ] ( https://github.com/tweag/rules_haskell/pull/323 ) .
92+
93+ ### Changed
94+
95+ * Added ` -Wnoncanonical-monad-instances ` to default warnings in
96+ ` haskell_lint ` .
97+
98+ * How REPLs work. Now there is an optional output per binary/library. Its
99+ name is the name of target with ` -repl ` added. Users can then build and
100+ run such a REPL for any defined target. See
101+ [ #220 ] ( https://github.com/tweag/rules_haskell/issues/220 ) and
102+ [ #225 ] ( https://github.com/tweag/rules_haskell/pull/225 ) .
103+
104+ * The ` haskell_doc ` rule now produces self-contained documentation bundle
105+ with unified index. See
106+ [ #249 ] ( https://github.com/tweag/rules_haskell/pull/249 ) .
107+
108+ * ` haskell_lint ` now only lints direct dependencies. See
109+ [ #293 ] ( https://github.com/tweag/rules_haskell/pull/293 ) .
110+
111+ * ` haskell_doctest ` has been re-designed. It's now a normal rule that works
112+ only on direct dependencies and allows to specify modules which should be
113+ tested, pass custom flags to ` doctest ` executable. See
114+ [ #342 ] ( https://github.com/tweag/rules_haskell/pull/342 ) .
115+
7116## [ 0.5] - 2018-04-15
8117
9118### Added
0 commit comments