Skip to content

Commit

Permalink
Merge pull request #1279 from tweag/release-0.12
Browse files Browse the repository at this point in the history
release 0.12: add changelog
  • Loading branch information
smelc authored Mar 16, 2020
2 parents d59ccf9 + ea3f131 commit 19dbc7f
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 4 deletions.
81 changes: 78 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,89 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

## Upcoming release

### Added
nothing yet

* Support for Bazel 2.0.0.
### [0.12.0] - 2020-03-16

### Changed
## Highlights

* Various improvements to Windows support.

* Support for Bazel 2.0.0

* Minimum supported Bazel version is now 0.29, but GHC bindist is known to
[fail on macOS](https://app.circleci.com/jobs/github/tweag/rules_haskell/8684)
with Bazel 0.29. Please use a more recent version for macOS.

## Added

* `haskell_repl` now has a `hie_bios` output group
See [#1263](https://github.com/tweag/rules_haskell/pull/1263)
* Added support for [hrepl](https://github.com/google/hrepl)
(a standalone binary that runs REPLS for Bazel Haskell targets).
See [#1210](https://github.com/tweag/rules_haskell/pull/1210).
* `haskell_cabal_library`, `haskell_cabal_binary`, and `stack_snapshot`
now have a `verbose` argument, to allow suppressing their output.
See [#1208](https://github.com/tweag/rules_haskell/pull/1208).
* `haskell_cabal_library` and `stack_snapshot` now build the Haddock
documentation if the parameter `haddock` is set to `True` (the default).
See [#1102](https://github.com/tweag/rules_haskell/pull/1102) and
[#1200](https://github.com/tweag/rules_haskell/pull/1200).
* Added support for GHC bindist versions `8.8.3`, `8.8.2`, and `8.8.1`.
* Windows: support for `cabal`
See [#1133](https://github.com/tweag/rules_haskell/pull/1133).
* rules_haskell now depends on [rules_sh](https://github.com/tweag/rules_sh),
a toolchain for common shell commands.
See [#1117](https://github.com/tweag/rules_haskell/pull/1117),
[#1143](https://github.com/tweag/rules_haskell/pull/1143), and
[#1136](https://github.com/tweag/rules_haskell/pull/1136) for motivation.
See [#1096](https://github.com/tweag/rules_haskell/issues/1096)
for the issue that triggered this train of thought.

## Removed

* `hazel` has been deleted, please use `stack_snapshot` instead.
See [#1158](https://github.com/tweag/rules_haskell/pull/1158).

## Changed

* The `haskell_register_toolchains()` is no longer defined in
`haskell/repositories.bzl`, load it from `haskell/toolchain.bzl` instead.
* `cabal` wrapper: specify `python3` as a requirement,
to enhance error messages on macOS and reduce cache invalidations.
See [#1251](https://github.com/tweag/rules_haskell/pull/1251),
[#1097](https://github.com/tweag/rules_haskell/pull/1097), and
[#1096](https://github.com/tweag/rules_haskell/issues/1096).
* `ghc_bindist` and `haskell_register_ghc_bindists` now have
a `locale` argument. Set it to circumvent issues on systems without
the default `C.UTF-8` locale.
See [#1249](https://github.com/tweag/rules_haskell/pull/1249).
* macOS: `BAZEL_USE_CPP_ONLY_TOOLCHAIN = 1` must be set for Bazel
to pick the correct C compiler.
See [#1159](https://github.com/tweag/rules_haskell/pull/1159).
* `stack_snapshot`: warning of stackage dependencies are not shown anymore,
as they are irrelevant.
See [#1146](https://github.com/tweag/rules_haskell/pull/1146) and
[#1026](https://github.com/tweag/rules_haskell/issues/1026).
* Sorted the content of generated manifest files, hereby avoid some spurious
rebuilds (more builds caching).
See [#1128](https://github.com/tweag/rules_haskell/pull/1128) and
[#1126](https://github.com/tweag/rules_haskell/issues/1126).
* Windows: possible race condition on `stack update` is now avoided,
by calling `stack update` only once.
See [#1199](https://github.com/tweag/rules_haskell/pull/1199) and
[#1090](https://github.com/tweag/rules_haskell/issues/1090).

## Fixed

* `haskell_cabal_library` and `haskell_library` now set relative
`RUNPATH` entries.
See [#1267](https://github.com/tweag/rules_haskell/pull/1267)
* Fixed that GHC bindist could contain absolute `RUNPATH` to `rts`
See [#1131](https://github.com/tweag/rules_haskell/pull/1131).
* Documentations of rules `haskelly_library`, `haskell_binary`,
and `haskell_test` now show the documentation of attributes.
See [#1122](https://github.com/tweag/rules_haskell/issues/1122).

## [0.11.0] - 2019-10-10

Expand Down
3 changes: 2 additions & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
feature).
- Check the list below for PRs to remove.
- [ ] Write `CHANGELOG` by going through all pull requests since last
release (https://github.com/tweag/rules_haskell/pulls?q=is%3Apr).
release (https://github.com/tweag/rules_haskell/is%3Apr+merged%3A>%3DYYYY-MM-DD)
replacing YYYY-MM-DD by the date of the last release.
- Add Highlights section for major improvements/changes
- `Added`, `Removed`, `Changed`, `Fixed` as necessary
- If relevant, add corresponding PRs to the changes
Expand Down

0 comments on commit 19dbc7f

Please sign in to comment.