You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for GHC 8.8.4, 8.10.3, 8.10.4, 8.10.7, 9.0.1 and 9.2.1.
Blacklisted empty ghc-byteorder package.
More reproducible GHC bindist on macOS.
See #1462.
Track GHC's lib/settings as an action input by exposing a files attribute in the haskell_toolchain rule, which is used in downstream actions.
See #1478.
Added ghc-bignum to the list of core packages (since GHC 9.0.1).
Provided a Bazel-compatible version of ghc-paths.
See #1508.
Allow different repository names when registering Haskell toolchains for cross-compiling.
Added hsc2hs into the inputs of cabal_wrapper so it can be found when cross-compiling.
Support for platform constraints for GHCs in Nixpkgs.
Added hie_bios_path_prefix to the haskell_repl rule to allow hie-bios to output paths relative to a directory besides the workspace root.
Experimental haskell_module rule, with profiling, hs-boot, plugin, preprocessor, package database, dynamic build and Template Haskell support.
See #1553.
Support for Cabal sublibraries, using the sublibrary_name attribute of the haskell_cabal_library rule.
Added generates_path_module attribute to haskell_cabal_library, such that its data files are accessible to haskell_binary rules.
See #1575.
Added non_default_plugins attribute to haskell_library and haskell_binary rules to avoid setting -fplugin for every module.
Support for using Template Haskell and FFI with static C dependencies.
See #1582.
Support for sublibraries in the stack_snapshot rule.
See #1638.
Support for the --incompatible_override_toolchain_transition flag.
Removed
Support for Bazel pre-4.0.0
Changed
Source file names are explicitly mapped to module names and corresponding object and interface files in Starlark. The main module is determined heuristically, but can be overridden with the main_file attribute.
See #1281.
stack unpack now uses versioned packages.
See #1455.
cabal_wrapper now takes its arguments as JSON.
Use GitHub API token in stack_snapshot pinning, if available, to avoid rate limiting.
See #1494.
Invoke a runghc for the execution platform in cabal_wrapper.
compiler_flags options have been renamed to ghcopts in macros and rules, for consistency. The old name will still work, but has been deprecated.
Automatic visibility of stack_snapshot dependencies to vendored packages.
See #1583.
All REPL targets are tagged as manual, so are only built on-demand.
Use a more deterministic distdir path in haskell_cabal_* rules to improve reproducibility.
See #1648.
Fixed
stack_snapshot pinning with archives containing Cabal files located deeper down the tree.
A regression whereby dynamically linked binaries were missing their libraries in the runfiles.
Compatibility issue with macOS Big Sur.
See #1442.