packages feed

hackernews 1.1.2.0 → 1.2.0.0

raw patch · 2 files changed

+12/−7 lines, 2 filesdep ~hackernewsdep ~servantdep ~servant-clientPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hackernews, servant, servant-client

API changes (from Hackage documentation)

Files

ghc-src/Web/HackerNews.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP                        #-} {-# LANGUAGE RecordWildCards            #-} {-# LANGUAGE OverloadedStrings          #-} {-# LANGUAGE TypeFamilies               #-}@@ -118,7 +119,11 @@ toError = first go   where     go :: ServantError -> HackerNewsError+#if MIN_VERSION_servant_client(0,11,0)+    go (FailureResponse _ Status{..} _ body) =+#else     go (FailureResponse Status{..} _ body) =+#endif       FailureResponseError statusCode (cs statusMessage) (cs body)     go (DecodeFailure _ _ "null") = NotFound     go (DecodeFailure err _ body) =
hackernews.cabal view
@@ -1,5 +1,5 @@ name:                hackernews-version:             1.1.2.0+version:             1.2.0.0 description:         API for news.ycombinator.com license:             MIT synopsis:            API for Hacker News@@ -23,13 +23,13 @@   if impl (ghcjs)     build-depends:         base-      , hackernews == 1.1.*+      , hackernews == 1.2.*       , ghcjs-base     hs-source-dirs: ghcjs-examples   else     build-depends:          base-       , hackernews == 1.1.*+       , hackernews == 1.2.*        , http-client-tls        , http-client     hs-source-dirs: ghc-examples@@ -39,7 +39,7 @@   if impl(ghcjs)     hs-source-dirs: ghcjs-tests     build-depends: base-               , hackernews == 1.1.*+               , hackernews == 1.2.*                , ghcjs-base                , hspec                , hspec-core@@ -55,7 +55,7 @@                   , Web.HackerNews.Types   hs-source-dirs: src   build-depends:-      servant >= 0.9 && < 0.11+      servant >= 0.9 && < 0.12     , QuickCheck     , quickcheck-instances   if impl(ghcjs)@@ -72,7 +72,7 @@     hs-source-dirs: ghc-src     build-depends: aeson                  , base < 5-                 , servant-client >= 0.9 && < 0.11+                 , servant-client >= 0.9 && < 0.12                  , http-client == 0.5.*                  , string-conversions == 0.4.*                  , http-types == 0.9.*@@ -89,7 +89,7 @@   hs-source-dirs:      ghc-tests   build-depends:       aeson                      , base-                     , hackernews == 1.1.*+                     , hackernews == 1.2.*                      , hspec                      , http-client-tls                      , http-client