From 1a13ba9f9b374e45f9a8eacc5e18229976e07d1f Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 14 Nov 2021 19:23:15 +0000 Subject: [PATCH] v0.8.7 --- CHANGELOG.md | 7 +++++++ schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce09bc1..5b9f451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.8.7] - 2021-11-14 +### Added: +- Implement `JsonSchema` for `EnumSet` (https://github.com/GREsau/schemars/pull/92) + +### Fixed: +- Do not cause compile error when using a default value that doesn't implement `Serialize` (https://github.com/GREsau/schemars/issues/115) + ## [0.8.6] - 2021-09-26 ### Changed: - Use `oneOf` instead of `anyOf` for enums when possible (https://github.com/GREsau/schemars/issues/108) diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index c7b8bff..993f126 100644 --- a/schemars/Cargo.toml +++ b/schemars/Cargo.toml @@ -3,7 +3,7 @@ name = "schemars" description = "Generate JSON Schemas from Rust code" homepage = "https://graham.cool/schemars/" repository = "https://github.com/GREsau/schemars" -version = "0.8.6" +version = "0.8.7" authors = ["Graham Esau "] edition = "2018" license = "MIT" @@ -13,7 +13,7 @@ categories = ["encoding"] build = "build.rs" [dependencies] -schemars_derive = { version = "=0.8.6", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=0.8.7", optional = true, path = "../schemars_derive" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" dyn-clone = "1.0" diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index d4be61a..4e08ee0 100644 --- a/schemars_derive/Cargo.toml +++ b/schemars_derive/Cargo.toml @@ -3,7 +3,7 @@ name = "schemars_derive" description = "Macros for #[derive(JsonSchema)], for use with schemars" homepage = "https://graham.cool/schemars/" repository = "https://github.com/GREsau/schemars" -version = "0.8.6" +version = "0.8.7" authors = ["Graham Esau "] edition = "2018" license = "MIT"