Release v0.2.0
Added
- Allow
GROUP BY
queries by providingdeserialize_next_tagged
to deserialize the group fields (@SafariMonkey in #69) - Added
Default
forseries
in InfluxDb Response (@SafariMonkey in #67) WriteQuery
andReadQuery
now deriveDebug
andClone
(@jaredwolff in #63)
Changed
-
Deserialize series are now deserialized using field names not field order (@SafariMonkey in #62)
-
Due to InfluxDb inconsistencies between versions and ambiguities,
Timestamp::Now
has been removed. Please calculate the current timestamp since the epoch yourself and use the other availableTimestamp
values like so:use influxdb::{Timestamp}; use std::time::{SystemTime, UNIX_EPOCH}; let start = SystemTime::now(); let since_the_epoch = start .duration_since(UNIX_EPOCH) .expect("Time went backwards") .as_millis(); let query = Timestamp::Milliseconds(since_the_epoch) .into_query("weather") .add_field("temperature", 82);
Fixed
- Fixed quotation marks of tag values and escaping of field values (@Robert-Steiner in #68)
- Fixed improper quoting on tag values when the value was text (@sparky8251 in #64)