From 9415fcb57b85f12e07afeb1dd16184bab0e26a84 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 17 Sep 2023 21:13:54 +0100 Subject: [PATCH] v0.8.15 --- CHANGELOG.md | 6 ++++++ README.md | 3 ++- docs/4-features.md | 3 ++- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0e57a..6886f57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.8.15] - 2023-09-17 + +### Added: + +- Implement `JsonSchema` for `BigDecimal` from `bigdecimal` 0.4 (https://github.com/GREsau/schemars/pull/237) + ## [0.8.14] - 2023-09-17 ### Added: diff --git a/README.md b/README.md index dd42b05..2ff1837 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,8 @@ Schemars can implement `JsonSchema` on types from several popular crates, enable - `bytes` - [bytes](https://crates.io/crates/bytes) (^1.0) - `enumset` - [enumset](https://crates.io/crates/enumset) (^1.0) - `rust_decimal` - [rust_decimal](https://crates.io/crates/rust_decimal) (^1.0) -- `bigdecimal` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.3) +- `bigdecimal03` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.3) +- `bigdecimal04` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.4) - `smol_str` - [smol_str](https://crates.io/crates/smol_str) (^0.1.17) - `semver` - [semver](https://crates.io/crates/semver) (^1.0.9) diff --git a/docs/4-features.md b/docs/4-features.md index d44f0ae..5ef68e5 100644 --- a/docs/4-features.md +++ b/docs/4-features.md @@ -27,7 +27,8 @@ Schemars can implement `JsonSchema` on types from several popular crates, enable - `bytes` - [bytes](https://crates.io/crates/bytes) (^1.0) - `enumset` - [enumset](https://crates.io/crates/enumset) (^1.0) - `rust_decimal` - [rust_decimal](https://crates.io/crates/rust_decimal) (^1.0) -- `bigdecimal` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.3) +- `bigdecimal03` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.3) +- `bigdecimal04` - [bigdecimal](https://crates.io/crates/bigdecimal) (^0.4) - `smol_str` - [smol_str](https://crates.io/crates/smol_str) (^0.1.17) - `semver` - [semver](https://crates.io/crates/semver) (^1.0.9) diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index eda43d0..3b54513 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.14" +version = "0.8.15" authors = ["Graham Esau "] edition = "2021" license = "MIT" @@ -14,7 +14,7 @@ build = "build.rs" rust-version = "1.60" [dependencies] -schemars_derive = { version = "=0.8.14", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=0.8.15", 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 2c92b40..f09fc04 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.14" +version = "0.8.15" authors = ["Graham Esau "] edition = "2021" license = "MIT"