Skip to content

Commit a7a0a68

Browse files
authored
Update changelogs from fern repo (#6945)
Co-authored-by: thesandlord <8902396+thesandlord@users.noreply.github.com>
1 parent c539ab3 commit a7a0a68

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 1.58.1
2+
**`(fix):`** Preserve required-nullable fields that arrive as `null` when a decoded model is
3+
marshaled again. Generated `UnmarshalJSON` now records which required-nullable
4+
keys were present in the incoming JSON (via a per-type wire-name-to-field-bit
5+
table) so that `MarshalJSON` re-emits them as `null` instead of dropping them.
6+
Fields absent from the input stay absent, and freshly constructed values
7+
(e.g. request bodies) serialize exactly as before.
8+
9+

0 commit comments

Comments
 (0)