summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: fbc03459914e90b6df563df968d8d842b657dc9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# Revision history for influxdb

## v1.7.0 - 2019-05-03

* Support GHC 8.8.1-alpha1
  * The types of `getField` and `getTag` have changed
* Relax upper version bounds for clock and network

## v1.6.1.3 - 2019-03-26

* Drop unused dependency on QuickCheck

## v1.6.1.2 - 2019-01-21

* Relax upper version bound for network

## v1.6.1.1 - 2019-01-10

* Relax upper version bound for http-client

## v1.6.1 - 2018-11-20

* Add secureServer smart constructor for Server
* Test with InfluxDB 1.7.1 and newer GHCs including 8.6.2
* Enhace Haddock comments

## v1.6.0.9 - 2018-09-11

* Relax upper version bound for network

## v1.6.0.8 - 2018-09-04

* Relax upper version bound for QuickCheck

## v1.6.0.7 - 2018-07-23

* Relax upper version bound for base to support GHC 8.6 (#69)

## v1.6.0.6 - 2018-07-07

* Relax upper version bound for lens

## v1.6.0.5 - 2018-06-25

* Relax upper version bound for doctest

## v1.6.0.4 - 2018-06-18

* Relax upper version bound for containers

## v1.6.0.3 - 2018-06-11

* Relax upper version bound for aeson

## v1.6.0.2 - 2018-04-29

* Relax upper version bound for network

## v1.6.0.1 - 2018-04-20

* Relax upper version bound for foldl

## v1.6.0 - 2018-04-14

This release includes a few significant breaking changes.

* Deprecate the confusing parseQueryField and re-export parseJSON instead
* Rewrite the QueryResults instances for tuples
* Add Timestamp instance for TimeSpec (#59)
* Extend haddock comments

## v1.5.2 - 2018-04-11

* Export parseResultsWithDecoder, Decoder, lenientDecoder and strictDecoder from Database.InfluxDB
* Extend haddock comments

## v1.5.1 - 2018-03-29

* Add basic auth support for query (#58)

## v1.5.0 - 2018-03-15

* Change UnexpectedResponse constructor to include the request and throw it in place of UserError in query/write/manage
* Relax upper version bound for doctest
* Extend Haddock comments in Database.InfluxDB.Line

The first item is a breaking change.

## v1.4.0 - 2018-03-13

* Implement proper escaping/quoting for queries ([#54](https://github.com/maoe/influxdb-haskell/pull/54))
* Relax upper version bound for aeson
* Test against InfluxDB 1.5

## v1.3.0.1 - 2018-03-06

* Relax upper version bounds for doctest and QuickCheck

## v1.3.0 - 2018-03-05

* Relax upper version bound for base ([#51](https://github.com/maoe/influxdb-haskell/pull/51))
* Implement proper escaping and quoting for special characters ([#51](https://github.com/maoe/influxdb-haskell/pull/51), [#52](https://github.com/maoe/influxdb-haskell/pull/52))
  * Introduce the Measurement type and accompanying functions
* Fix a bug in the HTTP writer where the precision parameter is ignored when constructing requests
* Some minor doctest fixes

## v1.2.2.3 - 2018-01-30

* Relax upper version bounds for http-types, lens and time

## v1.2.2.2 - 2017-11-30

* Relax upper version bounds for http-types and tasty-hunit

## v1.2.2.1 - 2017-11-30

* Relax upper version bound for http-types

## v1.2.2 - 2017-06-26

* A couple of documentation fixes
* Add `Ord` instance for `Server`

## v1.2.1 - 2017-06-19

* Export `formatDatabase` and `formatKey` from `Database.InfluxDB` for convenience

## v1.2.0 - 2017-06-19

There are a lot of breaking changes in this release. The API has been cleaned up
and a lot of Haddock comments are added extensively.

* The `FieldVal` has been renamed to `Field` which takes `Nullability` as a type parameter.
* `localServer` has been renamed to `defaultServer`
* Some constructors in `InfluxException` have been renamed
  * `BadRequest` to `ClientError`
  * `IllformedJSON` to `UnexpectedResponse`
* Added a smart constructor `credentials` for `Credentials`
* Dropped `parseTimestamp` and added `parseUTCTime`
* `ping` handles timeout proerply and throws `InfluxException` on failure
* `PingResult` has been renamed to `Pong` and is now an abstract data type.
* `PingParams` has been turned into an abstract data type.
* `waitForLeader` has been renamed to `timeout`.
* `parsekey` has been removed. `getField` and `parseQueryField` can be used instead.
* Drop support for `http-client < 0.5`

## v1.1.2.2 - 2017-05-31

* Relax upper version bound for foldl

## v1.1.2.1 - 2017-05-02

* Relax version bounds for base and aeson

## v1.1.2 - 2017-04-10

* Tighten lower version bound for base [#43](https://github.com/maoe/influxdb-haskell/issues/43)
* Add `Database.InfluxDB.Format.{string,byteString8}`

## v1.1.1 - 2017-03-29

* Relax unnecessary Traversable constraints to Foldable

## 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.

* Support for InfluxDB 1.2

## v0.10.0 - 2016-05-17

* Fix a typo in a Haddock comment (#28)
* Drop support for retry < 0.7
* Add stack.yml
* Add support for GHC 8.0.1 (#29)

## v0.9.1.3 - 2015-06-02

* Relax upper bound for aeson

## v0.9.1.2 - 2015-05-15

* Relax upper bound for attoparsec

## v0.9.1.1 - 2015-03-07

* Allow retry >= 0.6 && < 0.7

## v0.9.1 - 2015-03-07

* Add `writeSeriesData`
* Relax upper version bound for exceptions
* Drop support for old retry package
  * retry < 0.6 had an unexpected behavior wrt exception masking state (https://github.com/Soostone/retry/pull/12)

## v0.9.0.1 - 2015-01-06

* Support for GHC 7.10.1

## v0.9.0 - 2014-11-27

* The `Value` parsers (accidentally) could throw exceptions. It's fixed now.
* Add `fromSeriesData_` which discards parsing errors and returns only successful data
* Remove `listInterfaces`

## v0.8.0 - 2014-11-07

* Retry on connection failure and response timeout in addition to IOException
  * Note that this may break existing code silently

## v0.7.1.1 - 2014-09-19

* Relax upper bound for http-client
* Set upper bounds for some packages

## v0.7.1 - 2014-09-16

* Add more lenses

## v0.7.0 - 2014-09-12

* Support for influxdb v0.8 (#15)
  * Add shard spaces API
  * Add `configureDatabase`
* Add Typeable and Generic instances where missing
* Remove unused `ScheduledDelete` type

## v0.6.0 - 2014-08-19

* Support for retry-0.5 (#16)
  * `newServerPoolWithRetrySettings` has been renamed to `newServerPoolWithRetryPolicy`
    * `serverRetrySettings` field in `ServerPool` has been renamed to `serverRetryPolicy`
* Support for network-uri (#17)

## v0.5.1 - 2014-07-18

* Export `InfluxException` from `Database.InfluxDB`

## v0.5.0 - 2014-07-18

* Add `InfluxException` type and use it when decoding JSON or SeriesData (#12)
* New API
  * `ping`
  * `listInterfaces`
  * `isInSync`
* BUGFIX: Fix `when expecting a Float, encountered Int instead` error (#14)

## v0.4.2 - 2014-06-06

* Export `newServerPoolWithRetrySettings` from `Database.InfluxDB`

## v0.4.1 - 2014-06-05

* Make retry settings configurable (#5)

## v0.4.0 - 2014-06-05

* Remove `databaseReplicationFactor` field from `Database` type

## v0.3.0.1 - 2014-06-04

* Allow exceptions-0.6 (@JohnLato)

## v0.3.0 - 2014-06-03

* Support for InfluxDB v0.7
  * Renamed `username` field for `/cluster_admins` to `user`
  * No support for the old field name

## v0.2.2 - 2014-05-08

* Support for retry-0.4
* Add deleteSeries
* Add authenticateClusterAdmin and authenticateDatabaseUser

## v0.2.1.1 - 2014-04-22

* Bug fix: Treat as integer if base10Exponent is positive

## v0.2.1 - 2014-04-22

* Add `stripPrefixSnake`

## v0.2.0.1 - 2014-04-17

* Drop unnecessary dependency on `scientific` when using old `aeson`.

## v0.2.0 - 2014-04-16

* Add more `FromValue` instances
* Add `(.:?)` and `(.!=)`
* Add `deriveSeriesData` and some variants
* Add left folds for `Stream` type

## v0.1.0.1 - 2014-04-07

* Support for older aeson
* Textual paramters in some functions for convenience
* A lot of bug fixes

## v0.0.0 - 2014-04-03

* Initial release