packages feed

mismi-core 0.0.2 → 0.0.3

raw patch · 3 files changed

+24/−7 lines, 3 filesdep ~lensdep ~mismi-core-testdep ~mismi-kernel

Dependency ranges changed: lens, mismi-core-test, mismi-kernel, mismi-p

Files

CHANGELOG.md view
@@ -1,3 +1,9 @@+## Version 0.0.3 (2018-12-27)++- Add support for GHC 8.6.3+- Remove dependency on `unliftio-core` to fix compatibility issue+  with un-released version of amazonka+ ## Version 0.0.2 (2018-12-27)  - Fix missing `Real` from `mismi-p`
mismi-core.cabal view
@@ -1,4 +1,4 @@-version: 0.0.2+version: 0.0.3  name:   mismi-core@@ -30,21 +30,22 @@ tested-with:     GHC == 8.2.2   , GHC == 8.4.3+  , GHC == 8.6.3 extra-source-files:   CHANGELOG.md  library   build-depends:       base                            >= 3          && < 5-    , mismi-kernel                    == 0.0.2.*-    , mismi-p                         == 0.0.2.*+    , mismi-kernel                    == 0.0.3.*+    , mismi-p                         == 0.0.3.*     , amazonka                        >= 1.5        && < 1.7     , amazonka-core                   >= 1.5        && < 1.7     , bytestring                      >= 0.10       && < 0.11     , exceptions                      >= 0.7        && < 0.11     , http-client                     >= 0.4.18     && < 0.6     , http-types                      >= 0.9        && < 0.13-    , lens                            >= 4.8        && < 4.17+    , lens                            >= 4.8        && < 4.18     , mtl                             >= 2.1        && < 2.3     , resourcet                       >= 1.1        && < 1.3     , retry                           == 0.7.*@@ -88,7 +89,7 @@   build-depends:       base     , mismi-core-    , mismi-p                         == 0.0.2.*+    , mismi-p                         == 0.0.3.*     , mmorph                          >= 1.0        && < 1.2     , amazonka-core                   >= 1.5        && < 1.7     , hedgehog@@ -117,8 +118,8 @@   build-depends:       base     , mismi-core-    , mismi-core-test                 == 0.0.2.*-    , mismi-p                         == 0.0.2.*+    , mismi-core-test                 == 0.0.3.*+    , mismi-p                         == 0.0.3.*     , mmorph                          >= 1.0        && < 1.2     , amazonka-core                   >= 1.5        && < 1.7     , hedgehog
src/Mismi/Control.hs view
@@ -35,6 +35,8 @@   , withRetriesOf   , throwOrRetry   , throwOrRetryOf+  -- * Timeout+  , timeoutAWS   ) where  import           Control.Exception (IOException)@@ -67,6 +69,8 @@  import           P +import qualified System.Timeout as System+ runAWST :: Env -> (Error -> e) -> ExceptT e AWS a -> ExceptT e IO a runAWST e err action =   runAWSTWith (runAWS e) err action@@ -353,3 +357,9 @@         throwM e       TransportError _ ->         throwM e+++timeoutAWS :: Int -> AWS a -> AWS (Maybe a)+timeoutAWS i r = do+  e <- ask+  liftIO $ System.timeout i (unsafeRunAWS e r)