All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2020-03-17
This adds #[derive(InfluxDbWriteable)]
for Structs, fixes escaping for the line-protocol and improves timestamp handling.
#[derive(InfluxDbWriteable)]
for deriving struct writing (@msrd0)
- Change type of timestamp-variants to
u128
(@mario-kr)
- Use
rfc3339
as default timestamp precision (@zjhmale)
- Rewrite to
async
/await
. Rust 1.39 is now the minimum required Rust version.
0.0.5 - 2019-08-16
This release removes the prefix InfluxDb
of most types in this library and reexports the types under the influxdb::
path. In most cases, you can directly use the types now: e.g. influxdb::Client
vs influxdb::client::InfluxDbClient
.
- Switch to
cargo-readme
for README generation (@senden9) - Contributing Guidelines, Code of Conduct and Issue Templates
- Removed dependency
itertools
(@mvucenovic) - Replace internal representation in query of
Any
by an enum (@pcpthm) - Remove
InfluxDb
in type names - Replace ToString with Into
- Fix Crates.io detecting license incorrectly (@mimetypes)
- Don't commit Cargo.lock (@msrd0)
- Fix and Enforce Clippy Lints (@msrd0)
0.0.4 - 2019-08-16
- Possibility to authenticate against a InfluxDb instance (@valkum)
0.0.3 - 2019-07-14
- Possibility to run multiple queries in one. See the Integration Tests in
tests/integration_tests.rs
for examples. - Ability to specify Timestamp for write queries
- You now have to borrow a query when passing it to the
query
method
0.0.2 - 2019-07-23
- URLEncode Query before sending it to InfluxDB, which caused some empty returns (#5)
- Improved Test Coverage: There's now even more tests verifying correctness of the crate (#5)
- It's no longer necessary to supply a wildcard generic when working with serde*integration:
client.json_query::<Weather>(query)
instead ofclient.json_query::<Weather, *>(query)