jsonschema_rs 0.54.0-aarch64-linux → 0.55.1-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: a733de8889c90d64eeccdb19b4cf3076f02b768fa03550373da767d1ba8e5f2f
4
- data.tar.gz: d17718e3438ce8b6d15bfb38afc419ff6b0fda2dd124072063551688aecbd195
3
+ metadata.gz: 6cee25622bbfd132ae73c36b950bad8ae35c89de0c105f966344f23bcbc50545
4
+ data.tar.gz: b8d4e813e5cb74563bf5fc8326b8a0c26fdc9d0ce4bc6cf833694b7376ef2f5e
5
5
  SHA512:
6
- metadata.gz: 6469600d815a4970cc4b499864f6ca2682e1b695cb190f4ab4b7c5ef2a9be1b8e02182a983e538c88f6f0d3d3d38815d8c8dcd7a538017c390c6ea9feb6ef1df
7
- data.tar.gz: 1ad456b10b4b20406528cd28349163a98c6fe445bd6ebef4fafe476ae3988641f6b523b9e3f0fee45b709c31d5941f07d76d4ad8743fcd99a9bbb808d46a1884
6
+ metadata.gz: 8026e1ec9fd7bb8b003f6f8789dd0b11e775d003072f30e12dd5fa39903756e23e894c12992d4b5854150006d65728a039344a233cf102b36e98080bb1d91d3c
7
+ data.tar.gz: 219062db2aff0ff0a4cedca0b4aec4edd00c6e3db430cf535e2cf9ec5e30f7b79d12be5a19b9a65efa440508ec8236e72ebee0e6171fc39b99d2711ff6714eca
data/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.55.1] - 2026-09-08
6
+
7
+ ### Changed
8
+
9
+ - Canonicalization of an `anyOf` over an `allOf` through a `$ref` to a union, which left that union nested inside the outer one.
10
+ - Canonicalization of an `anyOf` whose branch narrowing runs out of intersections, which left `true` as a branch inside the union.
11
+
12
+ ## [0.55.0] - 2026-09-06
13
+
14
+ ### Added
15
+
16
+ - `JSONSchema::Canonical::PatternValueFailsView`, which `ObjectView#violations` records for a `patternProperties` entry.
17
+
18
+ ### Changed
19
+
20
+ - Canonicalization of `not` over `patternProperties`, which kept the entry under `not` instead of recording the demand a key breaks.
21
+ - Canonicalization of an `anyOf` over objects sharing a `properties` key under `patternProperties`, which settled only on a second pass.
22
+ - Canonicalization of `not` over an `allOf` folded through a reference, which settled only on a second pass.
23
+ - Canonicalization of a `multipleOf` divisor past `f64` precision, which was not taken to divide itself.
24
+ - Canonicalization of an `anyOf` over a value beside a window pinned to it, which settled only on a second pass.
25
+ - Canonicalization of `minProperties: 1` beside a `not` that already demands a key, which settled only on a second pass.
26
+
27
+ ### Fixed
28
+
29
+ - `absolute_keyword_location` naming the sibling keyword whose validator carries the check: `maxLength` beside `minLength`, `minItems`, `maxItems` or `type` beside `items`, and a two-name `required` beside `properties`. [#1579](https://github.com/Stranger6667/jsonschema/issues/1579)
30
+ - `schemaLocation` in `evaluate` output naming `minLength` for a `maxLength` failure. [#1579](https://github.com/Stranger6667/jsonschema/issues/1579)
31
+
5
32
  ## [0.54.0] - 2026-09-06
6
33
 
7
34
  ### Performance
@@ -525,7 +552,9 @@
525
552
 
526
553
  - Initial public release
527
554
 
528
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.54.0...HEAD
555
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.55.1...HEAD
556
+ [0.55.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.55.0...ruby-v0.55.1
557
+ [0.55.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.54.0...ruby-v0.55.0
529
558
  [0.54.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.53.0...ruby-v0.54.0
530
559
  [0.53.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.1...ruby-v0.53.0
531
560
  [0.52.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.0...ruby-v0.52.1
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.54.0"
4
+ VERSION = "0.55.1"
5
5
  end
data/sig/jsonschema.rbs CHANGED
@@ -207,7 +207,7 @@ module JSONSchema
207
207
  def properties: () -> Hash[String, CanonicalSchema]
208
208
  def pattern_properties: () -> Hash[String, CanonicalSchema]
209
209
  def additional_properties: () -> CanonicalSchema?
210
- def violations: () -> Array[NameFailsView | UndeclaredValueFailsView]
210
+ def violations: () -> Array[NameFailsView | UndeclaredValueFailsView | PatternValueFailsView]
211
211
  def inspect: () -> String
212
212
  def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]
213
213
  end
@@ -228,6 +228,14 @@ module JSONSchema
228
228
  def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]
229
229
  end
230
230
 
231
+ # Some key matching `pattern` has a value failing `schema`.
232
+ class PatternValueFailsView
233
+ def pattern: () -> String
234
+ def schema: () -> CanonicalSchema
235
+ def inspect: () -> String
236
+ def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]
237
+ end
238
+
231
239
  # The complement of an opaque schema.
232
240
  class NotView
233
241
  def schema: () -> CanonicalSchema
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.54.0
4
+ version: 0.55.1
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-09-06 00:00:00.000000000 Z
11
+ date: 2026-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal