jsonschema_rs 0.49.6-aarch64-linux → 0.49.7-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '07847ea4476c91eacdd6c87f05653aca1e501e8d41ecb218e88291c9cae6da87'
4
- data.tar.gz: e206925112e0edc658b1e5a206b7ee288c47e9afa3008df9f083e7bad83b98a2
3
+ metadata.gz: 21fc3926e4d172494ed5ecf163f1d5b6cb3924ce9984a7900aed12fda4fe6bc0
4
+ data.tar.gz: facbbb0fd9b0e20a71e47a23db0b4cf1489c5f5ec0729fd2b4986452363a66b2
5
5
  SHA512:
6
- metadata.gz: 2bfb492998dd9ac84dc0ce46d8adb37c4e699d863fb815adc4edca2dbd1dee279799be9c79a0fbf8e70bc2d38795eb78ba618fed22ed34a4889b135f8b1b75d0
7
- data.tar.gz: 0174ad4ebbdb3aef1d1fbb21cd5901fa7479954ef223e959d52e370bed7fb6775522b28232d75636aac9111b85b2f85e6499d8ce6e28965884cb6dfda3aef1c0
6
+ metadata.gz: ad81552ed6ddfab8e6af9b3658215a3f47140b17a189d0289bbaff0c43ced292f871655bdd043ad445788c9ae90c057c856b24bd3f7bc95d2061737887851022
7
+ data.tar.gz: edb3f852f083cd7167b1c0bbf7d35f0bbfddba718c10d4e3f79a263f63566de0efb6751baab1e6f24edda9668ae055db61ca671072fc0bcf3ced312b4933d794
data/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.49.7] - 2026-08-08
6
+
7
+ ### Added
8
+
9
+ - `retriever`, `registry`, and `base_uri` keyword arguments to `JSONSchema.canonicalize`.
10
+ - Canonicalization of a `oneOf` whose branches name disjoint targets, which degrades to a union.
11
+ - Canonicalization of a vacuous `patternProperties` entry beside schema-valued `additionalProperties`, where matching keys escape its value constraint.
12
+ - Canonicalization of a Draft 4 closed pattern map with a reference nested under a property.
13
+ - Canonicalization of Draft 4 closed pattern maps that meet through an applicator.
14
+ - The complement of a reference back to a target already being negated, which stays symbolic instead of declining.
15
+ - `CanonicalSchema#definition` resolving `#` to the document the schema was read against.
16
+
17
+ ### Performance
18
+
19
+ - Up to 150x faster canonicalization of `not` over a union of many branches.
20
+ - 2% faster emission of canonical schemas, which no longer formats copied string values.
21
+ - 5% faster emission of canonical schemas, which no longer formats object keys while copying them.
22
+ - Up to 12% faster canonicalization of schemas that repeatedly intersect the same branches.
23
+ - 13% faster canonicalization of a non-dynamic OpenAPI document, which no longer scans every schema object for dynamic references.
24
+ - Faster canonicalization of schemas with local `$defs` references, which avoid decoding unescaped definition names.
25
+ - 23% faster canonicalization of an object whose keys a finite property-name set spells.
26
+ - 3% faster intersection of schemas where one side constrains nothing.
27
+ - Up to 31x faster canonicalization of a `oneOf` whose many branches overlap.
28
+ - Up to 14x faster canonicalization of a union whose object branches share no values.
29
+ - 7% faster canonicalization of schemas that reach the same pair of nodes repeatedly.
30
+ - 5% faster canonicalization of objects, whose property maps no longer reach the allocator.
31
+ - Up to 8% faster canonicalization of schemas that reach `true` and `false` subschemas repeatedly.
32
+ - 2% faster canonicalization of schemas that assert known string formats.
33
+
34
+ ### Fixed
35
+
36
+ - `CanonicalSchema#definition` and `CanonicalSchema#definitions` handing out a target that names the document root without that document, where `#` points at the target instead.
37
+ - An `items` tail beyond an array's length ceiling surviving canonicalization, where it governs no element.
38
+ - `CanonicalSchema#to_json_schema` leaving the document root out of a node emitted below it, where `#` points at that node instead.
39
+
5
40
  ## [0.49.6] - 2026-08-06
6
41
 
7
42
  ### Added
@@ -327,7 +362,8 @@
327
362
 
328
363
  - Initial public release
329
364
 
330
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.6...HEAD
365
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.7...HEAD
366
+ [0.49.7]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.6...ruby-v0.49.7
331
367
  [0.49.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.5...ruby-v0.49.6
332
368
  [0.49.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.4...ruby-v0.49.5
333
369
  [0.49.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.3...ruby-v0.49.4
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.49.6"
4
+ VERSION = "0.49.7"
5
5
  end
data/sig/jsonschema.rbs CHANGED
@@ -202,7 +202,10 @@ module JSONSchema
202
202
  untyped schema,
203
203
  ?draft: draft?,
204
204
  ?validate_formats: bool?,
205
- ?pattern_options: (RegexOptions | FancyRegexOptions)?
205
+ ?pattern_options: (RegexOptions | FancyRegexOptions)?,
206
+ ?retriever: (^(String) -> untyped)?,
207
+ ?registry: Registry?,
208
+ ?base_uri: String?
206
209
  ) -> Canonical::CanonicalSchema
207
210
 
208
211
  # Create a validator with auto-detected draft version.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonschema_rs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.6
4
+ version: 0.49.7
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Dmitry Dygalo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-06 00:00:00.000000000 Z
11
+ date: 2026-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal