diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0e57ae..6886f578 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 dd42b050..2ff1837d 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 d44f0ae2..5ef68e52 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 eda43d02..3b54513d 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 2c92b402..f09fc04d 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"