ip2location-io 1.2.0 → 1.3.0
raw patch · 4 files changed
+9/−3 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ IPGeolocation: [is_bogon] :: ProxyObj -> Bool
- IPGeolocation: ProxyObj :: Int -> String -> String -> String -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ProxyObj
+ IPGeolocation: ProxyObj :: Int -> String -> String -> String -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ProxyObj
Files
- ChangeLog.md +4/−0
- Configuration.hs +1/−1
- IPGeolocation.hs +3/−1
- ip2location-io.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for ip2location.io +## 1.3.0 -- 2025-08-05++* Added support for is_bogon field.+ ## 1.2.0 -- 2025-08-01 * Added support for abbreviation, dst_start_date and dst_end_date fields.
Configuration.hs view
@@ -28,4 +28,4 @@ -} open :: String -> IO Config open apikey = do - return (Config apikey "sdk-haskell-iplio" "1.2.0") + return (Config apikey "sdk-haskell-iplio" "1.3.0")
IPGeolocation.hs view
@@ -115,7 +115,9 @@ is_consumer_privacy_network :: Bool, is_enterprise_private_network :: Bool, is_spammer :: Bool, - is_scanner :: Bool,is_botnet :: Bool + is_scanner :: Bool, + is_botnet :: Bool, + is_bogon :: Bool } deriving (Show, Generic) -- | Main response type
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.2.0+version: 1.3.0 -- A short (one-line) description of the package. synopsis: IP2Location.io Haskell package for IP geolocation and domain WHOIS.