Releases: influxdb-rs/influxdb-rust
Releases · influxdb-rs/influxdb-rust
Version 0.7.2
Version 0.7.1
What's Changed
- Make Error comparable by @bytedream in #127
- Fix json_query not sending token in request by @bytedream in #128
New Contributors
- @bytedream made their first contribution in #127
Full Changelog: v0.7.0...v0.7.1
Version 0.7.0
What's Changed
- Update syn to 2.0 by @msrd0 in #119
- Update CI by @msrd0 in #122
- Opt-in Line-Protocol for Compatibility Mode by @Empty2k12 in #123
- Use cargo doc2readme instead of cargo readme by @msrd0 in #125
Full Changelog: v0.6.0...v0.7.0
Version 0.6.0
What's Changed
- Updating README.md to reflect bulk write capability added in #87 by @sdether in #112
- Fix clippy lints by @msrd0 in #114
- Send uints as unsigned integers on the line protocol (
u
suffix instead ofi
) by @mcronce in #113 - Added support for token auth by @bogdad and @sunng87 in #118
New Contributors
- @sdether made their first contribution in #112
- @mcronce made their first contribution in #113
- @bogdad made their first contribution in #118
Full Changelog: v0.5.2...v0.6.0
Release v0.5.2
Release v0.5.1
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
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
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
- @blasrodri made their first contribution in #81
- @rcastill made their first contribution in #83
- @sunng87 made their first contribution in #87
Full Changelog: v0.3.0...v0.4.0
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)
Release v0.1.0
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)