ip2location-io 1.5.0 → 1.5.1
raw patch · 4 files changed
+10/−3 lines, 4 filesdep ~aesondep ~basedep ~http-client-tlsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, base, http-client-tls
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Configuration.hs +1/−1
- DomainWhois.hs +3/−0
- ip2location-io.cabal +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for ip2location.io +## 1.5.1 -- 2026-07-24++* Updated dependencies.+ ## 1.5.0 -- 2026-04-27 * Added support for is_ai_crawler field.
Configuration.hs view
@@ -28,4 +28,4 @@ -} open :: String -> IO Config open apikey = do - return (Config apikey "sdk-haskell-iplio" "1.5.0") + return (Config apikey "sdk-haskell-iplio" "1.5.1")
DomainWhois.hs view
@@ -31,12 +31,14 @@ import Data.Text (Text, pack, unpack, replace, splitOn, drop, findIndex, reverse) import qualified Data.Text as T +-- | Information about the domain registrar. data Registrar = Registrar { iana_id :: String , name :: String , url :: String } deriving (Show, Generic) +-- | Contact information associated with a domain registration. data Contact = Contact { name :: String , organization :: String @@ -50,6 +52,7 @@ , email :: String } deriving (Show, Generic) +-- | Successful response returned by the WHOIS API. data ResponseObj = ResponseObj { domain :: String , domain_id :: String
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.5.0+version: 1.5.1 -- A short (one-line) description of the package. synopsis: IP2Location.io Haskell package for IP geolocation and domain WHOIS.@@ -60,7 +60,7 @@ -- other-extensions: -- Other library packages from which modules are imported.- build-depends: base >=4.9 && <=4.21, bytestring >=0.10 && <0.13, aeson >=1.5 && <2.3, http-types >=0.12 && <0.13, http-client >=0.6 && <0.8, http-client-tls >=0.3 && <0.4, uri-encode >=1.5 && <1.6, split <=0.2.5, text, network-uri+ build-depends: base >=4.9 && <4.23, bytestring >=0.10 && <0.13, aeson >=1.5 && <2.4, http-types >=0.12 && <0.13, http-client >=0.6 && <0.8, http-client-tls >=0.3 && <0.5, uri-encode >=1.5 && <1.6, split <=0.2.5, text, network-uri -- Directories containing source files. -- hs-source-dirs: