packages feed

atlassian-connect-core 0.5.0.1 → 0.5.1.0

raw patch · 2 files changed

+11/−10 lines, 2 filesdep ~basedep ~http-clientdep ~http-mediaPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, http-client, http-media, jwt, network-api-support, snap, time

API changes (from Hackage documentation)

+ Snap.AtlassianConnect.HostRequest: setQueryParams :: [(ByteString, Maybe ByteString)] -> RequestTransformer

Files

atlassian-connect-core.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.5.0.1+version:             0.5.1.0  -- A short (one-line) description of the package. synopsis:            Atlassian Connect snaplet for the Snap Framework and helper code.@@ -91,9 +91,9 @@   -- other-extensions:          -- Other library packages from which modules are imported.-  build-depends:       base >=4.7 && <4.8+  build-depends:       base >=4.7 && < 5                        , atlassian-connect-descriptor >= 0.2-                       , jwt                >= 0.3     && < 0.5+                       , jwt                == 0.6.*                        , aeson              >  0.7.0.3 && < 0.9                        , bytestring         >= 0.9     && <= 0.11                        , base64-bytestring  == 1.0.*@@ -102,18 +102,18 @@                        , configurator       == 0.3.*                        , containers         == 0.5.*                        , hostname           == 1.*-                       , http-media         == 0.4.*+                       , http-media         == 0.6.*                        , mtl                == 2.*-                       , snap               >= 0.13.3  && < 0.14+                       , snap               == 0.14.*                        , snap-core          >= 0.9     && <= 1                        , split              == 0.2.*                        , text               >= 0.11    && < 1.3-                       , time               >= 1.1     && < 1.5+                       , time               >= 1.2     && < 1.6                        , time-units         == 1.*                        , transformers       >= 0.3     && < 0.5-                       , http-client        == 0.3.*+                       , http-client        == 0.4.*                        , http-types         == 0.8.*-                       , network-api-support == 0.1.*+                       , network-api-support == 0.2.*                        , cryptohash         == 0.11.*    if flag(network-uri)
src/Snap/AtlassianConnect/HostRequest.hs view
@@ -35,6 +35,7 @@     -- * Request Modifiers     , addHeader     , setPostParams+    , setQueryParams     , setBody     , setBodyLazy     , setJson@@ -149,6 +150,6 @@          Left err -> Left $ ProductErrorResponse responseCode (T.pack $ "Could not parse the json response: " ++ show err)    | otherwise = Left $ ProductErrorResponse responseCode (T.decodeUtf8 . BL.toStrict $ body) --- Wrapping this method for now. See: http://goo.gl/AZtRHZ+-- Wrapper around another function setPostParams :: [(B.ByteString, B.ByteString)] -> Endo Request-setPostParams = setParams+setPostParams = setUrlEncodedBody