From 7b34cc45f1fa3850a592808ea9508b5fccf37dc2 Mon Sep 17 00:00:00 2001 From: mrkkrp Date: Sat, 21 Jul 2018 15:35:01 +0700 Subject: [PATCH] Update the changelog for version 0.6 --- CHANGELOG.md | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 007bad9ba..3b373c26f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,115 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/). +## [0.6] - 2018-07-21 + +### Added + +* Protocol buffers integration using `proto-lens`. See + [#239](https://github.com/tweag/rules_haskell/pull/239). + +* `strip_include_prefix` attribute to the `haskell_cc_import` rule. See + [#241](https://github.com/tweag/rules_haskell/pull/241). + +* Support for `c2hs` files. See + [#351](https://github.com/tweag/rules_haskell/pull/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](https://github.com/tweag/rules_haskell/pull/292). + +* The `extra_binaries` attribute to the `haskell_toolchain` rule. See + [#282](https://github.com/tweag/rules_haskell/issues/282). + +* A Haskell library for looking up runfiles. See + [#302](https://github.com/tweag/rules_haskell/pull/302). + +* A separate toolchain for `doctest`—`haskell_doctest_toolchain`. See + [#310](https://github.com/tweag/rules_haskell/pull/310). + +* The `compiler_flags` attribute to the `haskell_toolchain` rule allowing to + specify default compiler flags. See + [#315](https://github.com/tweag/rules_haskell/issues/315). + +* The ability to set locale to be used during compilation by adding the + `locale` and `locale_archive` attributes to `haskell_toolchain`. See + [#328](https://github.com/tweag/rules_haskell/pull/328). + +* Proper support for profiling. See + [#332](https://github.com/tweag/rules_haskell/pull/332). + +* The `repl_ghci_args` attribute to the `haskell_toolchain` rule. See + [#334](https://github.com/tweag/rules_haskell/pull/334). + +* The `haskell_import` rule allowing us to make specifying dependencies more + uniform and to deprecate the `prebuilt_dependencies` attribute. See + [#337](https://github.com/tweag/rules_haskell/pull/337). + +### Fixed + +* Template Haskell linking against `cc_library`. See + [#218](https://github.com/tweag/rules_haskell/pull/218). + +* Linking issues on MacOS. See + [#221](https://github.com/tweag/rules_haskell/pull/221). + +* GHC packages that correspond to targets with the same name but in + different Bazel packages no longer clash. See + [#219](https://github.com/tweag/rules_haskell/issues/219). + +* Build breakage on MacOS when XCode is not installed. See + [#223](https://github.com/tweag/rules_haskell/pull/223). + +* Bug preventing Haddock generation because of missing dynamic shared + libraries when targets have TH in them. See + [#226](https://github.com/tweag/rules_haskell/pull/226). + +* Hyperlinks between targets contained in different Bazel packages + (Haddocks). See [#231](https://github.com/tweag/rules_haskell/issues/231). + +* Generated source files do not cause issues now. See + [#211](https://github.com/tweag/rules_haskell/pull/211). + +* `data` attributes now allow files in them. See + [#236](https://github.com/tweag/rules_haskell/issues/236). + +* Bug when headers and hsc2hs-produced files were not visible to Haddock. + See [#254](https://github.com/tweag/rules_haskell/pull/254). + +* Bug preventing using genrule-produced headers via `haskell_cc_import`. See + [#268](https://github.com/tweag/rules_haskell/pull/268). + +* Bug that allowed us avoid specifying certain `prebuilt_dependencies` if + they were already specified for transitive dependencies. See + [#286](https://github.com/tweag/rules_haskell/issues/286). + +* Bug that was making modules generated from `.hsc` and `.chs` files and + generated modules in general not available in the REPLs. See + [#323](https://github.com/tweag/rules_haskell/pull/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](https://github.com/tweag/rules_haskell/issues/220) and + [#225](https://github.com/tweag/rules_haskell/pull/225). + +* The `haskell_doc` rule now produces self-contained documentation bundle + with unified index. See + [#249](https://github.com/tweag/rules_haskell/pull/249). + +* `haskell_lint` now only lints direct dependencies. See + [#293](https://github.com/tweag/rules_haskell/pull/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 to `doctest` executable. See + [#342](https://github.com/tweag/rules_haskell/pull/342). + ## [0.5] - 2018-04-15 ### Added