packages feed

servant-quickcheck 0.0.9.0 → 0.0.10.0

raw patch · 3 files changed

+24/−5 lines, 3 filesdep ~servantdep ~servant-clientdep ~servant-serverPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: servant, servant-client, servant-server

API changes (from Hackage documentation)

Files

CHANGELOG.yaml view
@@ -1,4 +1,16 @@ releases:+  - version: "0.0.10.0"+    changes:+      - description: "Support servant-server-0.18 (#72)"+        authors: maksbotan+        date: 2020-07-31++  - version: "0.0.9.1"+    changes:+      - description: "Fix lower version bounds for servant packages. (7926ad6b)"+        authors: fisx+        date: 2020-07-10+   - version: "0.0.9.0"     changes:       - description: "Support servant-0.15 (#65)"
servant-quickcheck.cabal view
@@ -1,5 +1,5 @@ name:               servant-quickcheck-version:            0.0.9.0+version:            0.0.10.0 synopsis:           QuickCheck entire APIs description:   This packages provides QuickCheck properties that are tested across an entire@@ -13,7 +13,7 @@ build-type:         Simple cabal-version:      >=1.10 extra-source-files: CHANGELOG.yaml-tested-with:        GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || == 8.8.1+tested-with:        GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || == 8.8.3  source-repository head   type:     git@@ -49,9 +49,9 @@     , pretty                 >=1.1    && <1.2     , process                >=1.2    && <1.7     , QuickCheck             >=2.7    && <2.15-    , servant                >=0.15   && <0.18-    , servant-client         >=0.15   && <0.18-    , servant-server         >=0.15   && <0.18+    , servant                >=0.17   && <0.19+    , servant-client         >=0.17   && <0.19+    , servant-server         >=0.17   && <0.19     , split                  >=0.2    && <0.3     , string-conversions     >=0.3    && <0.5     , temporary              >=1.2    && <1.4
src/Servant/QuickCheck/Internal/QuickCheck.hs view
@@ -11,6 +11,9 @@ import           Prelude.Compat import           Servant                  (Context (EmptyContext), HasServer,                                            Server, serveWithContext)+#if MIN_VERSION_servant_server(0,18,0)+import           Servant                  (DefaultErrorFormatters, ErrorFormatters, HasContextEntry, type (.++))+#endif import           Servant.Client           (BaseUrl (..), Scheme (..)) import           System.IO.Unsafe         (unsafePerformIO) import           Test.Hspec               (Expectation, expectationFailure)@@ -37,7 +40,11 @@ -- application. -- -- /Since 0.0.0.0/+#if MIN_VERSION_servant_server(0,18,0)+withServantServerAndContext :: (HasServer a ctx, HasContextEntry (ctx .++ DefaultErrorFormatters) ErrorFormatters)+#else withServantServerAndContext :: HasServer a ctx+#endif   => Proxy a -> Context ctx -> IO (Server a) -> (BaseUrl -> IO r) -> IO r withServantServerAndContext api ctx server t   = withApplication (return . serveWithContext api ctx =<< server) $ \port ->