jsonschema_rs 0.58.2 → 0.58.4

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: 34e60e66ca9d299da585d633a82cee41eb2f9cb86922de8f738f40b040480fcb
4
- data.tar.gz: 8aa0d61693cd33c40670e03c07f5e1300520d186e91d4a7ae59cf337ff4c92a0
3
+ metadata.gz: eebce6f817d3f7c3f2735c03d72c8e70ae14399ec0379cf97e08c4af53f82ac6
4
+ data.tar.gz: 11532b9e972888378db6428b9f42427aa338da51a456b6e2a4df9320a32a7008
5
5
  SHA512:
6
- metadata.gz: 2adf780032240f1a2fbe627a3eee2bd810bada1e09c810f91ce2d4bf832378ce90e451f360f0e5d57ed91365108805b6dacc6613e021cd8097cbb00a6f22e93a
7
- data.tar.gz: fd697b9fb2ad488fa1f7101ad3d462a473219d0491f239eb497bff567cfee53afbd79fa4dca9b0756216d182de0774cf81907b4267e6f26febfd1cb171bf64f8
6
+ metadata.gz: b71d1b975f2621fa079548c032dfb6277046d01595a3f17ffe5a2b5d29f42d85f1216db919a5183e2b148f6364210b41792d0cf4802c50740e3d1cbfad420cfd
7
+ data.tar.gz: 03fa98bcd49da60b01087762c3a3b58831258a29781e098c24abf85e8a9b2945bfe663a2c9b36f2263ebc1b964e51a801fe5e93dec23bedb3e4d3d8e86eda47c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,40 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.58.4] - 2026-10-01
6
+
7
+ ### Fixed
8
+
9
+ - `inspect` of a `validator_for` validator naming the default draft instead of the one `$schema` declares.
10
+ - `unevaluatedProperties` and `unevaluatedItems` beside a `$recursiveRef` ignoring what the reference target evaluates.
11
+ - `unevaluatedProperties` ignoring the configured regex engine and its limits for `patternProperties`.
12
+ - Absolute keyword location and `schemaLocation` of keywords a `$ref` JSON Pointer reaches through a subschema with its own `$id`.
13
+ - `type`, `minItems` and `maxItems` ignored beside `items` when the applicator vocabulary is disabled.
14
+ - Absolute keyword location and `schemaLocation` of keywords inside a nested `$id` resource counting from the document root.
15
+ - `required` beside `properties` ignored when the applicator vocabulary is disabled, and `required`, `minContains` and `maxContains` applied when the validation vocabulary is disabled.
16
+ - Absolute keyword location and evaluation output of `type` errors in a `type`-only `items` subschema pointing at `items` instead of the failing element's `type`.
17
+ - Absolute keyword location of `patternProperties` annotations missing its JSON Pointer fragment.
18
+ - Evaluation output of `type: array` beside schema-form `items` omitting passing `type`, `minItems` and `maxItems` units and nesting failing ones under `items`.
19
+ - Evaluation output `schemaLocation` and absolute keyword location of `$ref`, `$dynamicRef` and `$recursiveRef` nodes not pointing at the reference target.
20
+ - Evaluation output `schemaLocation` URIs not percent-encoding their fragment, such as a space in a property name.
21
+ - Absolute keyword location of errors and annotations from a whole subschema, such as `false`, missing its JSON Pointer fragment.
22
+ - Absolute keyword location of `required`, `minContains` and `maxContains` errors pointing at a sibling keyword.
23
+ - Evaluation annotations from `$ref` siblings in Draft 4, 6 and 7 schemas.
24
+ - Masked `additionalItems` messages counting allowed items instead of extra ones, and "1 items" in masked `unevaluatedItems` messages.
25
+ - `$dynamicRef` and `$recursiveRef` resolving in the dynamic scope of another path to the same schema, depending on property order.
26
+ - `unevaluatedProperties` and `unevaluatedItems` ignoring what `then` or `else` evaluates when `if` is `true` or `false`.
27
+ - Stack overflow when building validators for long `$ref` chains.
28
+ - `format: "regex"` and meta-schema validation rejecting escaped punctuation such as `\-` in patterns.
29
+ - Build errors for an invalid `patternProperties` regex reporting the subschema instead of the pattern and its location.
30
+
31
+ ## [0.58.3] - 2026-09-30
32
+
33
+ ### Fixed
34
+
35
+ - Keywords of a subschema declaring a Draft 2019-09+ `$schema` under a Draft 4, 6 or 7 root being ignored.
36
+ - Evaluation annotations including those from subschemas of a failing schema (a failing schema produces no annotations).
37
+ - Embedded resources declaring their own `$schema` being checked against the root's meta-schema.
38
+
5
39
  ## [0.58.2] - 2026-09-28
6
40
 
7
41
  ### Fixed
@@ -603,7 +637,9 @@
603
637
 
604
638
  - Initial public release
605
639
 
606
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.2...HEAD
640
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.4...HEAD
641
+ [0.58.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.3...ruby-v0.58.4
642
+ [0.58.3]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.2...ruby-v0.58.3
607
643
  [0.58.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.1...ruby-v0.58.2
608
644
  [0.58.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.0...ruby-v0.58.1
609
645
  [0.58.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.57.0...ruby-v0.58.0
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.58.2"
3
+ version = "0.58.4"
4
4
  edition = "2021"
5
5
  authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
6
6
  license = "MIT"
@@ -14,7 +14,7 @@ crate-type = ["cdylib"]
14
14
 
15
15
  [dependencies]
16
16
  strum = "0.28.0"
17
- jsonschema = { version = "0.58.2", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
17
+ jsonschema = { version = "0.58.4", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
18
18
  magnus = { version = "0.8", features = ["rb-sys"] }
19
19
  rb-sys = "0.9"
20
20
  serde = { workspace = true }
@@ -693,9 +693,9 @@ dependencies = [
693
693
 
694
694
  [[package]]
695
695
  name = "jsonschema"
696
- version = "0.58.2"
696
+ version = "0.58.4"
697
697
  source = "registry+https://github.com/rust-lang/crates.io-index"
698
- checksum = "657c6a38b0e00dda091d9c006cc1741957ba2377f00dccfd6e79df4c95619bb1"
698
+ checksum = "5761b0ca0a31464030d7c2a98087fde3124ebb5e09b5a112cdb815f03b8ee150"
699
699
  dependencies = [
700
700
  "ahash",
701
701
  "bytecount",
@@ -727,9 +727,9 @@ dependencies = [
727
727
 
728
728
  [[package]]
729
729
  name = "jsonschema-macros"
730
- version = "0.58.2"
730
+ version = "0.58.4"
731
731
  source = "registry+https://github.com/rust-lang/crates.io-index"
732
- checksum = "e2a69dfc7e9b2accaa8285e37f99b09e533026a6e16678f9e9dc902b9a47e578"
732
+ checksum = "75e6d7c2c9afe6aa7de831af841801c954b83b1742f0e228b505326456a70b8f"
733
733
  dependencies = [
734
734
  "jsonschema-macros-core",
735
735
  "proc-macro2",
@@ -737,9 +737,9 @@ dependencies = [
737
737
 
738
738
  [[package]]
739
739
  name = "jsonschema-macros-core"
740
- version = "0.58.2"
740
+ version = "0.58.4"
741
741
  source = "registry+https://github.com/rust-lang/crates.io-index"
742
- checksum = "84287770d96c394d39693aff7a7a9ee3d12e4416456f4b225dd4f84554d642d5"
742
+ checksum = "65bcdd5a5c9e2c6ddefdddef36f1a27f5183649bd135f633e1bc6bfa97982407"
743
743
  dependencies = [
744
744
  "fancy-regex",
745
745
  "indexmap",
@@ -756,7 +756,7 @@ dependencies = [
756
756
 
757
757
  [[package]]
758
758
  name = "jsonschema-rb-ext"
759
- version = "0.58.2"
759
+ version = "0.58.4"
760
760
  dependencies = [
761
761
  "jsonschema",
762
762
  "magnus",
@@ -770,18 +770,18 @@ dependencies = [
770
770
 
771
771
  [[package]]
772
772
  name = "jsonschema-regex"
773
- version = "0.58.2"
773
+ version = "0.58.4"
774
774
  source = "registry+https://github.com/rust-lang/crates.io-index"
775
- checksum = "599c68ae272eac23e6525c3fc04a39828ae4a0d76d1fb5ba0e23a6241fd5cbfe"
775
+ checksum = "f1ffba4378a3d6ee7f1ab65a8ed95c711ccfe4a3870932bdce89d8260abed38a"
776
776
  dependencies = [
777
777
  "regex-syntax",
778
778
  ]
779
779
 
780
780
  [[package]]
781
781
  name = "jsonschema-value"
782
- version = "0.58.2"
782
+ version = "0.58.4"
783
783
  source = "registry+https://github.com/rust-lang/crates.io-index"
784
- checksum = "9097316258ece14ed6908011db130c54a11a5bd0c46472b1fe112c8c86261263"
784
+ checksum = "386121f898b560ff6aaa7974952720e9d9276a201eca31296387c2ed8707855e"
785
785
  dependencies = [
786
786
  "ahash",
787
787
  "bytecount",
@@ -1136,9 +1136,9 @@ dependencies = [
1136
1136
 
1137
1137
  [[package]]
1138
1138
  name = "referencing"
1139
- version = "0.58.2"
1139
+ version = "0.58.4"
1140
1140
  source = "registry+https://github.com/rust-lang/crates.io-index"
1141
- checksum = "ddfcda65789fdadcc3ddde7b127bd2272deb3fc97fddb4fc94a499f839989990"
1141
+ checksum = "5cfa1c91745dbca76a406b926918d7c63e15a4525ebab939fec3e015a1fb82b1"
1142
1142
  dependencies = [
1143
1143
  "ahash",
1144
1144
  "fluent-uri",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb-ext"
3
- version = "0.58.2"
3
+ version = "0.58.4"
4
4
  edition = "2021"
5
5
  publish = false
6
6
 
@@ -10,10 +10,10 @@ name = "jsonschema_rb"
10
10
  path = "../../src/lib.rs"
11
11
 
12
12
  [dependencies]
13
- jsonschema = { version = "0.58.2", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
13
+ jsonschema = { version = "0.58.4", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
14
14
  magnus = { version = "0.8", features = ["rb-sys"] }
15
15
  rb-sys = "0.9"
16
- referencing = "0.58.2"
16
+ referencing = "0.58.4"
17
17
  serde = { version = "1", features = ["derive"] }
18
18
  serde_json = { version = "1", features = ["arbitrary_precision"] }
19
19
  strum = "0.28.0"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.58.2"
4
+ VERSION = "0.58.4"
5
5
  end
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.58.2
4
+ version: 0.58.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dygalo