influxdb v1.9.0 Release Notes

Release Date: 2020-07-18 // about 4 years ago
    • ๐Ÿ›  Fix Ignore and Empty to replace the QueryResults instance for Void. The instance has been deprecated.
    • โœ‚ Remove the deprecated parseResults method in QueryResults.
    • โž• Add the coerceDecoder method in QueryResults.
    • โฌ‡๏ธ Drop support for GHC 8.2 and older because of the use of EmptyDataDeriving.
    • โšก๏ธ Update doctest comments with TypeApplications.

Previous changes from v1.8.0

  • ๐Ÿš€ This release reworked the QueryResuls type class. There are some breaking changes:

    • ๐Ÿ—„ parseResults has been deprecated. QueryResults has now parseMeasurement method.
    • Decoder has been monomorphized so that it can be used with lens. The original Decoder type has been renamed to SomeDecoder.
    • QueryParams has now decoder field.
    • ๐Ÿ“œ parseResults and parseResultsWith had been using lenientDecoder and it caused some unintuitive behavior (#64, #66). Now they use strictDecoder instead.
    • ๐Ÿ‘€ parseErrorObject now doesn't fail. It returns the error message of a response.
    • ๐Ÿ—„ parseQueryField which has been deprecated is now deleted.
    • ๐Ÿ›  QueryResults instance for ShowSeries was broken. This is fixed.
    • ๐Ÿ“œ The constructor of Decoder, parseResultsWith, and parseResultsWithDecoder have been hidden from the top-level module. They're still available from Database.InfluxDB.JSON.

    ๐Ÿ‘€ See #68 for how to migrate your code from v1.7.x to v1.8.x.