4. Release notes for version 8.4.2

4.1. Highlights

This is a bug-fix release resolving several regressions introduced in 8.4.1.

The highlights, since the 8.4.1 release, are:

  • Fixed a regression causing uses of Control.Exception.evaluate to be incorrectly optimised, resulting in incorrect evaluation behavior (Trac #13930)
  • Fix a regression causing the interpreter to segmentation fault when built with profiling (Trac #14705)
  • DWARF debug information support has been significantly improved (Trac #14894, Trac #14779)
  • A regression in runtime performance of code involving newtypes has been fixed (Trac #14936)

4.2. Full details

In addition to the highlights listed above, this release resolves a number of other issues, described below.

4.2.1. Compiler

  • A bug affecting GHC's debug output support (-g) which resulted in invalid code being generated for string literals (Trac #13868)
  • Trac #14918, where Read instances for types with field names containing # would fail to parse, has been fixed.
  • Several compiler panics have been resolved (Trac #12158, Trac #15002, Trac #14933, Trac #14959)
  • Fix a regression in which derived Read instances for record data types with field names ending with # (by way of -XMagicHash) would no longer parse valid output.

4.2.2. Runtime system

  • A bug causing panics while running programs with retainer profiling (-hr) was fixed (Trac #14947)

4.2.3. Template Haskell

No changes.

4.2.4. ghc library

No changes.

4.2.5. base library

  • Version bumped to to account for the addition of GHC.IO.FixIOException
  • Add the readFieldHash function to GHC.Read which behaves like readField, but for a field that ends with a # symbol.

4.2.6. integer-gmp library

  • Version bumped to to account for the addition of powModSecInteger.
  • Define powModSecInteger, a "secure" version of powModInteger using the mpz_powm_sec function.

4.2.7. Build system

  • configure now takes a --disable-dtrace flag, allowing workaround of Trac #15040.
  • A bug breaking GHC builds bootstrapped on Darwin has been fixed (Trac #14972)

4.3. Included libraries

The package database provided with this distribution also contains a number of packages other than GHC itself. See the changelogs provided with these packages for further change information.

Package Version Reason for inclusion
ghc 8.4.3 The compiler itself
Cabal Dependency of ghc-pkg utility
Win32 Dependency of ghc library
array Dependency of ghc library
base Core library
binary Dependency of ghc library
bytestring Deppendency of ghc library
containers Dependency of ghc library
deepseq Dependency of ghc library
directory Dependency of ghc library
filepath 1.4.2 Dependency of ghc library
ghc-boot 8.4.3 Internal compiler library
ghc-compact Core library
ghc-prim Core library
ghci 8.4.3 The REPL interface
haskeline Dependency of ghci executable
hpc Dependency of hpc executable
integer-gmp Core library
mtl 2.2.2 Dependency of Cabal library
parsec Dependency of Cabal library
process Dependency of ghc library
template-haskell Core library
text Dependency of Cabal library
time Dependency of ghc library
transformers Dependency of ghc library
unix Dependency of ghc library
xhtml 3000.2.2.1 Dependency of haddock executable