packages feed

ttc 1.1.0.1 → 1.1.0.2

raw patch · 5 files changed

+16/−5 lines, 5 filesdep ~template-haskellPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: template-haskell

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -24,6 +24,13 @@  [KaC]: <https://keepachangelog.com/en/1.0.0/> +## 1.1.0.2 (2021-08-23)++### Non-Breaking++* Bump `template-haskell` dependency version upper bound+* Add CPP macro around `BSB.Builder` `Show` instance in test code+ ## 1.1.0.1 (2021-06-25)  ### Non-Breaking
README.md view
@@ -74,7 +74,7 @@ * `Text` `Builder` * Strict `ByteString` * Lazy `ByteString`-* `ByteString` `Builder`+* `ByteString` `Builder` (and `Data.Binary.Builder`) * `ShortByteString`  This type class has two key features:
src/Data/TTC.hs view
@@ -166,7 +166,8 @@ -- * @Text@ 'TLB.Builder' (@TLB@) -- * Strict 'BS.ByteString' (@BS@) -- * Lazy 'BSL.ByteString' (@BSL@)--- * @ByteString@ 'BSB.Builder' (@BSB@)+-- * @ByteString@ 'BSB.Builder' (@BSB@) (Note: @Data.Binary.Builder@+--   re-exports this type, so TTC can be used with @binary@ as well.) -- * 'SBS.ShortByteString' (@SBS@) -- -- @ByteString@ values are assumed to be UTF-8 encoded text.  Invalid bytes
test/Data/TTC/Test.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-}@@ -105,8 +106,10 @@ instance Eq BSB.Builder where   x == y = BSB.toLazyByteString x == BSB.toLazyByteString y +#if !MIN_VERSION_bytestring(0,11,1) instance Show BSB.Builder where   show = show . BSB.toLazyByteString+#endif  ------------------------------------------------------------------------------ -- $HelperFunctions
ttc.cabal view
@@ -1,5 +1,5 @@ name:           ttc-version:        1.1.0.1+version:        1.1.0.2 category:       Data, Text synopsis:       Textual Type Classes description:@@ -22,7 +22,7 @@    || ==8.4.4    || ==8.6.5    || ==8.8.4-   || ==8.10.4+   || ==8.10.6    || ==9.0.1  extra-source-files:@@ -44,7 +44,7 @@   build-depends:       base >=4.7 && <5     , bytestring >=0.10.8 && <0.12-    , template-haskell >=2.12 && <2.18+    , template-haskell >=2.12 && <2.19     , text >=1.2.3 && <1.3   default-language: Haskell2010   default-extensions: