cayley-client 0.3.2 → 0.3.3
raw patch · 3 files changed
+9/−8 lines, 3 filesdep ~cayley-clientdep ~hspecdep ~http-clientPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: cayley-client, hspec, http-client
API changes (from Hackage documentation)
- Database.Cayley.Client.Internal: apiRequest :: Manager -> String -> Int -> RequestBody -> ReaderT CayleyConfig IO (Maybe Value)
- Database.Cayley.Client.Internal: getConfig :: CayleyConnection -> CayleyConfig
- Database.Cayley.Client.Internal: getManager :: CayleyConnection -> Manager
- Database.Cayley.Client.Internal: toRequestBody :: [Quad] -> RequestBody
- Database.Cayley.Client.Internal: urlBase :: String -> APIVersion -> String
Files
Database/Cayley/Client.hs view
@@ -174,7 +174,7 @@ where writenq m _p = do CayleyConfig{..} <- ask- r <- parseUrl (urlBase serverName apiVersion ++ "/write/file/nquad")+ r <- parseRequest (urlBase serverName apiVersion ++ "/write/file/nquad") >>= \r -> return r { port = serverPort } t <- liftIO $ try $
Database/Cayley/Client/Internal.hs view
@@ -18,7 +18,7 @@ -> RequestBody -> ReaderT CayleyConfig IO (Maybe A.Value) apiRequest m u p b = do- r <- parseUrl u >>= \c ->+ r <- parseRequest u >>= \c -> return c { method = "POST", port = p, requestBody = b } t <- liftIO $ try $ httpLbs r m case t of
cayley-client.cabal view
@@ -1,10 +1,10 @@ name: cayley-client-version: 0.3.2+version: 0.3.3 cabal-version: >=1.10 build-type: Simple license: BSD3 license-file: LICENSE-copyright: (c) 2015-2016 - Michel Boucey+copyright: (c) 2015-2017 - Michel Boucey maintainer: michel.boucey@cybervisible.fr homepage: https://github.com/MichelBoucey/cayley-client synopsis: A Haskell client for the Cayley graph database@@ -24,7 +24,6 @@ exposed-modules: Database.Cayley.Client Database.Cayley.Types- Database.Cayley.Client.Internal build-depends: aeson >=0.8.0.2 && <1.2, attoparsec >=0.12.1.6 && <0.14,@@ -32,7 +31,7 @@ bytestring >=0.10.6 && <0.11, binary >=0.7.5 && <0.9, exceptions >=0.8.0.2 && <0.9,- http-client >=0.4.26 && <0.6,+ http-client >=0.4.30 && <0.6, http-conduit >=2.1.8 && <2.3, lens >=4.12.3 && <4.16, mtl >=2.2.1 && <2.3,@@ -43,15 +42,17 @@ vector >=0.10.12.3 && <0.13 default-language: Haskell2010 other-extensions: OverloadedStrings+ other-modules:+ Database.Cayley.Client.Internal ghc-options: -Wall test-suite tests type: exitcode-stdio-1.0 main-is: hspec.hs build-depends:- hspec >=2.1.10 && <2.4,+ hspec >=2.1.10 && <2.5, base >=4.8 && <5,- cayley-client >=0.3.2 && <0.4,+ cayley-client >=0.3.3 && <0.4, aeson >=0.8.0.2 && <1.1, unordered-containers >=0.2.5 && <0.3 default-language: Haskell2010