|
| 1 | +Cabal and Cabal-syntax 3.14.2.0 changelog and release notes |
| 2 | +--- |
| 3 | + |
| 4 | +### Significant changes |
| 5 | + |
| 6 | +- GHC arguments are no longer swallowed by enabling documentation [#10782](https://github.com/haskell/cabal/issues/10782) [#10783](https://github.com/haskell/cabal/pull/10783) |
| 7 | + |
| 8 | + Arguments to GHC are now properly concatenated with `-haddock` if documentation is enabled. |
| 9 | + |
| 10 | +- Honour the `-working-dir` flag when executing testsuite executables. [#10704](https://github.com/haskell/cabal/issues/10704) [#10725](https://github.com/haskell/cabal/pull/10725) |
| 11 | + |
| 12 | + Honour the `-working-dir` flag when executing testsuite executables. This fixes a |
| 13 | + regression in Cabal-3.14.0.0. |
| 14 | + |
| 15 | +- Fix duplicate environment variables in test and benchmark runs [#10718](https://github.com/haskell/cabal/issues/10718) [#10827](https://github.com/haskell/cabal/pull/10827) |
| 16 | + |
| 17 | + Cabal no longer creates duplicate environment variables when running test |
| 18 | + suites, benchmarks, or internal executables. Previously, when setting up the |
| 19 | + environment for these processes, Cabal would append the overridden environment |
| 20 | + to the existing environment, creating duplicates of the same variable. |
| 21 | + |
| 22 | +- Set `<pkgname>_datadir` to an absolute path when running tests [#10717](https://github.com/haskell/cabal/issues/10717) [#10828](https://github.com/haskell/cabal/pull/10828) |
| 23 | + |
| 24 | + Fix a regression where `<pkgname>_datadir` was set to a relative path. This |
| 25 | + caused issues when running testsuites which changed the working directory and |
| 26 | + accessed datafiles. |
| 27 | + |
| 28 | +### Other changes |
| 29 | + |
| 30 | +- Remove descriptions for sandbox in replCommand [#10482](https://github.com/haskell/cabal/issues/10482) [#10493](https://github.com/haskell/cabal/pull/10493) |
| 31 | + |
| 32 | + Text provided by `Setup.hs repl --help` contained outdated information concerning sandbox, which have now been removed. |
| 33 | + |
| 34 | +- Adds more version range checks to `cabal check`. [#9806](https://github.com/haskell/cabal/issues/9806) [#10554](https://github.com/haskell/cabal/pull/10554) |
| 35 | + |
| 36 | + For dependencies, warns about and checks that version range bounds for: |
| 37 | + |
| 38 | + - lower bounds are inclusive, don't use (>) |
| 39 | + - upper bounds are exclusive, don't use (<=) |
| 40 | + - upper bounds don't have trailing zeros, don't end with (*.0). |
| 41 | + |
| 42 | +- OpenBSD `--strip-unneeded` sometimes strips too much [#10616](https://github.com/haskell/cabal/pull/10616) |
| 43 | + |
| 44 | + OpenBSD's `--strip-unneeded` thinks some symbols are unneeded that are in fact |
| 45 | + needed when C bits are involved, so suppress its use. |
| 46 | + |
| 47 | + Taken from the OpenBSD ports repo (https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/ghc/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_Program_Strip_hs); |
| 48 | + brought to our attention by maerwald. |
| 49 | + |
| 50 | + |
| 51 | +- Suppress ghc-pkg warnings emitted when an empty packages is being registered [#9997](https://github.com/haskell/cabal/pull/9997) |
| 52 | + |
| 53 | + When a package contains a library that has no modules, `./Setup register` |
| 54 | + tries to register the library with fields `haddock-interfaces:` and |
| 55 | + `haddock-html:` pointing at non-existent files or directories, and `ghc-pkg |
| 56 | + register` warns about them. |
| 57 | + |
| 58 | + To suppress the warnings prevent these fields from being generated when |
| 59 | + there are no modules. |
| 60 | + |
0 commit comments