packages feed

lxd-client 0.1.0.2 → 0.1.0.3

raw patch · 3 files changed

+11/−5 lines, 3 filesdep ~servantdep ~servant-clientPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: servant, servant-client

API changes (from Hackage documentation)

Files

lxd-client.cabal view
@@ -1,5 +1,5 @@ name:                lxd-client-version:             0.1.0.2+version:             0.1.0.3 synopsis:            LXD client written in Haskell. description:     Implementation of the LXD client protocol in Haskell.@@ -11,7 +11,7 @@     More information and a tutorial is in "Network.LXD.Client.Commands".     .     Accompanying blog post:-    <https://deliquus.com/posts/2017-10-02-using-servant-to-orchestrate-lxd-containers.md>+    <https://deliquus.com/posts/2017-10-02-using-servant-to-orchestrate-lxd-containers.html> homepage:            https://github.com/hverr/haskell-lxd-client#readme license:             GPL-3 license-file:        LICENSE@@ -54,8 +54,8 @@                      , mtl              >= 2.2.1 && <3                      , network          >= 2.6.3.2 && <3                      , semigroups       >= 0.18.3 && <1-                     , servant          >= 0.11 && <0.12-                     , servant-client   >= 0.11 && <0.12+                     , servant          >= 0.11 && <0.13+                     , servant-client   >= 0.11 && <0.13                      , text             >= 1.2.2.2 && <2                      , tls              >= 1.3.9 && <2                      , transformers     >= 0.5.2.0 && <1
src/Network/LXD/Client/API.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-}@@ -118,7 +119,12 @@ import qualified Network.WebSockets as WS  import Servant.API++#if MIN_VERSION_servant(0, 12, 0)+import Servant.Client hiding (Response, FailureResponse)+#else import Servant.Client hiding (FailureResponse)+#endif  import Web.HttpApiData (FromHttpApiData, ToHttpApiData, toHeader, parseHeader) 
src/Network/LXD/Client/Commands.hs view
@@ -13,7 +13,7 @@ -- shouldn't need this module. -- -- Accompanying blog post:--- <https://deliquus.com/posts/2017-10-02-using-servant-to-orchestrate-lxd-containers.md>+-- <https://deliquus.com/posts/2017-10-02-using-servant-to-orchestrate-lxd-containers.html> -- module Network.LXD.Client.Commands (   -- * How to use this library