jsonschema_rs 0.58.3 → 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 +4 -4
- data/CHANGELOG.md +28 -1
- data/Cargo.toml +2 -2
- data/ext/jsonschema/Cargo.lock +13 -13
- data/ext/jsonschema/Cargo.toml +3 -3
- data/lib/jsonschema/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eebce6f817d3f7c3f2735c03d72c8e70ae14399ec0379cf97e08c4af53f82ac6
|
|
4
|
+
data.tar.gz: 11532b9e972888378db6428b9f42427aa338da51a456b6e2a4df9320a32a7008
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b71d1b975f2621fa079548c032dfb6277046d01595a3f17ffe5a2b5d29f42d85f1216db919a5183e2b148f6364210b41792d0cf4802c50740e3d1cbfad420cfd
|
|
7
|
+
data.tar.gz: 03fa98bcd49da60b01087762c3a3b58831258a29781e098c24abf85e8a9b2945bfe663a2c9b36f2263ebc1b964e51a801fe5e93dec23bedb3e4d3d8e86eda47c
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
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
|
+
|
|
5
31
|
## [0.58.3] - 2026-09-30
|
|
6
32
|
|
|
7
33
|
### Fixed
|
|
@@ -611,7 +637,8 @@
|
|
|
611
637
|
|
|
612
638
|
- Initial public release
|
|
613
639
|
|
|
614
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.
|
|
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
|
|
615
642
|
[0.58.3]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.2...ruby-v0.58.3
|
|
616
643
|
[0.58.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.1...ruby-v0.58.2
|
|
617
644
|
[0.58.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.0...ruby-v0.58.1
|
data/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb"
|
|
3
|
-
version = "0.58.
|
|
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.
|
|
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 }
|
data/ext/jsonschema/Cargo.lock
CHANGED
|
@@ -693,9 +693,9 @@ dependencies = [
|
|
|
693
693
|
|
|
694
694
|
[[package]]
|
|
695
695
|
name = "jsonschema"
|
|
696
|
-
version = "0.58.
|
|
696
|
+
version = "0.58.4"
|
|
697
697
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
-
checksum = "
|
|
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.
|
|
730
|
+
version = "0.58.4"
|
|
731
731
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
732
|
-
checksum = "
|
|
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.
|
|
740
|
+
version = "0.58.4"
|
|
741
741
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
742
|
-
checksum = "
|
|
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.
|
|
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.
|
|
773
|
+
version = "0.58.4"
|
|
774
774
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
775
|
-
checksum = "
|
|
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.
|
|
782
|
+
version = "0.58.4"
|
|
783
783
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
784
|
-
checksum = "
|
|
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.
|
|
1139
|
+
version = "0.58.4"
|
|
1140
1140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1141
|
-
checksum = "
|
|
1141
|
+
checksum = "5cfa1c91745dbca76a406b926918d7c63e15a4525ebab939fec3e015a1fb82b1"
|
|
1142
1142
|
dependencies = [
|
|
1143
1143
|
"ahash",
|
|
1144
1144
|
"fluent-uri",
|
data/ext/jsonschema/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb-ext"
|
|
3
|
-
version = "0.58.
|
|
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.
|
|
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.
|
|
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"
|
data/lib/jsonschema/version.rb
CHANGED