packages feed

geoip2 0.4.1.1 → 0.4.1.2

raw patch · 3 files changed

+7/−3 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.GeoIP2: _DataArray :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) [GeoFieldT a_a6Xq]
+ Data.GeoIP2: _DataArray :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) [GeoFieldT a_a7H7]
- Data.GeoIP2: _DataBool :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Bool
+ Data.GeoIP2: _DataBool :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) Bool
- Data.GeoIP2: _DataDouble :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Double
+ Data.GeoIP2: _DataDouble :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) Double
- Data.GeoIP2: _DataInt :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Int64
+ Data.GeoIP2: _DataInt :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) Int64
- Data.GeoIP2: _DataMap :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) (Map (GeoFieldT a_a6Xq) (GeoFieldT a_a6Xq))
+ Data.GeoIP2: _DataMap :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) (Map (GeoFieldT a_a7H7) (GeoFieldT a_a7H7))
- Data.GeoIP2: _DataString :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Text
+ Data.GeoIP2: _DataString :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) Text
- Data.GeoIP2: _DataUnknown :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) (Word8, Int64)
+ Data.GeoIP2: _DataUnknown :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) (Word8, Int64)
- Data.GeoIP2: _DataWord :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Word64
+ Data.GeoIP2: _DataWord :: forall a_a7H7. Prism' (GeoFieldT a_a7H7) Word64

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.4.1.2++- Fix autonomous_system decoding+ # 0.4.1.1  - Fix DataBool handling (#14)
Data/GeoIP2.hs view
@@ -192,8 +192,8 @@     , geoCity = res ^? key "city" . key "names" . key lang . _DataString     , geoCityConfidence = res ^? key "city" . key "confidence" . geoNum     , geoPostalCode = res ^? key "postal" . key "code" . _DataString-    , geoAS = AS <$> res ^? key "traits" . key "autonomous_system_number" . geoNum-                 <*> res ^? key "traits" . key "autonomous_system_organization" . _DataString+    , geoAS = AS <$> res ^? key "autonomous_system_number" . geoNum+                 <*> res ^? key "autonomous_system_organization" . _DataString     , geoISP = res ^? key "traits" . key "isp" . _DataString     , geoDomain = res ^? key "traits" . key "domain" . _DataString     , geoOrganization = res ^? key "traits" . key "organization" . _DataString
geoip2.cabal view
@@ -1,5 +1,5 @@ name:                geoip2-version:             0.4.1.1+version:             0.4.1.2 synopsis:            Pure haskell interface to MaxMind GeoIP database description:   GeoIP2 is a haskell binding to the MaxMind GeoIP2 database.