Skip to content

Release 0.15

Compare
Choose a tag to compare
@avdv avdv released this 22 Jul 19:41
· 972 commits to master since this release

Highlights

  • Support for Bazel version 5.x (see #1781)

Added

  • add use_stack() to override stack from anywhere (see #1705)
  • Add GHC 9.0.2 bindist (see #1672)

Changed

  • By default, the stack_snapshot rule now relies on stack to determine toolchain libraries.
    This can be a breaking change on windows if we rely on a stack snapshot containing Win32 <= 2.13.2.0,
    as we encounter this issue.
    In this case, to ensure the toolchain Win32 library is used (instead of trying to compile a new one),
    it can be droped from a custom stack snapshot as in the ./stackage_snapshot.yaml file.
  • Handle CPU value darwin_arm64 (see #1739)
  • Support Bazel 4.2.2 (see #1695)
  • haskell_module: Enable optimizations in opt mode (see #1708)
  • haskell_module: Pass cc toolchain linker flags when using the interpreter (see #1686)
  • Add more documentation for haskell_module (see #1688)
  • Reproducible interface files for Cabal packages with C dependencies (see #1689)
  • Handling of toolchain libraries in stack_snapshot (see #1685)
  • Expose object files of transitive dependencies when using TH (see #1680)
  • Expose dependencies of cross-library dependencies in the inputs of the build action of haskell_module (see #1678)

Fixed

  • HaskellC2Hs fails with clang: error: no input files (see #1778)
  • Fix build problems with GHC 9.x (see #1749)
  • Fix the error message in the stack version check (see #1722)
  • Fix all_files captures "bazel-*" directories (see #1674)
  • Fix computation of transitive dependencies (see #1669)
  • Don't discard dead_strip_dylibs in macos (see #1718)
  • Fix haskell_module when dependencies appear both as narrowed and not-narrowed (see #1691)
  • Fix stripPrefix for ghc 9.0.2 of win (see #1677)