Skip to content

Releases: Stranger6667/jsonschema

[Ruby] Release 0.48.2

Choose a tag to compare

@github-actions github-actions released this 22 Jul 08:50
1dd5d07

Fixed

  • Canonical::JSON.to_string incorrectly emitting exponent form for small Float values (e.g. 1e-7 instead of 0.0000001).

Performance

  • Faster validator compilation by pre-sizing internal caches.

[Python] Release 0.48.2

Choose a tag to compare

@github-actions github-actions released this 20 Jul 22:40
2de9944

Performance

  • Faster validator compilation by pre-sizing internal caches.

[CLI] Release 0.48.2

Choose a tag to compare

@github-actions github-actions released this 27 Aug 06:33
76c3594
cli-v0.48.2

chore(rust): Release 0.48.2

[Rust] Release 0.48.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 21:13
4313166

Fixed

  • Missing required errors in evaluate() output for schemas with properties and a two-entry required array. #1220
  • contentEncoding errors for invalid UTF-8 after decoding incorrectly had empty instance_path and schema_path.

Performance

  • Faster code generation for #[jsonschema::validator] (~5% across benchmarked schemas), via aliasing repeated paths in the emitted code.

[Ruby] Release 0.48.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 21:50
1c707f3

Fixed

  • Missing required errors in evaluate output for schemas with properties and a two-entry required array. #1220
  • contentEncoding errors for invalid UTF-8 after decoding incorrectly had empty instance_path and schema_path.

[Python] Release 0.48.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 21:40
b2e157d

Fixed

  • Missing required errors in evaluate() output for schemas with properties and a two-entry required array. #1220
  • contentEncoding errors for invalid UTF-8 after decoding incorrectly had empty instance_path and schema_path.

[CLI] Release 0.48.1

Choose a tag to compare

@github-actions github-actions released this 27 Aug 06:34
4313166
cli-v0.48.1

chore(rust): Release 0.48.1

[Rust] Release 0.48.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 15:00
e22ef91

Added

  • iter_errors for #[jsonschema::validator]-generated validators.

Fixed

  • Per-branch context on generated anyOf and oneOf validation errors, matching runtime validators.
  • $recursiveRef in generated validators incorrectly resolved to the innermost $recursiveAnchor (it should resolve to the outermost one).
  • Integer instances just outside the i64/u64 range incorrectly compared against numeric bounds through lossy f64 rounding under arbitrary-precision (e.g. {"minimum": -9223372036854775808} accepted -9223372036854775809).

Changed

  • One canonical number spelling from canonical::json::to_string under arbitrary-precision ("1e-2" becomes "0.01", "1.50" becomes "1.5") and correctly-rounded float parsing (serde_json's float_roundtrip).

Performance

  • Faster multipleOf validation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.

[Ruby] Release 0.48.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 16:03
ab95859

Fixed

  • JSONSchema::Meta.valid? and JSONSchema::Meta.validate! incorrectly accepted some Draft 2019-09 schemas that the meta-schema rejects.
  • Integers just outside the i64/u64 range incorrectly compared against numeric bounds through lossy f64 rounding (e.g. {"minimum" => -9223372036854775808} accepted -9223372036854775809).

Performance

  • Faster multipleOf validation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.

[Python] Release 0.48.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 15:22
11f01d3

Fixed

  • meta.is_valid and meta.validate incorrectly accepted some Draft 2019-09 schemas that the meta-schema rejects.
  • Integers just outside the i64/u64 range incorrectly compared against numeric bounds through lossy f64 rounding (e.g. {"minimum": -9223372036854775808} accepted -9223372036854775809).

Performance

  • Faster multipleOf validation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.