All Versions
21
Latest Version
Avg Release Cycle
133 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.14 Changes
- โ Remove instances for
Data.Semigroup.Option
, which is deprecated as ofbase-4.15.0.0
. - ๐ Allow building with
template-haskell-2.17.0.0
(GHC 9.0). - ๐ Fix a bug in which
deriveAll1
would needlessly reject data types whose last type parameter appears as an oversaturated argument to a type family.
- โ Remove instances for
-
v1.13.1 Changes
November 26, 2019- Backport the
Generic(1)
instances forKleisli
introduced inbase-4.14
.
- Backport the
-
v1.13 Changes
August 27, 2019- ๐ Make
GSemigroup
a superclass ofGMonoid
. Similarly, makeGSemigroup'
a superclass ofGMonoid'
. - In the instance
GMonoid (Maybe a)
, relax the constraint ona
fromGMonoid
toGSemigroup
.
- ๐ Make
-
v1.12.4 Changes
April 26, 2019- ๐ Support
th-abstraction-0.3.0.0
or later.
- ๐ Support
-
v1.12.3 Changes
February 09, 2019- ๐ Support
template-haskell-2.15
. - โ Add a
gshowList
method toGShow
, which lets us avoid the need forOverlappingInstances
inGenerics.Deriving.TH
. As a consequence, theGShow String
instance has been removed, as it is now fully subsumed by theGShow [a]
instance (with which it previously overlapped). - Functions in
Generics.Deriving.TH
now balance groups of(:*:)
and(:+:)
as much as possible (deriving Generic
was already performing this optimization, and nowgeneric-deriving
does too). - โ Add a
Generics.Deriving.Default
module demonstrating and explaining how and why to useDerivingVia
. There is also a test suite with further examples.
- ๐ Support
-
v1.12.2 Changes
June 28, 2018- Backport the
Generic(1)
instances forData.Ord.Down
, introduced inbase-4.12
. AddGEq
,GShow
,GSemigroup
,GMonoid
,GFunctor
,GFoldable
,GTraversable
, andGCopoint
instances forDown
. - ๐จ Refactor internals using
th-abstraction
. - Adapt to
Maybe
moving toGHC.Maybe
in GHC 8.6.
- Backport the
-
v1.12.1 Changes
January 11, 2018- โ Remove a test that won't work on GHC 8.4.
-
v1.12 Changes
December 07, 2017- Adapt to the
EmptyDataDeriving
proposal (introduced in GHC 8.4):Generics.Deriving.TH
now derivesto(1)
andfrom(1)
implementations for empty data types that are strict in the argument.- Introduce an
EmptyCaseOptions
field toOptions
inGenerics.Deriving.TH
, which controls whether generatedfrom(1)
/to(1)
implementations for empty data types should use theEmptyCase
extension or not (as is the case in GHC 8.4). - Add
mkFrom0Options
,mkFrom1Options
,mkTo0Options
, andmkTo1Options
functions toGenerics.Deriving.TH
, which takeEmptyCaseOptions
as arguments. - The backported instances for
V1
are now maximally lazy, as perEmptyDataDeriving
. (Previously, some instances would unnecessarily force their argument, such as theEq
andOrd
instances.) - Add instances for
V1
inGenerics.Deriving.Copoint
,.Eq
,.Foldable
,.Functor
,.Show
, and.Traversable
.
- โ Remove the bitrotting
simplInstance
function fromGenerics.Deriving.TH
.
- Adapt to the
-
v1.11.2 Changes
April 10, 2017- โ Add
GEq
,GShow
,GEnum
, andGIx
instances for the new data types inForeign.C.Types
(CBool
) andSystem.Posix.Types
(CBlkSize
,CBlkCnt
,CClockId
,CFsBlkCnt
,CFsFilCnt
,CId
,CKey
, andCTimer
) introduced inbase-4.10.0.0
- โ Add
-
v1.11.1 Changes
September 10, 2016- ๐ Fix Template Haskell regression involving data families
- โ Convert examples to test suite
- Backport missing
Data
andTypeable
instances forRec1
,M1
,(:*:)
,(:+:)
, and(:.:)