packages feed

servant-http-streams 0.16 → 0.16.0.1

raw patch · 3 files changed

+23/−11 lines, 3 filesdep ~basedep ~base-compatdep ~timePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, base-compat, time

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,6 +1,11 @@   [The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-http-streams/CHANGELOG.md) [Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md) +0.16.0.1+--------++- Allow `base-compat-0.11`+ 0.16 ---- 
servant-http-streams.cabal view
@@ -1,6 +1,6 @@ cabal-version:       >=1.10 name:                servant-http-streams-version:             0.16+version:             0.16.0.1  synopsis:            Automatic derivation of querying functions for servant category:            Servant, Web@@ -8,11 +8,11 @@   This library lets you derive automatically Haskell functions that   let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.   .-  See <http://haskell-servant.readthedocs.org/en/stable/tutorial/Client.html the client section of the tutorial>.+  See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>.   .   <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG> -homepage:            http://haskell-servant.readthedocs.org/+homepage:            http://docs.servant.dev/ bug-reports:         http://github.com/haskell-servant/servant/issues license:             BSD3 license-file:        LICENSE@@ -24,7 +24,8 @@   GHC ==8.0.2    || ==8.2.2    || ==8.4.4-   || ==8.6.3+   || ==8.6.5+   || ==8.8.1  extra-source-files:   CHANGELOG.md@@ -42,13 +43,13 @@   -- Bundled with GHC: Lower bound to not force re-installs   -- text and mtl are bundled starting with GHC-8.4   build-depends:-      base                  >= 4.9      && < 4.13+      base                  >= 4.9      && < 4.14     , bytestring            >= 0.10.8.1 && < 0.11     , containers            >= 0.5.7.1  && < 0.7     , deepseq               >= 1.4.2.0  && < 1.5     , mtl                   >= 2.2.2    && < 2.3     , text                  >= 1.2.3.0  && < 1.3-    , time                  >= 1.6.0.1  && < 1.9+    , time                  >= 1.6.0.1  && < 1.10     , transformers          >= 0.5.2.0  && < 0.6    if !impl(ghc >= 8.2)@@ -64,10 +65,10 @@   -- Other dependencies: Lower bound around what is in the latest Stackage LTS.   -- Here can be exceptions if we really need features from the newer versions.   build-depends:-      base-compat           >= 0.10.5   && < 0.11+      base-compat           >= 0.10.5   && < 0.12     , case-insensitive     , http-streams          >= 0.8.6.1  && < 0.9-    , http-media            >= 0.7.1.3  && < 0.8+    , http-media            >= 0.7.1.3  && < 0.9     , io-streams            >= 1.5.0.1  && < 1.6     , http-types            >= 0.12.2   && < 0.13     , http-common           >= 0.8.2.0  && < 0.9@@ -118,8 +119,8 @@       entropy           >= 0.4.1.3  && < 0.5     , hspec             >= 2.6.0    && < 2.8     , HUnit             >= 1.6.0.0  && < 1.7-    , network           >= 2.8.0.0  && < 3.1-    , QuickCheck        >= 2.12.6.1 && < 2.13+    , network           >= 2.8.0.0  && < 3.2+    , QuickCheck        >= 2.12.6.1 && < 2.14     , servant           == 0.16.*     , servant-server    == 0.16.*     , tdigest           >= 0.2     && < 0.3
src/Servant/HttpStreams/Internal.hs view
@@ -18,6 +18,8 @@                  (NFData, force) import           Control.Exception                  (IOException, SomeException (..), catch, evaluate, throwIO)+import           Control.Monad+                 (unless) import           Control.Monad.Base                  (MonadBase (..)) import           Control.Monad.Codensity@@ -25,9 +27,13 @@ import           Control.Monad.Error.Class                  (MonadError (..)) import           Control.Monad.IO.Class-                 (liftIO)+                 (MonadIO (..)) import           Control.Monad.Reader+                 (MonadReader, ReaderT, ask, runReaderT)+import           Control.Monad.Trans.Class+                 (lift) import           Control.Monad.Trans.Except+                 (ExceptT, runExceptT) import           Data.Bifunctor                  (bimap, first) import           Data.ByteString.Builder