summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitsutoshiAoe <>2014-06-05 05:23:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2014-06-05 05:23:00 (GMT)
commit12a8f6354d38cf7ac76fde5528afa08b362857bd (patch)
tree1a1f40f30038ff80c70b245d34bf1818037bcb9a
parent1c35c25463d284a3c9fb3b4ccec014f076c29cda (diff)
version 0.4.00.4.0
-rw-r--r--CHANGELOG.md8
-rw-r--r--influxdb.cabal4
-rw-r--r--src/Database/InfluxDB/Types.hs6
3 files changed, 10 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 98b1860..09fad77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
-## v0.3.0.1
+## v0.4.0 - 2014-06-05
-* Allow exceptions-0.6 (@jwlato)
+* Remove `databaseReplicationFactor` field from `Database` type
+
+## v0.3.0.1 - 2014-06-04
+
+* Allow exceptions-0.6 (@JohnLato)
## v0.3.0 - 2014-06-03
diff --git a/influxdb.cabal b/influxdb.cabal
index 63fee17..a19e82a 100644
--- a/influxdb.cabal
+++ b/influxdb.cabal
@@ -1,5 +1,5 @@
name: influxdb
-version: 0.3.0.1
+version: 0.4.0
synopsis: Haskell client library for InfluxDB
description: Haskell client library for InfluxDB
homepage: https://github.com/maoe/influxdb-haskell
@@ -141,5 +141,5 @@ source-repository head
source-repository this
type: git
- tag: v0.3.0.1
+ tag: v0.4.0
location: https://github.com/maoe/influxdb-haskell.git
diff --git a/src/Database/InfluxDB/Types.hs b/src/Database/InfluxDB/Types.hs
index 626f2aa..84eec2a 100644
--- a/src/Database/InfluxDB/Types.hs
+++ b/src/Database/InfluxDB/Types.hs
@@ -175,10 +175,8 @@ data ServerPool = ServerPool
-- ^ The rest of the servers in the pool.
}
--- | Database consits of name and replication factor.
-data Database = Database
- { databaseName :: !Text
- , databaseReplicationFactor :: !(Maybe Int)
+newtype Database = Database
+ { databaseName :: Text
} deriving Show
newtype ScheduledDelete = ScheduledDelete