influxdb v1.9.0 Release Notes
Release Date: 2020-07-18 // almost 5 years ago-
- ๐ Fix
Ignore
andEmpty
to replace theQueryResults
instance forVoid
. The instance has been deprecated. - โ Remove the deprecated
parseResults
method inQueryResults
. - โ Add the
coerceDecoder
method inQueryResults
. - โฌ๏ธ Drop support for GHC 8.2 and older because of the use of
EmptyDataDeriving
. - โก๏ธ Update doctest comments with
TypeApplications
.
- ๐ Fix
Previous changes from v1.8.0
-
๐ This release reworked the
QueryResuls
type class. There are some breaking changes:- ๐
parseResults
has been deprecated.QueryResults
has nowparseMeasurement
method. Decoder
has been monomorphized so that it can be used with lens. The originalDecoder
type has been renamed toSomeDecoder
.QueryParams
has nowdecoder
field.- ๐
parseResults
andparseResultsWith
had been usinglenientDecoder
and it caused some unintuitive behavior (#64, #66). Now they usestrictDecoder
instead. - ๐
parseErrorObject
now doesn't fail. It returns the error message of a response. - ๐
parseQueryField
which has been deprecated is now deleted. - ๐
QueryResults
instance forShowSeries
was broken. This is fixed. - ๐ The constructor of
Decoder
,parseResultsWith
, andparseResultsWithDecoder
have been hidden from the top-level module. They're still available fromDatabase.InfluxDB.JSON
.
๐ See #68 for how to migrate your code from v1.7.x to v1.8.x.
- ๐