packages feed

influxdb 1.0.0 → 1.1.0

raw patch · 3 files changed

+7/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ ## TBD +## v1.1.0 - 2017-03-23++* Handle empty "values" in parseSeriesBody+ ## v1.0.0 - 2017-03-03  The library was completely rewritten and support for older InfluxDB has been dropped.
influxdb.cabal view
@@ -1,5 +1,5 @@ name: influxdb-version: 1.0.0+version: 1.1.0 synopsis: Haskell client library for InfluxDB description: Haskell client library for InfluxDB homepage: https://github.com/maoe/influxdb-haskell@@ -150,5 +150,5 @@  source-repository this   type: git-  tag: v1.0.0+  tag: v1.1.0   location: https://github.com/maoe/influxdb-haskell.git
src/Database/InfluxDB/JSON.hs view
@@ -150,7 +150,7 @@ parseSeriesBody = A.withObject "series" $ \obj -> do   !name <- obj .:? "name"   !columns <- obj .: "columns"-  !values <- obj .: "values"+  !values <- obj .:? "values" .!= V.empty   !tags <- obj .:? "tags" .!= HashMap.empty   return (name, tags, columns, values)