Fix servant-client with base-compat-0.11
This commit is contained in:
parent
9c6911150a
commit
589c65fb99
7 changed files with 35 additions and 7 deletions
|
@ -21,4 +21,8 @@ constraint-set http-media-0.8
|
||||||
constraint-set http-media-0.7
|
constraint-set http-media-0.7
|
||||||
constraints: http-media ==0.7.*
|
constraints: http-media ==0.7.*
|
||||||
|
|
||||||
head-hackage: >= 8.8
|
constraint-set base-compat-0.10
|
||||||
|
constraints: base-compat ==0.10.*
|
||||||
|
|
||||||
|
constraint-set base-compat-0.11
|
||||||
|
constraints: base-compat ==0.11.*
|
||||||
|
|
|
@ -46,6 +46,7 @@ allow-newer:
|
||||||
|
|
||||||
allow-newer:
|
allow-newer:
|
||||||
servant-js:base,
|
servant-js:base,
|
||||||
|
servant-js:base-compat,
|
||||||
servant-js:lens
|
servant-js:lens
|
||||||
|
|
||||||
allow-newer:
|
allow-newer:
|
||||||
|
@ -57,6 +58,7 @@ allow-newer:
|
||||||
-- servant-quickcheck
|
-- servant-quickcheck
|
||||||
allow-newer:
|
allow-newer:
|
||||||
servant-quickcheck:base,
|
servant-quickcheck:base,
|
||||||
|
servant-quickcheck:base-compat,
|
||||||
servant-quickcheck:hspec,
|
servant-quickcheck:hspec,
|
||||||
servant-quickcheck:http-client,
|
servant-quickcheck:http-client,
|
||||||
servant-quickcheck:http-media,
|
servant-quickcheck:http-media,
|
||||||
|
@ -67,6 +69,9 @@ allow-newer:
|
||||||
servant-quickcheck:time,
|
servant-quickcheck:time,
|
||||||
servant-quickcheck:warp
|
servant-quickcheck:warp
|
||||||
|
|
||||||
|
allow-newer: aeson-pretty:base-compat
|
||||||
|
|
||||||
|
|
||||||
-- constraints: semigroups ^>=0.19
|
-- constraints: semigroups ^>=0.19
|
||||||
-- constraints: hashable ^>=1.3
|
-- constraints: hashable ^>=1.3
|
||||||
-- constraints: network ^>=3.1
|
-- constraints: network ^>=3.1
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
|
[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
|
||||||
[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/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
|
0.16
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
name: servant-client
|
name: servant-client
|
||||||
version: 0.16
|
version: 0.16.0.1
|
||||||
x-revision: 3
|
|
||||||
|
|
||||||
synopsis: Automatic derivation of querying functions for servant
|
synopsis: Automatic derivation of querying functions for servant
|
||||||
category: Servant, Web
|
category: Servant, Web
|
||||||
|
|
|
@ -16,10 +16,11 @@ import Prelude.Compat
|
||||||
|
|
||||||
import Control.Concurrent.MVar
|
import Control.Concurrent.MVar
|
||||||
(modifyMVar, newMVar)
|
(modifyMVar, newMVar)
|
||||||
import qualified Data.ByteString as BS
|
|
||||||
import Control.Concurrent.STM.TVar
|
import Control.Concurrent.STM.TVar
|
||||||
import Control.Exception
|
import Control.Exception
|
||||||
|
(SomeException (..), catch)
|
||||||
import Control.Monad
|
import Control.Monad
|
||||||
|
(unless)
|
||||||
import Control.Monad.Base
|
import Control.Monad.Base
|
||||||
(MonadBase (..))
|
(MonadBase (..))
|
||||||
import Control.Monad.Catch
|
import Control.Monad.Catch
|
||||||
|
@ -27,15 +28,18 @@ import Control.Monad.Catch
|
||||||
import Control.Monad.Error.Class
|
import Control.Monad.Error.Class
|
||||||
(MonadError (..))
|
(MonadError (..))
|
||||||
import Control.Monad.IO.Class
|
import Control.Monad.IO.Class
|
||||||
(liftIO)
|
(MonadIO (..))
|
||||||
import Control.Monad.Reader
|
import Control.Monad.Reader
|
||||||
|
(MonadReader, ReaderT, ask, runReaderT)
|
||||||
import Control.Monad.STM
|
import Control.Monad.STM
|
||||||
(STM, atomically)
|
(STM, atomically)
|
||||||
import Control.Monad.Trans.Control
|
import Control.Monad.Trans.Control
|
||||||
(MonadBaseControl (..))
|
(MonadBaseControl (..))
|
||||||
import Control.Monad.Trans.Except
|
import Control.Monad.Trans.Except
|
||||||
|
(ExceptT, runExceptT)
|
||||||
import Data.Bifunctor
|
import Data.Bifunctor
|
||||||
(bimap)
|
(bimap)
|
||||||
|
import qualified Data.ByteString as BS
|
||||||
import Data.ByteString.Builder
|
import Data.ByteString.Builder
|
||||||
(toLazyByteString)
|
(toLazyByteString)
|
||||||
import qualified Data.ByteString.Lazy as BSL
|
import qualified Data.ByteString.Lazy as BSL
|
||||||
|
@ -64,8 +68,8 @@ import Network.HTTP.Types
|
||||||
(hContentType, renderQuery, statusCode)
|
(hContentType, renderQuery, statusCode)
|
||||||
import Servant.Client.Core
|
import Servant.Client.Core
|
||||||
|
|
||||||
import qualified Servant.Types.SourceT as S
|
|
||||||
import qualified Network.HTTP.Client as Client
|
import qualified Network.HTTP.Client as Client
|
||||||
|
import qualified Servant.Types.SourceT as S
|
||||||
|
|
||||||
-- | The environment in which a request is run.
|
-- | The environment in which a request is run.
|
||||||
data ClientEnv
|
data ClientEnv
|
||||||
|
|
|
@ -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)
|
[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)
|
[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
|
0.16
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ import Control.DeepSeq
|
||||||
(NFData, force)
|
(NFData, force)
|
||||||
import Control.Exception
|
import Control.Exception
|
||||||
(IOException, SomeException (..), catch, evaluate, throwIO)
|
(IOException, SomeException (..), catch, evaluate, throwIO)
|
||||||
|
import Control.Monad
|
||||||
|
(unless)
|
||||||
import Control.Monad.Base
|
import Control.Monad.Base
|
||||||
(MonadBase (..))
|
(MonadBase (..))
|
||||||
import Control.Monad.Codensity
|
import Control.Monad.Codensity
|
||||||
|
@ -25,9 +27,13 @@ import Control.Monad.Codensity
|
||||||
import Control.Monad.Error.Class
|
import Control.Monad.Error.Class
|
||||||
(MonadError (..))
|
(MonadError (..))
|
||||||
import Control.Monad.IO.Class
|
import Control.Monad.IO.Class
|
||||||
(liftIO)
|
(MonadIO (..))
|
||||||
import Control.Monad.Reader
|
import Control.Monad.Reader
|
||||||
|
(MonadReader, ReaderT, ask, runReaderT)
|
||||||
|
import Control.Monad.Trans.Class
|
||||||
|
(lift)
|
||||||
import Control.Monad.Trans.Except
|
import Control.Monad.Trans.Except
|
||||||
|
(ExceptT, runExceptT)
|
||||||
import Data.Bifunctor
|
import Data.Bifunctor
|
||||||
(bimap, first)
|
(bimap, first)
|
||||||
import Data.ByteString.Builder
|
import Data.ByteString.Builder
|
||||||
|
|
Loading…
Reference in a new issue