Influxdb Rust Versions Save

Rust Client for the InfluxDB Time Series Database

v0.7.2

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.7.1...v0.7.2

v0.7.1

8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.7.0...v0.7.1

v0.7.0

10 months ago

What's Changed

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.6.0...v0.7.0

v0.6.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.2...v0.6.0

v0.5.2

2 years ago

What's Changed

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.1...v0.5.2

v0.5.1

2 years ago

What's Changed

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.0...v0.5.1

v0.5.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.4.0...v0.5.0

v0.4.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.3.0...v0.4.0

v0.2.0

3 years ago

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)

v0.1.0

4 years ago

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)