Skip to content

[Ruby] Release 0.53.0

Choose a tag to compare

@github-actions github-actions released this 02 Sep 20:24
· 219 commits to master since this release
a1479a9

Fixed

  • Draft 4 type: integer matching a Float or not depending on its formatting; a Float is never a draft 4 integer.
  • uniqueItems accepting 0 alongside -0.0 in arrays of more than 15 items.

Performance

  • Canonicalizing an allOf of object schemas walks their property maps once instead of looking every key up.
  • properties and required compare short names without memcmp.
  • Draft 4 type: integer is up to 6x faster on float-heavy instances.
  • evaluate renders each node's locations once instead of rebuilding them.
  • Building a schema resolves each $ref target once instead of per reference site.
  • Building a schema with an $id encodes each absolute location once instead of re-validating it.
  • enum listing strings or integers, with or without null, matches against a set instead of comparing each candidate.