From 26366d112de9c7c5a146958510b22b03f592a792 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sat, 24 Aug 2024 14:38:55 +0100 Subject: [PATCH] 1.0.0-alpha.11 --- CHANGELOG.md | 7 +++++++ Cargo.lock | 4 ++-- README.md | 2 +- docs/4-features.md | 2 +- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index caf0df7..159734e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.0-alpha.11] - 2024-08-24 + +### Changed + +- Values in `#[doc = ...]` and `#[schemars(description = ..., title = ...)]` attributes may now be any arbitrary expression rather than just string literals. (https://github.com/GREsau/schemars/issues/204 / https://github.com/GREsau/schemars/pull/327) +- ⚠️ MSRV is now 1.65 ⚠️ + ## [1.0.0-alpha.10] - 2024-08-22 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 6df0e11..f30be91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -309,7 +309,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "schemars" -version = "1.0.0-alpha.10" +version = "1.0.0-alpha.11" dependencies = [ "arrayvec", "bigdecimal", @@ -335,7 +335,7 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "1.0.0-alpha.10" +version = "1.0.0-alpha.11" dependencies = [ "pretty_assertions", "proc-macro2", diff --git a/README.md b/README.md index 7026666..67eb9ee 100644 --- a/README.md +++ b/README.md @@ -281,5 +281,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe ```toml [dependencies] -schemars = { version = "1.0.0-alpha.10", features = ["chrono04"] } +schemars = { version = "1.0.0-alpha.11", features = ["chrono04"] } ``` diff --git a/docs/4-features.md b/docs/4-features.md index 6846dec..5d87cd6 100644 --- a/docs/4-features.md +++ b/docs/4-features.md @@ -31,5 +31,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe ```toml [dependencies] -schemars = { version = "1.0.0-alpha.10", features = ["chrono04"] } +schemars = { version = "1.0.0-alpha.11", features = ["chrono04"] } ``` diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 719fa2b..443cd2e 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 = "1.0.0-alpha.10" +version = "1.0.0-alpha.11" authors = ["Graham Esau "] edition = "2021" license = "MIT" @@ -13,7 +13,7 @@ categories = ["encoding", "no-std"] rust-version = "1.65" [dependencies] -schemars_derive = { version = "=1.0.0-alpha.10", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=1.0.0-alpha.11", optional = true, path = "../schemars_derive" } serde = { version = "1.0", default-features = false, features = ["alloc"]} serde_json = { version = "1.0.122", default-features = false, features = ["alloc"] } dyn-clone = "1.0" diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index 6dafb8d..9dd63d5 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 = "1.0.0-alpha.10" +version = "1.0.0-alpha.11" authors = ["Graham Esau "] edition = "2021" license = "MIT"