Skip to content
Snippets Groups Projects
Commit c4814ab6 authored by Ryan Scott's avatar Ryan Scott Committed by Ben Gamari
Browse files

Bump version numbers: base-4.11.1.0, integer-gmp-1.0.2.0

This takes care of bumping the `base` and `integer-gmp`
minor version numbers in anticipation of a GHC 8.4.2 release.

While I was in town, I also filled in a `@since TODO` Haddock
annotation for `powModSecInteger` in `integer-gmp` with
`1.0.2.0`, and updated the changelog accordingly.

Test Plan: ./validate

Reviewers: hvr, goldfire, bgamari

Reviewed By: bgamari

Subscribers: thomie, carter

GHC Trac Issues: #15025

Differential Revision: https://phabricator.haskell.org/D4586
parent b1386942
No related branches found
No related tags found
No related merge requests found
Showing
with 55 additions and 38 deletions
......@@ -20,8 +20,8 @@ Full details
Language
~~~~~~~~
- Fix a regression in which derived `Read` instances for record data types
with field names ending with `#` (by way of :ghc-flag:`-XMagicHash`) would
- Fix a regression in which derived ``Read`` instances for record data types
with field names ending with ``#`` (by way of :ghc-flag:`-XMagicHash`) would
no longer parse valid output.
Compiler
......@@ -43,8 +43,14 @@ Template Haskell
``base`` library
~~~~~~~~~~~~~~~~
- Add the `readFieldHash` function to `GHC.Read` which behaves like
`readField`, but for a field that ends with a `#` symbol.
- Add the ``readFieldHash`` function to ``GHC.Read`` which behaves like
``readField``, but for a field that ends with a ``#`` symbol.
``integer-gmp`` library
~~~~~~~~~~~~~~~~~~~~~~~
- Define ``powModSecInteger``, a "secure" version of ``powModInteger`` using
the ``mpz_powm_sec`` function.
Build system
~~~~~~~~~~~~
......
cabal-version: 2.1
name: base
version: 4.11.0.0
version: 4.11.1.0
-- NOTE: Don't forget to update ./changelog.md
license: BSD-3-Clause
......
# Changelog for [`base` package](http://hackage.haskell.org/package/base)
## 4.12.0.0 *TBA*
* Bundled with GHC *TBA*
* Move the module `Data.Functor.Contravariant` from the
`contravariant` package to `base`.
......@@ -10,6 +12,8 @@
`GHC.Generics`. (#14849)
## 4.11.1.0 *TBA*
* Bundled with GHC 8.4.2
* Add the `readFieldHash` function to `GHC.Read` which behaves like
`readField`, but for a field that ends with a `#` symbol (#14918).
......
# Changelog for [`integer-gmp` package](http://hackage.haskell.org/package/integer-gmp)
## 1.0.2.0 *TBA*
* Bundled with GHC 8.4.2
* Define `powModSecInteger`, a "secure" version of `powModInteger` using the
`mpz_powm_sec` function.
## 1.0.1.0 *July 2017*
* Bundled with GHC 8.2.1
......
cabal-version: 2.0
name: integer-gmp
version: 1.0.1.0
version: 1.0.2.0
synopsis: Integer library based on GMP
license: BSD3
......
......@@ -1451,7 +1451,7 @@ powModInteger b e m = case m of
-- supports it (GMP >= 5). Otherwise, it internally falls back to
-- @'powModInteger'@, and a warning will be emitted when used.
--
-- @since TODO
-- @since 1.0.2.0
{-# NOINLINE powModSecInteger #-}
powModSecInteger :: Integer -> Integer -> Integer -> Integer
powModSecInteger b e m = bigNatToInteger (powModSecSBigNat b' e' m')
......
......@@ -44,5 +44,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -2,7 +2,7 @@
[1 of 1] Compiling Int[sig] ( p/Int.hsig, nothing )
[2 of 2] Processing q
Instantiating q
[1 of 1] Including p[Int=base-4.11.0.0:GHC.Exts]
Instantiating p[Int=base-4.11.0.0:GHC.Exts]
[1 of 1] Including p[Int=base-4.11.1.0:GHC.Exts]
Instantiating p[Int=base-4.11.1.0:GHC.Exts]
[1 of 1] Including ghc-prim-0.5.2.0
[1 of 1] Compiling Int[sig] ( p/Int.hsig, bkp16.out/p/p-97PZnzqiJmd2hTwUNGdjod/Int.o )
......@@ -2,8 +2,8 @@
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
[2 of 2] Processing q
Instantiating q
[1 of 1] Including p[ShouldFail=base-4.11.0.0:Data.Bool]
Instantiating p[ShouldFail=base-4.11.0.0:Data.Bool]
[1 of 1] Including p[ShouldFail=base-4.11.1.0:Data.Bool]
Instantiating p[ShouldFail=base-4.11.1.0:Data.Bool]
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail16.out/p/p-1OqLaT7dAn947wScQQKCw5/ShouldFail.o )
bkpfail16.out/p/p-1OqLaT7dAn947wScQQKCw5/../ShouldFail.hi:1:1: error:
......
......@@ -2,8 +2,8 @@
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
[2 of 2] Processing q
Instantiating q
[1 of 1] Including p[ShouldFail=base-4.11.0.0:Prelude]
Instantiating p[ShouldFail=base-4.11.0.0:Prelude]
[1 of 1] Including p[ShouldFail=base-4.11.1.0:Prelude]
Instantiating p[ShouldFail=base-4.11.1.0:Prelude]
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail17.out/p/p-2W6J7O3LvroH97zGxbPEGF/ShouldFail.o )
<no location info>: error:
......
......@@ -2,8 +2,8 @@
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
[2 of 2] Processing q
Instantiating q
[1 of 1] Including p[ShouldFail=base-4.11.0.0:Data.STRef]
Instantiating p[ShouldFail=base-4.11.0.0:Data.STRef]
[1 of 1] Including p[ShouldFail=base-4.11.1.0:Data.STRef]
Instantiating p[ShouldFail=base-4.11.1.0:Data.STRef]
[1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, bkpfail19.out/p/p-CfyUIAu1JTRCDuXEyGszXN/ShouldFail.o )
<no location info>: error:
......
......@@ -7,8 +7,8 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
[1 of 1] Compiling A ( A.hs, A.o )
TYPE SIGNATURES
test2 ::
......@@ -18,5 +18,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -3,7 +3,7 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
[
{"span": null,"doc": "TYPE SIGNATURES\n foo :: forall a. a -> a\nTYPE CONSTRUCTORS\nCOERCION AXIOMS\nDependent modules: []\nDependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,\n integer-gmp-1.0.1.0]","severity": "SevOutput","reason": null}]
{"span": null,"doc": "TYPE SIGNATURES\n foo :: forall a. a -> a\nTYPE CONSTRUCTORS\nCOERCION AXIOMS\nDependent modules: []\nDependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,\n integer-gmp-1.0.2.0]","severity": "SevOutput","reason": null}]
......@@ -35,5 +35,5 @@ class (RealFrac a, Floating a) => RealFloat a where
-- Defined in ‘GHC.Float’
instance RealFloat Float -- Defined in ‘GHC.Float’
instance RealFloat Double -- Defined in ‘GHC.Float’
base-4.11.0.0:Data.OldList.isPrefixOf :: Eq a => [a] -> [a] -> Bool
-- Defined in ‘base-4.11.0.0:Data.OldList’
base-4.11.1.0:Data.OldList.isPrefixOf :: Eq a => [a] -> [a] -> Bool
-- Defined in ‘base-4.11.1.0:Data.OldList’
......@@ -20,5 +20,5 @@ INSTANCES
FAMILY INSTANCES
type Elem (ListColl a)
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -5,5 +5,5 @@ TYPE CONSTRUCTORS
data Foo x y z = Foo x y z
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -3,5 +3,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -3,5 +3,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -3,5 +3,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
......@@ -3,5 +3,5 @@ TYPE SIGNATURES
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.0.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.1.0]
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment