packages feed

text-show 3.7.1 → 3.7.2

raw patch · 5 files changed

+10/−34 lines, 5 filesdep ~base-compatdep ~ghc-boot-thdep ~quickcheck-instancesPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base-compat, ghc-boot-th, quickcheck-instances, template-haskell

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+### 3.7.2 [2018.03.08]+* Depend on `quickcheck-instances-0.3.18` or later.+ ### 3.7.1 [2017.12.29] * Don't define a `TextShow GCStats` instance on GHC 8.4 or later, as `GCStats`   has been removed from `base`. This fixes the build on GHC 8.4.
README.md view
@@ -30,6 +30,6 @@ main = printT (Just "Hello, World!") ``` -If you desire it, there are also monomorphic versions of the `showb` function available in the submodules of `Text.Show.Text`. See the [naming conventions](https://github.com/RyanGlScott/text-show/wiki/Naming-conventions) page for more information.+See also the [naming conventions](https://github.com/RyanGlScott/text-show/wiki/Naming-conventions) page.  Support for automatically deriving `TextShow` instances can be found in the `TextShow.TH` and `TextShow.Generic` modules.
− tests/Instances/Data/ByteString.hs
@@ -1,23 +0,0 @@-{-# OPTIONS_GHC -fno-warn-orphans #-}--{-|-Module:      Instances.Data.ByteString-Copyright:   (C) 2014-2017 Ryan Scott-License:     BSD-style (see the file LICENSE)-Maintainer:  Ryan Scott-Stability:   Provisional-Portability: GHC--'Arbitrary' instance for 'ShortByteString'.--}-module Instances.Data.ByteString () where--import Data.ByteString.Short (ShortByteString, pack)--import Prelude ()-import Prelude.Compat--import Test.QuickCheck (Arbitrary(..))--instance Arbitrary ShortByteString where-    arbitrary = pack <$> arbitrary
tests/Spec/Data/ByteStringSpec.hs view
@@ -15,8 +15,6 @@ import           Data.ByteString.Short (ShortByteString) import           Data.Proxy (Proxy(..)) -import           Instances.Data.ByteString ()- import           Spec.Utils (matchesTextShowSpec)  import           Test.Hspec (Spec, describe, hspec, parallel)
text-show.cabal view
@@ -1,5 +1,5 @@ name:                text-show-version:             3.7.1+version:             3.7.2 synopsis:            Efficient conversion of values into Text description:         @text-show@ offers a replacement for the @Show@ typeclass intended                      for use with @Text@ instead of @String@s. This package was created@@ -27,10 +27,9 @@                         main = printT (Just \"Hello, World!\")                      @                      .-                     If you desire it, there are also monomorphic versions of the @showb@-                     function available in the submodules of "TextShow". See the+                     See also the                      <https://github.com/RyanGlScott/text-show/wiki/Naming-conventions naming conventions>-                     page for more information.+                     page.                      .                      Support for automatically deriving @TextShow@ instances can be found                      in the "TextShow.TH" and "TextShow.Generic" modules.@@ -215,7 +214,6 @@                        Instances.Control.Concurrent                        Instances.Control.Exception                        Instances.Control.Monad.ST-                       Instances.Data.ByteString                        Instances.Data.Char                        Instances.Data.Data                        Instances.Data.Dynamic@@ -341,7 +339,7 @@                        TextShow.TH.Names   build-depends:       array                >= 0.3    && < 0.6                      , base-compat          >= 0.8.2  && < 1-                     , base-orphans         >= 0.6    && < 0.7+                     , base-orphans         >= 0.6    && < 0.8                      , bifunctors           >= 5.1    && < 6                      , bytestring           >= 0.9    && < 0.11                      , bytestring-builder@@ -353,8 +351,8 @@                      , hspec                >= 2      && < 3                      , integer-gmp                      , nats                 >= 0.1    && < 2-                     , QuickCheck           >= 2.10   && < 2.11-                     , quickcheck-instances >= 0.3.16 && < 0.4+                     , QuickCheck           >= 2.10   && < 2.12+                     , quickcheck-instances >= 0.3.18 && < 0.4                      , semigroups           >= 0.18.3 && < 1                      , tagged               >= 0.8.3  && < 1                      , text                 >= 0.11.1 && < 1.3