Skip to content

Commit

Permalink
(cargo-release) version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sd2k committed Sep 19, 2022
1 parent 04b3c0f commit 6ccc40b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased] - ReleaseDate

## [0.4.0] - 2022-09-19

### Changed

- 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.
Expand Down Expand Up @@ -99,7 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release of the SDK

<!-- next-url -->
[unreleased]: https://github.com/grafana/grafana-plugin-sdk-rust/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.4.0...HEAD
[unreleased]: https://github.com/grafana/grafana-plugin-sdk-rust/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.3.0
[0.2.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.2.0
[0.1.0]: https://github.com/grafana/grafana-plugin-sdk-rust/tag/v0.1.0
2 changes: 1 addition & 1 deletion crates/grafana-plugin-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ quote = "1.0.10"
syn = { version = "1.0.81", features = ["full"] }

[dev-dependencies]
grafana-plugin-sdk = { version = "0.3.0", path = "../grafana-plugin-sdk" }
grafana-plugin-sdk = { version = "0.4.0", path = "../grafana-plugin-sdk" }
http = "0.2.8"
serde = { version = "1.0.144", features = ["derive"] }
thiserror = "1.0.35"
Expand Down
2 changes: 1 addition & 1 deletion crates/grafana-plugin-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grafana-plugin-sdk"
version = "0.3.0"
version = "0.4.0"
authors = ["Ben Sully <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
Expand Down

0 comments on commit 6ccc40b

Please sign in to comment.