summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZubin Duggal <zubin.duggal@gmail.com>2023-02-07 18:40:53 +0530
committerZubin Duggal <zubin.duggal@gmail.com>2023-02-07 22:42:03 +0530
commitd966ed64b35f318538029a4d64f0b33fab4851c9 (patch)
treeed393ecf57280b028ff769207bd33107297472d0
parent7262d71f519e9697b745d994d255d640afb1c953 (diff)
downloadhaskell-d966ed64b35f318538029a4d64f0b33fab4851c9.tar.gz
Bump version to GHC 9.2.6 and add changelog entries
-rw-r--r--configure.ac2
-rw-r--r--docs/users_guide/9.2.1-notes.rst13
-rw-r--r--docs/users_guide/9.2.6-notes.rst128
-rw-r--r--docs/users_guide/release-notes.rst1
4 files changed, 143 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 19f6d72fe0..b519146d0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ dnl
# see what flags are available. (Better yet, read the documentation!)
#
-AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.2.5], [glasgow-haskell-bugs@haskell.org], [ghc-AC_PACKAGE_VERSION])
+AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.2.6], [glasgow-haskell-bugs@haskell.org], [ghc-AC_PACKAGE_VERSION])
# Version on HEAD must be X.Y (not X.Y.Z) for ProjectVersionMunged variable
# to be useful (cf #19058)
diff --git a/docs/users_guide/9.2.1-notes.rst b/docs/users_guide/9.2.1-notes.rst
index 125f9a59a9..b06af5b92f 100644
--- a/docs/users_guide/9.2.1-notes.rst
+++ b/docs/users_guide/9.2.1-notes.rst
@@ -45,6 +45,19 @@ Language
.. _Unlifted Datatypes Proposal: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst
+* GHC now supports visible type applications in patterns when :extension:`TypeApplications` is enabled . This allows
+ you to use the ``@variable`` syntax to bind types in patterns. For instance, instead of ::
+
+ foo (Just (x :: ty)) = …
+
+ You can now use
+
+ foo (Just @ty x) = …
+
+ See the `Type Applications in Patterns Proposal`_ for more details
+
+.. _Type Applications in Patterns Proposal: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0126-type-applications-in-patterns.rst
+
* Kind inference for data/newtype instance declarations is slightly more restrictive than before.
In particular, GHC now requires that the kind of a data family instance be fully determined
by the header of the instance, without looking at the definition of the constructor.
diff --git a/docs/users_guide/9.2.6-notes.rst b/docs/users_guide/9.2.6-notes.rst
new file mode 100644
index 0000000000..0daed97c46
--- /dev/null
+++ b/docs/users_guide/9.2.6-notes.rst
@@ -0,0 +1,128 @@
+.. _release-9-2-6:
+
+Version 9.2.6
+==============
+
+The significant changes to the various parts of the compiler are listed in the
+following sections.
+
+The :ghc-flag:`LLVM backend <-fllvm>` of this release is to be used with LLVM
+9, 10, 11, or 12.
+
+Compiler
+--------
+
+- Fix a regression in the simplifier due to a bad backport in GHC 9.2.5 that
+ could seriously impact runtime performance when compiling with optimisations
+ due to duplication of expensive work (:ghc-ticket:`22425`).
+
+- Fix a compiler panic in the simplifier due to a bad backport in GHC 9.2.5
+ (:ghc-ticket:`22491`).
+
+- Fix a compiler panic in the simplifier that manifests when compiling with
+ optimisations (:ghc-ticket:`19824`,:ghc-ticket:`22482`).
+
+- Fix a compiler panic in the demand analyser due to a bug involving shadowing
+ (:ghc-ticket:`22718`).
+
+- Fix a compiler panic during the "Float In" optimsation pass due to improper
+ handling of shadowing (:ghc-ticket:`22662`).
+
+- Fix a compiler panic in the demand analyser (:ghc-ticket:`22039`).
+
+- Fix a shadowing related bug in the occurence analysis phase of the simplifier
+ (:ghc-ticket:`22623`).
+
+- Fix a compiler bug where programs using Template Haskell involving Constant
+ Applicative forms could be garbage collected too early (:ghc-ticket:`22417`).
+
+- Fix a regression in the typechecker where certain typeclass instances
+ involving type and data familes would fail to resolve (:ghc-ticket:`22647`).
+
+- Fix the linker warning about chained fixups on Darwin platforms for programs
+ compiled with GHC (:ghc-ticket:`22429`).
+
+- Fix a bug with the graph-colouring register allocater leading to compiler
+ panics when compiling with ``-fregs-graph`` (:ghc-ticket:`22798`).
+
+- Fix a parser bug where certain keywords which could be used as variables
+ were not allowed to be used with :extension:`OverloadedRecordDot`
+ (:ghc-ticket:`20723`).
+
+- Fix the location of some ``Typeable`` definitions from ``GHC.Types`` which
+ resulted in poor error messages (:ghc-ticket:`22510`).
+
+- Improve error messages involving non-exhaustive patterns when using
+ :extension:`ApplicativeDo` (:ghc-ticket:`22483`).
+
+- Fix a driver bug where certain non-fatal Safe Haskell related warnings were
+ being marked as fatal (:ghc-ticket:`22728`).
+
+Runtime system
+--------------
+
+- Fix a GC bug where a race condition in the parallel GC could cause it to
+ garbage collect live sparks (:ghc-ticket:`22528`).
+
+- Truncate eventlog events with a large payload (:ghc-ticket:`20221`).
+
+Build system and packaging
+--------------------------
+
+- Bump ``gmp-tarballs`` to a version which doesn't use the reserved ``x18``
+ register on AArch64/Darwin systems, and also has fixes for CVE-2021-43618
+ (:ghc-ticket:`22497`, :ghc-ticket:`22789`).
+
+- Include haddock documentation in interface files for hadrian generated
+ bindists, including darwin platforms (:ghc-ticket:`22734`).
+
+Core libraries
+--------------
+
+- Bump ``bytestring`` to 0.11.4.0.
+
+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.
+
+.. ghc-package-list::
+
+ libraries/array/array.cabal: Dependency of ``ghc`` library
+ libraries/base/base.cabal: Core library
+ libraries/binary/binary.cabal: Dependency of ``ghc`` library
+ libraries/bytestring/bytestring.cabal: Dependency of ``ghc`` library
+ libraries/Cabal/Cabal/Cabal.cabal: Dependency of ``ghc-pkg`` utility
+ libraries/containers/containers/containers.cabal: Dependency of ``ghc`` library
+ libraries/deepseq/deepseq.cabal: Dependency of ``ghc`` library
+ libraries/directory/directory.cabal: Dependency of ``ghc`` library
+ libraries/exceptions/exceptions.cabal: Dependency of ``ghc`` and ``haskeline`` library
+ libraries/filepath/filepath.cabal: Dependency of ``ghc`` library
+ compiler/ghc.cabal: The compiler itself
+ libraries/ghci/ghci.cabal: The REPL interface
+ libraries/ghc-boot/ghc-boot.cabal: Internal compiler library
+ libraries/ghc-boot-th/ghc-boot-th.cabal: Internal compiler library
+ libraries/ghc-compact/ghc-compact.cabal: Core library
+ libraries/ghc-heap/ghc-heap.cabal: GHC heap-walking library
+ libraries/ghc-prim/ghc-prim.cabal: Core library
+ libraries/haskeline/haskeline.cabal: Dependency of ``ghci`` executable
+ libraries/hpc/hpc.cabal: Dependency of ``hpc`` executable
+ libraries/integer-gmp/integer-gmp.cabal: Core library
+ libraries/libiserv/libiserv.cabal: Internal compiler library
+ libraries/mtl/mtl.cabal: Dependency of ``Cabal`` library
+ libraries/parsec/parsec.cabal: Dependency of ``Cabal`` library
+ libraries/pretty/pretty.cabal: Dependency of ``ghc`` library
+ libraries/process/process.cabal: Dependency of ``ghc`` library
+ libraries/stm/stm.cabal: Dependency of ``haskeline`` library
+ libraries/template-haskell/template-haskell.cabal: Core library
+ libraries/terminfo/terminfo.cabal: Dependency of ``haskeline`` library
+ libraries/text/text.cabal: Dependency of ``Cabal`` library
+ libraries/time/time.cabal: Dependency of ``ghc`` library
+ libraries/transformers/transformers.cabal: Dependency of ``ghc`` library
+ libraries/unix/unix.cabal: Dependency of ``ghc`` library
+ libraries/Win32/Win32.cabal: Dependency of ``ghc`` library
+ libraries/xhtml/xhtml.cabal: Dependency of ``haddock`` executable
+
+
diff --git a/docs/users_guide/release-notes.rst b/docs/users_guide/release-notes.rst
index cf7deda7ce..c9d5b989f5 100644
--- a/docs/users_guide/release-notes.rst
+++ b/docs/users_guide/release-notes.rst
@@ -9,3 +9,4 @@ Release notes
9.2.3-notes
9.2.4-notes
9.2.5-notes
+ 9.2.6-notes