Releases: caffeinelabs/x-client
Releases · caffeinelabs/x-client
v0.1.2
Fixed
- Request bodies no longer emit
"field": nullfor optional fields that the caller left unset. Twitter's/2/tweets(and other strict-validation X endpoints) reject explicitnullvalues for typed optionals, so the generated client was previously unable to produce a valid tweet payload. The null entries are now omitted entirely.
Changed
- Depend on
serde-core@0.1.0(fork ofserde@3.5.0carrying theskip_null_fieldsJSON option pending NatLabs/serde#44) instead ofserde@3.5.0. Public Motoko API unchanged.