deriving-compat 0.6.7 → 0.6.8
raw patch · 3 files changed
+16/−19 lines, 3 filesdep −base-orphansdep −ghc-primdep −taggeddep ~template-haskellPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: base-orphans, ghc-prim, tagged, transformers, transformers-compat, void
Dependency ranges changed: template-haskell
API changes (from Hackage documentation)
- Data.Deriving.Internal: data a `Via` b
- Data.Deriving.Via: data a `Via` b
+ Data.Deriving.Internal: data Via a b
+ Data.Deriving.Internal: i16HashDataName :: Name
+ Data.Deriving.Internal: i32HashDataName :: Name
+ Data.Deriving.Internal: i64HashDataName :: Name
+ Data.Deriving.Internal: i8HashDataName :: Name
+ Data.Deriving.Internal: int64HashTypeName :: Name
+ Data.Deriving.Internal: w16HashDataName :: Name
+ Data.Deriving.Internal: w32HashDataName :: Name
+ Data.Deriving.Internal: w64HashDataName :: Name
+ Data.Deriving.Internal: w8HashDataName :: Name
+ Data.Deriving.Internal: word64HashTypeName :: Name
+ Data.Deriving.Via: data Via a b
- Data.Deriving.Internal: type TyVarMap a = Map Name (OneOrTwoNames a)
+ Data.Deriving.Internal: type TyVarMap a = Map Name OneOrTwoNames a
Files
- CHANGELOG.md +5/−0
- deriving-compat.cabal +11/−18
- tests/FunctorSpec.hs +0/−1
CHANGELOG.md view
@@ -1,3 +1,8 @@+### 0.6.8 [2026.01.08]+* Allow building with `template-haskell-2.24.*` (GHC 9.14).+* Remove unused `ghc-prim`, `transformers`, and `transformers-compat`+ dependencies.+ ### 0.6.7 [2024.12.05] * Drop support for pre-8.0 versions of GHC.
deriving-compat.cabal view
@@ -1,5 +1,5 @@ name: deriving-compat-version: 0.6.7+version: 0.6.8 synopsis: Backports of GHC deriving extensions description: @deriving-compat@ provides Template Haskell functions that mimic @deriving@ extensions that were introduced or modified@@ -87,10 +87,11 @@ , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8- , GHC == 9.6.6+ , GHC == 9.6.7 , GHC == 9.8.4- , GHC == 9.10.1- , GHC == 9.12.1+ , GHC == 9.10.3+ , GHC == 9.12.2+ , GHC == 9.14.1 cabal-version: >=1.10 source-repository head@@ -121,14 +122,11 @@ Text.Read.Deriving.Internal Text.Show.Deriving Text.Show.Deriving.Internal- build-depends: base >= 4.9 && < 5- , containers >= 0.1 && < 0.8+ build-depends: base >= 4.9 && < 5+ , containers >= 0.1 && < 0.9 , ghc-boot-th- , ghc-prim- , template-haskell >= 2.11 && < 2.24- , th-abstraction >= 0.5 && < 0.8- , transformers >= 0.5 && < 0.7- , transformers-compat >= 0.5+ , template-haskell >= 2.11 && < 2.25+ , th-abstraction >= 0.5 && < 0.8 hs-source-dirs: src default-language: Haskell2010@@ -152,15 +150,10 @@ Types.EqOrd Types.ReadShow build-depends: base >= 4.9 && < 5- , base-orphans >= 0.5 && < 1 , deriving-compat , hspec >= 1.8- , QuickCheck >= 2 && < 3- , tagged >= 0.7 && < 1- , template-haskell >= 2.11 && < 2.24- , transformers >= 0.5 && < 0.7- , transformers-compat >= 0.5- , void >= 0.5.10 && < 1+ , QuickCheck >= 2 && < 3+ , template-haskell build-tool-depends: hspec-discover:hspec-discover >= 1.8 hs-source-dirs: tests
tests/FunctorSpec.hs view
@@ -34,7 +34,6 @@ import Data.Functor.Compose (Compose(..)) import Data.Functor.Identity (Identity(..)) import Data.Monoid-import Data.Orphans () import GHC.Exts (Int#)