packages feed

giphy-api 0.6.0.1 → 0.7.0.0

raw patch · 3 files changed

+10/−10 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)

- Web.Giphy: runGiphy :: MonadIO m => Giphy a -> GiphyConfig -> m (Either ServantError a)
+ Web.Giphy: runGiphy :: MonadIO m => Giphy a -> GiphyConfig -> m (Either ClientError a)
- Web.Giphy: runGiphy' :: MonadIO m => Manager -> Giphy a -> GiphyConfig -> m (Either ServantError a)
+ Web.Giphy: runGiphy' :: MonadIO m => Manager -> Giphy a -> GiphyConfig -> m (Either ClientError a)

Files

giphy-api.cabal view
@@ -1,11 +1,13 @@--- This file has been generated from package.yaml by hpack version 0.20.0.+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.31.1. -- -- see: https://github.com/sol/hpack ----- hash: e05dd67348713e7be7ef86386087d4b6c0dce9008030546ddb8c356491aa9622+-- hash: 0473eb3755866726dc839a725e486309853cf26b5cf613845aa9fce83ee7d2ee  name:           giphy-api-version:        0.6.0.1+version:        0.7.0.0 synopsis:       Giphy HTTP API wrapper and CLI search tool. description:    Please see README.md category:       Web@@ -15,8 +17,6 @@ license:        BSD3 license-file:   LICENSE build-type:     Simple-cabal-version:  >= 1.10- extra-source-files:     changelog.md     README.md@@ -45,8 +45,8 @@     , microlens-th     , mtl     , network-uri-    , servant >=0.13-    , servant-client >=0.13+    , servant >=0.16+    , servant-client >=0.16     , text     , transformers   exposed-modules:
src/Web/Giphy.hs view
@@ -410,7 +410,7 @@  -- | You need to provide a 'GiphyConfig' to lift a 'Giphy' computation -- into 'MonadIO'.-runGiphy :: MonadIO m => Giphy a -> GiphyConfig -> m (Either Servant.ServantError a)+runGiphy :: MonadIO m => Giphy a -> GiphyConfig -> m (Either Servant.ClientError a) runGiphy g conf = do   manager <- liftIO $ HTTP.newManager tlsManagerSettings   runGiphy' manager g conf@@ -422,7 +422,7 @@   => HTTP.Manager -- ^ This must be a TLS-enabled Manager   -> Giphy a   -> GiphyConfig-  -> m (Either Servant.ServantError a)+  -> m (Either Servant.ClientError a) runGiphy' manager giphy conf =   let env = Servant.ClientEnv manager baseUrl Nothing       runClientM' = flip Servant.runClientM
stack.yaml view
@@ -2,4 +2,4 @@ extra-package-dbs: [] packages: - '.'-resolver: lts-11.1+resolver: lts-14.8