packages feed

google-static-maps 0.6.0.0 → 0.6.0.1

raw patch · 3 files changed

+13/−9 lines, 3 filesdep ~basedep ~cryptonitedep ~http-clientPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, cryptonite, http-client, memory, servant, servant-client

API changes (from Hackage documentation)

- Web.Google.Maps.Static: staticmap :: Manager -> Key -> Maybe Secret -> Maybe Center -> Maybe Zoom -> Size -> Maybe Scale -> Maybe Format -> [MapStyle] -> Maybe MapType -> Maybe Language -> Maybe Region -> [Markers] -> [Path] -> Maybe Visible -> IO (Either ServantError StaticmapResponse)
+ Web.Google.Maps.Static: staticmap :: Manager -> Key -> Maybe Secret -> Maybe Center -> Maybe Zoom -> Size -> Maybe Scale -> Maybe Format -> [MapStyle] -> Maybe MapType -> Maybe Language -> Maybe Region -> [Markers] -> [Path] -> Maybe Visible -> IO (Either ClientError StaticmapResponse)

Files

changelog.md view
@@ -1,3 +1,7 @@+# 0.6.0.1
+
+* Update dependencies for GHC 8.8.1
+
 # 0.6.0.0
 
 * Update documentation to reflect changes to Google Maps Platform
google-static-maps.cabal view
@@ -1,5 +1,5 @@ name:                google-static-maps
-version:             0.6.0.0
+version:             0.6.0.1
 synopsis:            Bindings to the Google Maps Static API (formerly Static
                      Maps API)
 description:         The
@@ -34,19 +34,19 @@   hs-source-dirs:      src
   exposed-modules:     Web.Google.Maps.Static
                      , Web.Google.Maps.Common
-  build-depends:       base >= 4.8 && < 4.13
+  build-depends:       base >= 4.8 && < 4.14
                      , aeson >= 0.7 && < 1.5
                      , base64-bytestring >= 0.1.1 && < 1.1
                      , bytedump >= 0.9 && < 1.1
                      , bytestring >= 0.10 && < 0.11
-                     , cryptonite >= 0.1 && < 0.26
+                     , cryptonite >= 0.1 && < 0.27
                      , double-conversion >= 0.2 && < 2.1
-                     , http-client >= 0.2 && < 0.6
+                     , http-client >= 0.2 && < 0.7
                      , JuicyPixels >= 1.0 && < 3.4
-                     , memory >= 0.1 && < 0.15
+                     , memory >= 0.1 && < 0.16
                      , network-uri >= 2.6 && < 2.7
-                     , servant >= 0.14.1 && < 0.16
-                     , servant-client >= 0.11 && < 0.16
+                     , servant >= 0.16 && < 0.17
+                     , servant-client >= 0.16 && < 0.17
                      , servant-JuicyPixels >= 0.3 && < 0.4
                      , text >= 1.0 && < 1.3
                      , utf8-string >= 0.3 && < 1.1
src/Web/Google/Maps/Static.hs view
@@ -131,7 +131,7 @@ import Servant.API ((:>), Get, QueryParam, QueryParams, safeLink,
     ToHttpApiData (..))
 import Servant.Client (BaseUrl (..), client, ClientEnv (ClientEnv), ClientM,
-    runClientM, ServantError)
+    runClientM, ClientError)
 import Servant.JuicyPixels (PNG)
 import Servant.Links (LinkArrayElementStyle (..), linkURI')
 import Text.Bytedump (hexString)
@@ -625,7 +625,7 @@     -> [Markers]
     -> [Path]
     -> Maybe Visible
-    -> IO (Either ServantError StaticmapResponse)
+    -> IO (Either ClientError StaticmapResponse)
 staticmap
     mgr
     key