docs: Add changelog and release notes entry for traceBinaryEvent#
[ghc.git] / docs / users_guide / 8.8.1-notes.rst
1 .. _release-8-8-1:
2
3 Release notes for version 8.8.1
4 ===============================
5
6 The significant changes to the various parts of the compiler are listed in the
7 following sections. There have also been numerous bug fixes and performance
8 improvements over the 8.6.1 release.
9
10
11 Highlights
12 ----------
13
14 The highlights, since the 8.6.1 release, are:
15
16 - Many, many bug fixes.
17
18
19 Full details
20 ------------
21
22 Language
23 ~~~~~~~~
24
25 - :extension:`ScopedTypeVariables`: The type variable that a type signature on
26   a pattern can bring into scope can now stand for arbitrary types. Previously,
27   they could only stand in for other type variables, but this restriction was deemed
28   unnecessary in `GHC proposal #29 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0029-scoped-type-variables-types.rst>`__. Also see :ghc-ticket:`15050`.
29
30 Compiler
31 ~~~~~~~~
32
33 - New :ghc-flag:`-keep-hscpp-files` to keep the output of the CPP pre-processor.
34
35 Runtime system
36 ~~~~~~~~~~~~~~
37
38
39 Template Haskell
40 ~~~~~~~~~~~~~~~~
41
42
43 ``ghc-prim`` library
44 ~~~~~~~~~~~~~~~~~~~~
45
46 - GHC now exposes a new primop, ``traceBinaryEvent#``. This primop writes
47   eventlog events similar to ``traceBinaryEvent#`` but allows the user to pass
48   the event payload as a binary blob instead of a ``String``.
49
50 ``ghc`` library
51 ~~~~~~~~~~~~~~~
52
53
54 ``base`` library
55 ~~~~~~~~~~~~~~~~
56
57
58 Build system
59 ~~~~~~~~~~~~
60
61
62 Included libraries
63 ------------------
64
65 The package database provided with this distribution also contains a number of
66 packages other than GHC itself. See the changelogs provided with these packages
67 for further change information.
68
69 .. ghc-package-list::
70
71     libraries/array/array.cabal:             Dependency of ``ghc`` library
72     libraries/base/base.cabal:               Core library
73     libraries/binary/binary.cabal:           Dependency of ``ghc`` library
74     libraries/bytestring/bytestring.cabal:   Deppendency of ``ghc`` library
75     libraries/Cabal/Cabal/Cabal.cabal:       Dependency of ``ghc-pkg`` utility
76     libraries/containers/containers.cabal:   Dependency of ``ghc`` library
77     libraries/deepseq/deepseq.cabal:         Dependency of ``ghc`` library
78     libraries/directory/directory.cabal:     Dependency of ``ghc`` library
79     libraries/filepath/filepath.cabal:       Dependency of ``ghc`` library
80     compiler/ghc.cabal:                      The compiler itself
81     libraries/ghci/ghci.cabal:               The REPL interface
82     libraries/ghc-boot/ghc-boot.cabal:       Internal compiler library
83     libraries/ghc-boot-th/ghc-boot-th.cabal: Internal compiler library
84     libraries/ghc-compact/ghc-compact.cabal: Core library
85     libraries/ghc-heap/ghc-heap.cabal:       GHC heap-walking library
86     libraries/ghc-prim/ghc-prim.cabal:       Core library
87     libraries/haskeline/haskeline.cabal:     Dependency of ``ghci`` executable
88     libraries/hpc/hpc.cabal:                 Dependency of ``hpc`` executable
89     libraries/integer-gmp/integer-gmp.cabal: Core library
90     libraries/mtl/mtl.cabal:                 Dependency of ``Cabal`` library
91     libraries/parsec/parsec.cabal:           Dependency of ``Cabal`` library
92     libraries/process/process.cabal:         Dependency of ``ghc`` library
93     libraries/stm/stm.cabal:                 Dependency of ``haskeline`` library
94     libraries/template-haskell/template-haskell.cabal:     Core library
95     libraries/terminfo/terminfo.cabal:       Dependency of ``haskeline`` library
96     libraries/text/text.cabal:               Dependency of ``Cabal`` library
97     libraries/time/time.cabal:               Dependency of ``ghc`` library
98     libraries/transformers/transformers.cabal: Dependency of ``ghc`` library
99     libraries/unix/unix.cabal:               Dependency of ``ghc`` library
100     libraries/Win32/Win32.cabal:             Dependency of ``ghc`` library
101     libraries/xhtml/xhtml.cabal:             Dependency of ``haddock`` executable