Skip to content

Commit ea2c4ef

Browse files
committed
CHANGELOG: Update for 0.8
1 parent 9aee1bc commit ea2c4ef

File tree

2 files changed

+38
-6
lines changed

2 files changed

+38
-6
lines changed

CHANGELOG.md

+36-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,24 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

7-
## [0.8] - 2019-xx-xx
7+
## [0.8] - 2019-01-28
8+
9+
* The minimum supported Bazel version is now v0.21.
810

911
### Added
1012

1113
* `haskell_register_toolchains`, `haskell_register_ghc_bindists` and
1214
`haskell_register_ghc_nixpkgs` to register multiple toolchains for
1315
multiple platforms at once. Toolchains from binary distributions can
1416
now coexist with toolchains from Nixpkgs, even on the same platform.
15-
* Support for Bazel v0.21.
17+
On nixpkgs you need to provide a toolchain. See
18+
[the `README`](./README.md#Nixpkgs) for instructions.
19+
See [#597](https://github.com/tweag/rules_haskell/pull/597)
20+
and [#610](https://github.com/tweag/rules_haskell/pull/610).
21+
* Instructions on how to reference a local checkout of `rules_haskell`.
22+
* `rules_haskell` is forward-compatible with the next breaking changes
23+
in `bazel` versions, via the `--all_incompatible_changes` flag.
24+
See [#613](https://github.com/tweag/rules_haskell/pull/613).
1625

1726
### Removed
1827

@@ -28,22 +37,43 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
2837

2938
### Changed
3039

31-
* The minimum supported Bazel version is now v0.21.
3240
* `ghc_bindist` now requires a `target` argument. Use
3341
`haskell_register_ghc_nixpkgs` to call `ghc_bindist` once per known
3442
target.
43+
See [#610](https://github.com/tweag/rules_haskell/pull/610).
3544
* `ghc_bindist` now registers itself as a toolchain. We no longer
3645
require a separate toolchain definition and registration in addition
3746
to `ghc_bindist`.
47+
See [#610](https://github.com/tweag/rules_haskell/pull/610).
3848
* `c2hs` support is now provided in a separate toolchain called
3949
`c2hs_toolchain`, rather than an optional extra to the
4050
`haskell_toolchain`.
51+
See [#590](https://github.com/tweag/rules_haskell/pull/590).
52+
* Rename bindist arch names so they are the same as in
53+
`rules_go/nodejs`.
4154

4255
### Fixed
4356

44-
* Fix static linking with C libraries that are indirectly depended
45-
upon.
46-
* Fix repl targets that have indirect cc_library dependencies.
57+
* Prevent duplicate installs of bazel_skylib
58+
See [#536](https://github.com/tweag/rules_haskell/pull/536).
59+
* Test suite now executes all binaries, various runtime errors were
60+
uncovered.
61+
See [#551](https://github.com/tweag/rules_haskell/pull/551).
62+
* Repl targets that have indirect cc_library dependencies.
63+
See [#576](https://github.com/tweag/rules_haskell/pull/576).
64+
* `linkstatic` for haskell binaries that have an indirect dependency
65+
on a prebuilt haskell package.
66+
See [#569](https://github.com/tweag/rules_haskell/pull/569).
67+
* … and an indirect dependency on a C library.
68+
See [#567](https://github.com/tweag/rules_haskell/pull/567).
69+
* Prefer linking agains static C libraries with `linkstatic`.
70+
See [#587](https://github.com/tweag/rules_haskell/pull/587).
71+
* Haddock flags take precedence over GHC compiler flags.
72+
See [#572](https://github.com/tweag/rules_haskell/pull/572).
73+
* User-defined GHC flags now override default flags.
74+
See [#607](https://github.com/tweag/rules_haskell/pull/607).
75+
* Dynamic transitive C(++) libraries work.
76+
See [#627](https://github.com/tweag/rules_haskell/pull/627).
4777

4878
## [0.7] - 2018-12-24
4979

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ You can learn more about Bazel's command line
4444
syntax [here][bazel-cli]. Common [commands][bazel-cli-commands] are
4545
`build`, `test`, `run` and `coverage`.
4646

47+
### Nixpkgs
48+
4749
This rule set supports [Nixpkgs][nixpkgs]. If you are on NixOS, or if
4850
you are using Nixpkgs on your project, consider passing the following
4951
argument on the command-line to select a Nixpkgs-based toolchain for

0 commit comments

Comments
 (0)