From 9464118c3a3894c95037b3e25cb3ac9116eaf849 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Tue, 17 May 2022 18:33:47 +0100 Subject: [PATCH] v0.8.10 --- CHANGELOG.md | 6 +++++- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad22f21..b081bfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog +## [0.8.10] - 2022-05-17 +- Undo "Support generic default values in default attributes (https://github.com/GREsau/schemars/pull/83)" as it inadvertently introduced a breaking change (https://github.com/GREsau/schemars/issues/144) + ## [0.8.9] - 2022-05-16 ### Added: -- Support generic default values in `default` attributes (https://github.com/GREsau/schemars/pull/83) +- ~~Support generic default values in `default` attributes (https://github.com/GREsau/schemars/pull/83)~~ + - ⚠️ **This inadvertently introduced a breaking change and was removed in 0.8.10** - Add missing MIT licence text for usage of code from regex_syntax crate (https://github.com/GREsau/schemars/pull/132) - Support uuid v1 and arrayvec 0.7 via feature flags `uuid1` and `arrayvec07` (https://github.com/GREsau/schemars/pull/142) - This also adds `uuid08` and `arrayvec05` feature flags for the previously supported versions of these crates. The existing `uuid` and `arrayvec` flags are still supported for backward-compatibility, but they are **deprecated**. diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 604124c..8703efe 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.9" +version = "0.8.10" authors = ["Graham Esau "] edition = "2018" license = "MIT" @@ -13,7 +13,7 @@ categories = ["encoding"] build = "build.rs" [dependencies] -schemars_derive = { version = "=0.8.9", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=0.8.10", 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 a001d44..a6fa37e 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.9" +version = "0.8.10" authors = ["Graham Esau "] edition = "2018" license = "MIT"