packages feed

ip2location-io 1.1.0 → 1.2.0

raw patch · 4 files changed

+9/−2 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ IPGeolocation: [abbreviation] :: TimeZoneInfo -> String
+ IPGeolocation: [dst_end_date] :: TimeZoneInfo -> String
+ IPGeolocation: [dst_start_date] :: TimeZoneInfo -> String
- IPGeolocation: TimeZoneInfo :: String -> String -> Int -> Bool -> String -> String -> TimeZoneInfo
+ IPGeolocation: TimeZoneInfo :: String -> String -> Int -> Bool -> String -> String -> String -> String -> String -> TimeZoneInfo

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for ip2location.io +## 1.2.0  -- 2025-08-01++* Added support for abbreviation, dst_start_date and dst_end_date fields.+ ## 1.1.0  -- 2025-04-28  * Added support for Hosted Domain API.
Configuration.hs view
@@ -28,4 +28,4 @@ -}
 open :: String -> IO Config
 open apikey = do
-    return (Config apikey "sdk-haskell-iplio" "1.1.0")
+    return (Config apikey "sdk-haskell-iplio" "1.2.0")
IPGeolocation.hs view
@@ -87,6 +87,9 @@     current_time :: String,
     gmt_offset :: Int,
     is_dst :: Bool,
+    abbreviation :: String,
+    dst_start_date :: String,
+    dst_end_date :: String,
     sunrise :: String,
     sunset :: String
 } deriving (Show, Generic)
ip2location-io.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             1.1.0+version:             1.2.0  -- A short (one-line) description of the package. synopsis:            IP2Location.io Haskell package for IP geolocation and domain WHOIS.