Skip to content

Commit 6ccc40b

Browse files
committed
(cargo-release) version 0.4.0
1 parent 04b3c0f commit 6ccc40b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased] - ReleaseDate
1111

12+
## [0.4.0] - 2022-09-19
13+
1214
### Changed
1315

1416
- The `DataService` trait has a new associated type, `Query`, which corresponds to the type of the query sent from the frontend component of the plugin (the `TQuery` type parameter of the frontend `DatasourceApi` implementation). The backend SDK will attempt to deserialize the JSON into this struct, and it will be accessible on the `query` property of each query in `QueryDataRequest.queries`. Note that `QueryDataRequest` is also now generic over this type. Within the `DataService` trait, it is simplest to use `Self::Query` to refer to the new type.
@@ -99,7 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99101
- Initial release of the SDK
100102

101103
<!-- next-url -->
102-
[unreleased]: https://github.com/grafana/grafana-plugin-sdk-rust/compare/v0.3.0...HEAD
104+
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.4.0...HEAD
105+
[unreleased]: https://github.com/grafana/grafana-plugin-sdk-rust/compare/v0.3.0...v0.4.0
103106
[0.3.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.3.0
104107
[0.2.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.2.0
105108
[0.1.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.1.0

crates/grafana-plugin-sdk-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ quote = "1.0.10"
1616
syn = { version = "1.0.81", features = ["full"] }
1717

1818
[dev-dependencies]
19-
grafana-plugin-sdk = { version = "0.3.0", path = "../grafana-plugin-sdk" }
19+
grafana-plugin-sdk = { version = "0.4.0", path = "../grafana-plugin-sdk" }
2020
http = "0.2.8"
2121
serde = { version = "1.0.144", features = ["derive"] }
2222
thiserror = "1.0.35"

crates/grafana-plugin-sdk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grafana-plugin-sdk"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Ben Sully <[email protected]>"]
55
license = "MIT/Apache-2.0"
66
edition = "2021"

0 commit comments

Comments
 (0)