binary-orphans 1.0.5.1 → 1.0.6
raw patch · 2 files changed
+31/−5 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- binary-orphans.cabal +27/−5
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 1.0.6++- Use automatic flags for compatibility conditionals+ # 1.0.5 - Support GHC-8.6.5..GHC-9.10.1
binary-orphans.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: binary-orphans-version: 1.0.5.1+version: 1.0.6 synopsis: Compatibility package for binary; provides instances category: Data, Binary, Parsing, Compatibility description:@@ -23,7 +23,7 @@ || ==9.4.8 || ==9.6.6 || ==9.8.4- || ==9.10.2+ || ==9.10.3 || ==9.12.4 || ==9.14.1 @@ -33,6 +33,16 @@ type: git location: https://github.com/phadej/binary-orphans.git +flag base-ge-4-16+ description: @base >=4.16@ (GHC-9.2)+ default: True+ manual: False++flag base-ge-4-17+ description: @base >=4.17@ (GHC-9.4)+ default: True+ manual: False+ library default-language: Haskell2010 hs-source-dirs: src@@ -43,12 +53,24 @@ base >=4.12.0.0 && <4.23 , binary >=0.8.6.0 && <0.8.10 - if !impl(ghc >=9.2)+ if !flag(base-ge-4-16) build-depends: OneTuple >=0.4.2 && <0.5 - if impl(ghc >=8.0 && <9.4)+ if !flag(base-ge-4-17) build-depends: data-array-byte >=0.1.0.1 && <0.2 + if flag(base-ge-4-16)+ build-depends: base >=4.16++ else+ build-depends: base <4.16++ if flag(base-ge-4-17)+ build-depends: base >=4.17++ else+ build-depends: base <4.17+ test-suite binary-orphans-test default-language: Haskell2010 type: exitcode-stdio-1.0@@ -64,5 +86,5 @@ , tasty >=0.10.1.2 && <1.6 , tasty-quickcheck >=0.8.3.2 && <0.12 - if impl(ghc >=8.0 && <9.4)+ if !flag(base-ge-4-17) build-depends: data-array-byte