Skip to content

Releases: caffeinelabs/x-client

v0.1.2

20 Apr 22:52

Choose a tag to compare

Fixed

  • Request bodies no longer emit "field": null for optional fields that the caller left unset. Twitter's /2/tweets (and other strict-validation X endpoints) reject explicit null values 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 of serde@3.5.0 carrying the skip_null_fields JSON option pending NatLabs/serde#44) instead of serde@3.5.0. Public Motoko API unchanged.

v0.1.1

16 Apr 22:30

Choose a tag to compare

Fix: pass field names to serde JSON.toText so API requests use correct JSON keys instead of Candid hashes.

v0.1.0

24 Mar 11:10

Choose a tag to compare

Initial release of x-client: Motoko bindings for X (Twitter) API v2.

Generated from api.x.com/2/openapi.json (v2.160, 776KB):

  • 21 APIs, 575 Models, 1 Config.mo = 597 files
  • All pass moc --check + mops build