[Ruby] Release 0.53.0
·
219 commits
to master
since this release
Fixed
- Draft 4
type: integermatching aFloator not depending on its formatting; aFloatis never a draft 4 integer. uniqueItemsaccepting0alongside-0.0in arrays of more than 15 items.
Performance
- Canonicalizing an
allOfof object schemas walks their property maps once instead of looking every key up. propertiesandrequiredcompare short names withoutmemcmp.- Draft 4
type: integeris up to 6x faster on float-heavy instances. evaluaterenders each node's locations once instead of rebuilding them.- Building a schema resolves each
$reftarget once instead of per reference site. - Building a schema with an
$idencodes each absolute location once instead of re-validating it. enumlisting strings or integers, with or withoutnull, matches against a set instead of comparing each candidate.