From 8da70a4d458e434444a0fca2d0f058a8e6870890 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Mon, 6 May 2024 18:13:54 +0100 Subject: [PATCH] v0.8.19 --- CHANGELOG.md | 6 ++++++ Cargo.lock | 4 ++-- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8eb5406..58f9ee8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.8.19] - 2024-05-06 + +### Fixed: + +- Regression that caused a compile error when deriving `JsonSchema` on an enum with no variants ([https://github.com/GREsau/schemars/pull/266 / https://github.com/GREsau/schemars/pull/286](https://github.com/GREsau/schemars/issues/287)) + ## [0.8.18] - 2024-05-06 ### Fixed: diff --git a/Cargo.lock b/Cargo.lock index 5fc997e..516f979 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,7 +318,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "schemars" -version = "0.8.18" +version = "0.8.19" dependencies = [ "arrayvec 0.5.2", "arrayvec 0.7.4", @@ -347,7 +347,7 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.18" +version = "0.8.19" dependencies = [ "pretty_assertions", "proc-macro2", diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 1f300f1..579e8c0 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.18" +version = "0.8.19" authors = ["Graham Esau "] edition = "2021" license = "MIT" @@ -14,7 +14,7 @@ build = "build.rs" rust-version = "1.60" [dependencies] -schemars_derive = { version = "=0.8.18", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=0.8.19", optional = true, path = "../schemars_derive" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.25" dyn-clone = "1.0" diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index 8e2a117..996c051 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.18" +version = "0.8.19" authors = ["Graham Esau "] edition = "2021" license = "MIT"