jsonschema-rs v0.8.2 Release Notes
Release Date: 2021-05-03 // almost 3 years ago-
🐎 Performance
- Avoid some repetitive
String
allocations during validation. - ⬇️ Reduce the number of
RwLock.read()
calls in$ref
validators. - Shortcut in the
uniqueItems
validator for short arrays. additionalProperties
. Use vectors instead ofAHashMap
if the number of properties is small.- Special handling for single-item
required
validators. - Special handling for single-item
enum
validators. - Special handling for single-item
allOf
validators. - Special handling for single-item
patternProperties
validators without definedadditionalProperties
.
🛠 Fixed
- ✅ Floating point overflow in the
multipleOf
validator. Relevant test case from the JSONSchema test suite -float_overflow.json
.
- Avoid some repetitive