Skip to content

Commit fb63a44

Browse files
committed
Release 0.2.0
1 parent 7e66d2f commit fb63a44

File tree

6 files changed

+29
-8
lines changed

6 files changed

+29
-8
lines changed

CHANGELOG.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0] - 2020-10-25
11+
12+
### Added
13+
14+
- Allow `GROUP BY` queries by providing `deserialize_next_tagged` to deserialize the group fields ([@SafariMonkey](https://github.com/SafariMonkey) in [#69](https://github.com/Empty2k12/influxdb-rust/pull/69))
15+
- Added `Default` for `series` in InfluxDb Response ([@SafariMonkey](https://github.com/SafariMonkey) in [#67](https://github.com/Empty2k12/influxdb-rust/pull/67))
16+
- `WriteQuery` and `ReadQuery` now derive `Debug` and `Clone` ([@jaredwolff](https://github.com/jaredwolff) in [#63](https://github.com/Empty2k12/influxdb-rust/pull/63))
17+
18+
### Changed
19+
20+
- Replaced `failure` crate with `thiserror` crate ([@msrd0](https://github.com/msrd0) in [#70](https://github.com/Empty2k12/influxdb-rust/pull/70))
21+
- Deserialize series are now deserialized using field names not field order ([@SafariMonkey](https://github.com/SafariMonkey) in [#62](https://github.com/Empty2k12/influxdb-rust/pull/62))
1022
- 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:
1123

1224
```
@@ -22,7 +34,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2234
.add_field("temperature", 82);
2335
```
2436
25-
- `WriteQuery` and `ReadQuery` now derive `Debug` and `Clone` ([@jaredwolff](https://github.com/jaredwolff) in [#63](https://github.com/Empty2k12/influxdb-rust/pull/63))
37+
### Fixed
38+
39+
- Fixed quotation marks of tag values and escaping of field values ([@Robert-Steiner](https://github.com/Robert-Steiner) in [#68](https://github.com/Empty2k12/influxdb-rust/pull/68))
40+
- Fixed improper quoting on tag values when the value was text ([@sparky8251](https://github.com/sparky8251) in [#64](https://github.com/Empty2k12/influxdb-rust/pull/64))
2641
2742
## [0.1.0] - 2020-03-17
2843
@@ -93,7 +108,8 @@ This release removes the prefix `InfluxDb` of most types in this library and ree
93108
- Improved Test Coverage: There's now even more tests verifying correctness of the crate (#5)
94109
- It's no longer necessary to supply a wildcard generic when working with serde*integration: `client.json_query::<Weather>(query)` instead of `client.json_query::<Weather, *>(query)`
95110
96-
[unreleased]: https://github.com/Empty2k12/influxdb-rust/compare/v0.1.0...HEAD
111+
[unreleased]: https://github.com/Empty2k12/influxdb-rust/compare/v0.2.0...HEAD
112+
[0.2.0]: https://github.com/Empty2k12/influxdb-rust/compare/v0.1.0...v0.2.0
97113
[0.1.0]: https://github.com/Empty2k12/influxdb-rust/compare/v0.0.6...v0.1.0
98114
[0.0.5]: https://github.com/Empty2k12/influxdb-rust/compare/v0.0.5...v0.0.6
99115
[0.0.5]: https://github.com/Empty2k12/influxdb-rust/compare/v0.0.4...v0.0.5

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Pull requests are always welcome. See [Contributing](https://github.com/Empty2k1
4040
- Authenticated and Unauthenticated Connections
4141
- `async`/`await` support
4242
- `#[derive(InfluxDbWriteable)]` Derive Macro for Writing / Reading into Structs
43+
- `GROUP BY` support
4344

4445
### Planned Features
4546

@@ -50,7 +51,7 @@ Pull requests are always welcome. See [Contributing](https://github.com/Empty2k1
5051
Add the following to your `Cargo.toml`
5152

5253
```toml
53-
influxdb = { version = "0.1.0", features = ["derive"] }
54+
influxdb = { version = "0.2.0", features = ["derive"] }
5455
```
5556

5657
For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
@@ -99,4 +100,5 @@ in the repository.
99100
## License
100101

101102
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
102-
@ 2019 Gero Gerke, All rights reserved.
103+
104+
@ 2020 Gero Gerke and [contributors](https://github.com/Empty2k12/influxdb-rust/graphs/contributors).

README.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@
2828
</p>
2929

3030
{{readme}}
31-
@ 2019 Gero Gerke, All rights reserved.
31+
32+
@ 2020 Gero Gerke and [contributors](https://github.com/Empty2k12/influxdb-rust/graphs/contributors).

influxdb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ travis-ci = { repository = "Empty2k12/influxdb-rust", branch = "master" }
1919
chrono = { version = "0.4.11", features = ["serde"] }
2020
futures = "0.3.4"
2121
lazy_static = "1.4.0"
22-
influxdb_derive = { version = "0.1.0", optional = true }
22+
influxdb_derive = { version = "0.2.0", optional = true }
2323
regex = "1.3.5"
2424
reqwest = { version = "0.10.4", features = ["json"] }
2525
serde = { version = "1.0.104", features = ["derive"], optional = true }

influxdb/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//! - Authenticated and Unauthenticated Connections
1212
//! - `async`/`await` support
1313
//! - `#[derive(InfluxDbWriteable)]` Derive Macro for Writing / Reading into Structs
14+
//! - `GROUP BY` support
1415
//!
1516
//! ## Planned Features
1617
//!
@@ -21,7 +22,7 @@
2122
//! Add the following to your `Cargo.toml`
2223
//!
2324
//! ```toml
24-
//! influxdb = { version = "0.1.0", features = ["derive"] }
25+
//! influxdb = { version = "0.2.0", features = ["derive"] }
2526
//! ```
2627
//!
2728
//! For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
@@ -72,6 +73,7 @@
7273
//! [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7374
7475
#![allow(clippy::needless_doctest_main)]
76+
#![allow(clippy::needless_lifetimes)] // False positive in client/mod.rs query fn
7577

7678
mod client;
7779
mod error;

influxdb_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "influxdb_derive"
5-
version = "0.1.0"
5+
version = "0.2.0"
66
authors = ["Gero Gerke <11deutron11@gmail.com>"]
77
edition = "2018"
88
description = "InfluxDB Driver for Rust - Derive"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy