Skip to content

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 01:21
· 1 commit to main since this release
  • Fixed: Go and Rust can send null in sessions.updateMetadata, which removes a metadata key. TypeScript and Python already could.

  • Changed: Go sends a nil map value as null. It used to leave the key out. This also applies to metadata in Sessions.New and Sessions.ReplaceMetadata.

  • Breaking types: in Rust, SessionUpdateMetadataParams.metadata is a HashMap<String, Option<SessionUpdateMetadataParamsMetadata>>, where None removes the key, and SessionUpdateMetadataParamsMetadata::String2 is gone. The string lists and maps in the profile fingerprint, such as fonts and audio_codecs, hold Option<String>, because the API can send null in them.

  • Added: Rust request objects with required fields have a new constructor that takes only those fields. Fields with a single allowed value, such as command, fill themselves, and objects with no other required field implement Default.

  • Fixed: the links in the TypeScript and Python READMEs work on npm and PyPI.

  • Updated the generator and the runtimes.