v0.15.1
Two correctness fixes for cross-schema $ref.
- Coercion, defaults and
removeAdditionalnow follow a$refto the referenced shape, so shared route schemas likeparams: { $ref: 'shared#' }and property refs like{ id: { $ref: 'shared#/properties/id' } }get preprocessed instead of skipped. - The compile cache now keys on referenced schema content, not just the
$id. Two validators sharing a root schema and an$idthat points at different schemas no longer reuse the wrong compiled function.