You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.adoc
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
=== Bug fixes
17
17
* fix untagged enum variant ordering: Integer now comes before Number to prevent unreachable deserialization (#991)
18
18
* generate `Default` impl for structs where all required fields have explicit defaults (#918)
19
+
* honour the JSON Schema `required` contract on serialization for fields whose Rust type has an intrinsic default (`Vec`, `HashMap`, `Option<T>`). Previously an empty/`None` required field was silently omitted because `skip_serializing_if` was applied; now `#[serde(default)]` is emitted alone, so deserialize stays lenient (`{}` parses) but serialize always renders the field. **Wire-format change**: payloads that previously omitted empty required fields will now render them as `[]`, `{}`, or `null`
19
20
* generate `TryFrom` instead of `From` for bounded integer newtypes, enforcing min/max constraints (#986)
20
21
* render integer `minimum`/`maximum` as integers (not floats) in doc comments (#843)
21
22
* handle special characters in enum variant names (`=`, `>`, `≥`, etc.) without panicking (#948)
0 commit comments