All Versions
21
Latest Version
Avg Release Cycle
133 days
Latest Release
-

Changelog History
Page 1

  • v1.14 Changes

    • โœ‚ Remove instances for Data.Semigroup.Option, which is deprecated as of base-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.
  • v1.13.1 Changes

    November 26, 2019
    • Backport the Generic(1) instances for Kleisli introduced in base-4.14.
  • v1.13 Changes

    August 27, 2019
    • ๐Ÿ‘‰ Make GSemigroup a superclass of GMonoid. Similarly, make GSemigroup' a superclass of GMonoid'.
    • In the instance GMonoid (Maybe a), relax the constraint on a from GMonoid to GSemigroup.
  • v1.12.4 Changes

    April 26, 2019
    • ๐Ÿ‘Œ Support th-abstraction-0.3.0.0 or later.
  • v1.12.3 Changes

    February 09, 2019
    • ๐Ÿ‘Œ Support template-haskell-2.15.
    • โž• Add a gshowList method to GShow, which lets us avoid the need for OverlappingInstances in Generics.Deriving.TH. As a consequence, the GShow String instance has been removed, as it is now fully subsumed by the GShow [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 now generic-deriving does too).
    • โž• Add a Generics.Deriving.Default module demonstrating and explaining how and why to use DerivingVia. There is also a test suite with further examples.
  • v1.12.2 Changes

    June 28, 2018
    • Backport the Generic(1) instances for Data.Ord.Down, introduced in base-4.12. Add GEq, GShow, GSemigroup, GMonoid, GFunctor, GFoldable, GTraversable, and GCopoint instances for Down.
    • โ™ป๏ธ Refactor internals using th-abstraction.
    • Adapt to Maybe moving to GHC.Maybe in GHC 8.6.
  • 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 derives to(1) and from(1) implementations for empty data types that are strict in the argument.
      • Introduce an EmptyCaseOptions field to Options in Generics.Deriving.TH, which controls whether generated from(1)/to(1) implementations for empty data types should use the EmptyCase extension or not (as is the case in GHC 8.4).
      • Add mkFrom0Options, mkFrom1Options, mkTo0Options, and mkTo1Options functions to Generics.Deriving.TH, which take EmptyCaseOptions as arguments.
      • The backported instances for V1 are now maximally lazy, as per EmptyDataDeriving. (Previously, some instances would unnecessarily force their argument, such as the Eq and Ord instances.)
      • Add instances for V1 in Generics.Deriving.Copoint, .Eq, .Foldable, .Functor, .Show, and .Traversable.
    • โœ‚ Remove the bitrotting simplInstance function from Generics.Deriving.TH.
  • v1.11.2 Changes

    April 10, 2017
    • โž• Add GEq, GShow, GEnum, and GIx instances for the new data types in Foreign.C.Types (CBool) and System.Posix.Types (CBlkSize, CBlkCnt, CClockId, CFsBlkCnt, CFsFilCnt, CId, CKey, and CTimer) introduced in base-4.10.0.0
  • v1.11.1 Changes

    September 10, 2016
    • ๐Ÿ›  Fix Template Haskell regression involving data families
    • โœ… Convert examples to test suite
    • Backport missing Data and Typeable instances for Rec1, M1, (:*:), (:+:), and (:.:)