[Ruby] Release 0.50.1
·
19 commits
to master
since this release
Changed
CanonicalSchema#satisfiabilityanswers:yesfor a string whosepatternorformata matching value can be built from.CanonicalSchema#satisfiabilityanswers:nowhere aformattakes no string of the length the schema asks for.
Fixed
CanonicalSchema#negatetaking apart a union that reads a definition through its ownif, so a schema and its negation shared a value.CanonicalSchema#subtractdropping a Draft 4 array member an element demand partly takes.CanonicalSchema#coversansweringYeswhere a Draft 4 element demand refuses a member.- A string schema whose
maxLengthis0keeping apattern,format, or content facet unread, so the same constraints written in one object and written as anallOfreached different canonical forms.
Performance
notover a wide object schema costs its branch count instead of its square.notover an object schema is linear in its property count, not quadratic.notover an object schema withadditionalProperties: falseno longer costs cubic time in its property count.