[Python] Release 0.50.1
·
12 commits
to master
since this release
Added
str()onContainment,Satisfiability,DistinctnessandCanonicalKindmembers reads as the label.
Changed
CanonicalSchema.satisfiability()answersYESfor a string whosepatternorformata matching value can be built from.CanonicalSchema.satisfiability()answersNOwhere aformattakes no string of the length the schema asks for.
Fixed
CanonicalSchema.negate()taking apart a union that reads a definition through its ownif, so a schema and its negation shared a value.CanonicalSchema.subtract()dropping a Draft 4 array member an element demand partly takes.CanonicalSchema.covers()answeringYeswhere 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.