Release 0.11
[0.11.0] - 2019-10-10
Highlights
-
Various improvements to
cabal_binary/libraryandstack_snapshot. -
Initial experimental Windows support for
cabal_binary/libraryand
stack_snapshot. -
startscript for setting uprules_haskellallows to set up a nixpkgs-based
bazel workspace, for NixOS users, via the--use-nixoption.
Added
- Windows-support for cabal/stack.
See #1074. stack_snapshot:vendored_packagesattribute for manually
overriding packages in a stack snapshot.
There is an example in ./examples/WORKSPACE.
See #1060.
Removed
- The
haskell/haskell.bzlentrypoint, which was deprecated in the
previous release, was removed. Please usehaskell/defs.bzl
instead.
Changed
- The
depsattribute tostack_snapshothas been replaced by the
extra_depsattribute. It no longer takes a list of dependencies to be added
to all packages, but instead a dictionary specifying additional dependencies
to select packages. Seestack_snapshotAPI docs for an example. See
#1068.
Fixed
- Unified the
cc_wrapperon all OSes.- Consistently shortens paths of library dependencies to work around
size limits on Windows and macOS - fixes
.so/.dylibending confusing on macOS - improves the REPL on macOS
See #1039.
- Consistently shortens paths of library dependencies to work around
cabal_binary/librarytargets don’t name-clash anymorehaskell_cabal_libraryno longer buildsexecomponents, speeding
up builds.
See #1095.- Haddock information for protobuf rules generates correctly.
See #1108.