Skip to content

Releases: influxdb-rs/influxdb-rust

Version 0.7.2

14 Feb 10:20
v0.7.2
f3470e3
Compare
Choose a tag to compare

What's Changed

  • README: display clear errors in the example by @nim65s in #130
  • Fix bug with conversion of Timestamp::Microseconds to chrono::Datetime by @amonin7 in #134
  • Bump MSRV to 1.65 and fix warnings by @msrd0 in #135

New Contributors

Full Changelog: v0.7.1...v0.7.2

Version 0.7.1

08 Sep 10:34
v0.7.1
e9845a1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.7.1

Version 0.7.0

03 Jul 16:18
v0.7.0
9540e09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.7.0

Version 0.6.0

04 Mar 20:57
v0.6.0
92d62c0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.2...v0.6.0

Release v0.5.2

04 Feb 11:43
v0.5.2
9a7b24b
Compare
Choose a tag to compare

What's Changed

  • Disable chrono's default features by @msrd0 in #109

Full Changelog: v0.5.1...v0.5.2

Release v0.5.1

22 Dec 23:21
6df82f3
Compare
Choose a tag to compare

What's Changed

  • Redact passwords in Client's Debug implementation by @msrd0 in #106
  • Fix clippy lint on missing #[must_use] attributes by @msrd0 in #107

Full Changelog: v0.5.0...v0.5.1

Release v0.5.0

04 Nov 15:54
f7141a3
Compare
Choose a tag to compare

What's Changed

  • Reqwest Client (Tokio 1.0 support) by @msrd0 in #92
  • Remove warnings by @msrd0 in #97
  • Update links by @msrd0 in #98
  • PR template clippy surf OR reqwest by @nshaaban-cPacket in #100
  • Exposes surf's with_http_client by @nshaaban-cPacket in #94
  • Don't force passing references to Client::query by @msrd0 in #99
  • Replace futures dependency with futures-util by @msrd0 in #102

New Contributors

  • @nshaaban-cPacket made their first contribution in #100

Full Changelog: v0.4.0...v0.5.0

Release v0.4.0

07 Oct 16:35
Compare
Choose a tag to compare

What's Changed

  • Fix deserialization of Series in case of no values. by @JEnoch in #75
  • CI: test against MSRV by @msrd0 in #77
  • CI: enable code coverage with tarpaulin uploading to gh-pages by @msrd0 in #78
  • CI: make tarpaulin ignore test code by @msrd0 in #79
  • implement #[influxdb(tag)] and #[influxdb(ignore)] by @blasrodri in #81
  • Assertion should consider case-insensitive keywords by @rcastill in #83
  • Batch write support by @sunng87 in #87
  • Add h1-client-rustls feature by @JEnoch in #88

New Contributors

Full Changelog: v0.3.0...v0.4.0

Release v0.2.0

25 Oct 12:16
Compare
Choose a tag to compare

Added

  • Allow GROUP BY queries by providing deserialize_next_tagged to deserialize the group fields (@SafariMonkey in #69)
  • Added Default for series in InfluxDb Response (@SafariMonkey in #67)
  • WriteQuery and ReadQuery now derive Debug and Clone (@jaredwolff in #63)

Changed

  • Replaced failure crate with thiserror crate (@msrd0 in #70)

  • 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 available Timestamp 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)

Release v0.1.0

17 Mar 19:57
Compare
Choose a tag to compare

This adds #[derive(InfluxDbWriteable)] for Structs, fixes escaping for the line-protocol and improves timestamp handling.

Added

  • #[derive(InfluxDbWriteable)] for deriving struct writing (@msrd0)

Changed

  • Change type of timestamp-variants to u128 (@mario-kr)

Fixed

  • Use rfc3339 as default timestamp precision (@zjhmale)