packages feed

geoip2 0.4.1.0 → 0.4.1.1

raw patch · 3 files changed

+6/−2 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_a6NN. Prism' (GeoFieldT a_a6NN) [GeoFieldT a_a6NN]
+ Data.GeoIP2: _DataArray :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) [GeoFieldT a_a6Xq]
- Data.GeoIP2: _DataBool :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) Bool
+ Data.GeoIP2: _DataBool :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Bool
- Data.GeoIP2: _DataDouble :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) Double
+ Data.GeoIP2: _DataDouble :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Double
- Data.GeoIP2: _DataInt :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) Int64
+ Data.GeoIP2: _DataInt :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Int64
- Data.GeoIP2: _DataMap :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) (Map (GeoFieldT a_a6NN) (GeoFieldT a_a6NN))
+ Data.GeoIP2: _DataMap :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) (Map (GeoFieldT a_a6Xq) (GeoFieldT a_a6Xq))
- Data.GeoIP2: _DataString :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) Text
+ Data.GeoIP2: _DataString :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Text
- Data.GeoIP2: _DataUnknown :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) (Word8, Int64)
+ Data.GeoIP2: _DataUnknown :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) (Word8, Int64)
- Data.GeoIP2: _DataWord :: forall a_a6NN. Prism' (GeoFieldT a_a6NN) Word64
+ Data.GeoIP2: _DataWord :: forall a_a6Xq. Prism' (GeoFieldT a_a6Xq) Word64

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.4.1.1++- Fix DataBool handling (#14)+ # 0.4.1.0 - Added domain field 
Data/GeoIP2/Fields.hs view
@@ -108,7 +108,7 @@         8 -> DataWord <$> parseNumber fsize         9 -> DataWord <$> parseNumber fsize         11 -> DataArray <$> replicateM (fromIntegral fsize) get-        14 -> return $ DataBool (fsize == 0)+        14 -> return $ DataBool (fsize == 1)         _ -> do           _ <- getBytes (fromIntegral fsize)           return $ DataUnknown ftype fsize
geoip2.cabal view
@@ -1,5 +1,5 @@ name:                geoip2-version:             0.4.1.0+version:             0.4.1.1 synopsis:            Pure haskell interface to MaxMind GeoIP database description:   GeoIP2 is a haskell binding to the MaxMind GeoIP2 database.