Skip to content

Commit 5bfec04

Browse files
committed
v1.2.0
1 parent f6b1f4c commit 5bfec04

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

CHANGELOG.md

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

3+
## [1.2.0] - 2025-12-25 🎄
4+
5+
### Added
6+
7+
- Add smol_str03 feature (https://github.com/GREsau/schemars/pull/486)
8+
9+
### Changed
10+
11+
- Schemas generated for `HashMap`/`BTreeMap` with enum keys are now more specific (https://github.com/GREsau/schemars/pull/452)
12+
313
## [1.1.0] - 2025-11-05
414

515
### Added

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.1.0"
6+
version = "1.2.0"
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.1.0", optional = true, path = "../schemars_derive" }
16+
schemars_derive = { version = "=1.2.0", optional = true, path = "../schemars_derive" }
1717
serde = { version = "1.0.194", default-features = false, features = ["alloc"] }
1818
serde_json = { version = "1.0.127", default-features = false, features = ["alloc"] }
1919
dyn-clone = "1.0.17"

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.1.0"
6+
version = "1.2.0"
77
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
88
edition = "2021"
99
license = "MIT"

0 commit comments

Comments
 (0)