Skip to content

Commit e235dbb

Browse files
committed
v1.0.3
1 parent 167edf3 commit e235dbb

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.0.3] - 2025-06-28
4+
5+
### Fixed
6+
7+
- Fix compile error when a doc comment is set on both a `transparent` (or newtype) struct and its field (https://github.com/GREsau/schemars/issues/446)
8+
- Fix `json_schema!()` macro compatibility when used from pre-2021 rust editions (https://github.com/GREsau/schemars/pull/447)
9+
310
## [1.0.2] - 2025-06-26
411

512
### Fixed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schemars/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "schemars"
33
description = "Generate JSON Schemas from Rust code"
44
homepage = "https://graham.cool/schemars/"
55
repository = "https://github.com/GREsau/schemars"
6-
version = "1.0.2"
6+
version = "1.0.3"
77
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
88
edition = "2021"
99
license = "MIT"
@@ -13,7 +13,7 @@ categories = ["encoding", "no-std"]
1313
rust-version = "1.74"
1414

1515
[dependencies]
16-
schemars_derive = { version = "=1.0.2", optional = true, path = "../schemars_derive" }
16+
schemars_derive = { version = "=1.0.3", optional = true, path = "../schemars_derive" }
1717
serde = { version = "1.0", default-features = false, features = ["alloc"]}
1818
serde_json = { version = "1.0.127", default-features = false, features = ["alloc"] }
1919
dyn-clone = "1.0"

schemars_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "schemars_derive"
33
description = "Macros for #[derive(JsonSchema)], for use with schemars"
44
homepage = "https://graham.cool/schemars/"
55
repository = "https://github.com/GREsau/schemars"
6-
version = "1.0.2"
6+
version = "1.0.3"
77
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
88
edition = "2021"
99
license = "MIT"

0 commit comments

Comments
 (0)