jsonschema_rs 0.54.0-aarch64-linux → 0.55.0-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: '0216723379510248f48effc89a92c262d094c63d260fbd9bfaeb07f8b5332ddf'
4
+ data.tar.gz: f887a860e91ce8080a19f9f68c23ff4c07ff4e767f3c717e92b89c71e8ad71c3
5
5
  SHA512:
6
- metadata.gz: 6469600d815a4970cc4b499864f6ca2682e1b695cb190f4ab4b7c5ef2a9be1b8e02182a983e538c88f6f0d3d3d38815d8c8dcd7a538017c390c6ea9feb6ef1df
7
- data.tar.gz: 1ad456b10b4b20406528cd28349163a98c6fe445bd6ebef4fafe476ae3988641f6b523b9e3f0fee45b709c31d5941f07d76d4ad8743fcd99a9bbb808d46a1884
6
+ metadata.gz: 639e84f45a3350ad6a306a476249a8e319b11225289932328484f570a51e04c63712462b3bf225a5322143969ce16844b42f3b38287ee0c33e8ce2f9326dbe67
7
+ data.tar.gz: c597f2ed4a63eeb150fb84342e9357ab5993c86b52bd8803a31a5d744abd0971730078ddf6b83dbd6fe6b9db5ca97fce8e86f7f1340d7be45bfe3d5ed603988e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.55.0] - 2026-09-06
6
+
7
+ ### Added
8
+
9
+ - `JSONSchema::Canonical::PatternValueFailsView`, which `ObjectView#violations` records for a `patternProperties` entry.
10
+
11
+ ### Changed
12
+
13
+ - Canonicalization of `not` over `patternProperties`, which kept the entry under `not` instead of recording the demand a key breaks.
14
+ - Canonicalization of an `anyOf` over objects sharing a `properties` key under `patternProperties`, which settled only on a second pass.
15
+ - Canonicalization of `not` over an `allOf` folded through a reference, which settled only on a second pass.
16
+ - Canonicalization of a `multipleOf` divisor past `f64` precision, which was not taken to divide itself.
17
+ - Canonicalization of an `anyOf` over a value beside a window pinned to it, which settled only on a second pass.
18
+ - Canonicalization of `minProperties: 1` beside a `not` that already demands a key, which settled only on a second pass.
19
+
20
+ ### Fixed
21
+
22
+ - `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)
23
+ - `schemaLocation` in `evaluate` output naming `minLength` for a `maxLength` failure. [#1579](https://github.com/Stranger6667/jsonschema/issues/1579)
24
+
5
25
  ## [0.54.0] - 2026-09-06
6
26
 
7
27
  ### Performance
@@ -525,7 +545,8 @@
525
545
 
526
546
  - Initial public release
527
547
 
528
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.54.0...HEAD
548
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.55.0...HEAD
549
+ [0.55.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.54.0...ruby-v0.55.0
529
550
  [0.54.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.53.0...ruby-v0.54.0
530
551
  [0.53.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.1...ruby-v0.53.0
531
552
  [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.0"
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,7 +1,7 @@
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.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Dmitry Dygalo