Skip to content

onlyworlds 0.134.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 08:18
· 113 commits to main since this release
  • ApiError.fields_refusal: everything a read's fields list got wrong, in one answer. A read whose fields names fields the type does not have is one 422 with param fields, as before. Since 17 November 2026 onlyworlds.com names every unknown name in it, where it named only the first: the message lists them, and the error carries unknown_fields (each unknown name once, in the order sent), types_with_field (for each one another element type has, those types) and allowed_fields (the names this type takes). fields_refusal returns the three as a dict, as served, so a caller corrects the list in one try; it is None for any other error. A list with one unknown name keeps the message it always had, and no code in the package read that message. The npm SDK's err.fieldsRefusal, in 4.179.0.