jsonschema_rs 0.58.6 → 0.59.0
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 +20 -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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 103822ad4a54d121d77b6dc1255893c0a4bc014485bf9d5f19a08a32d5942ff1
|
|
4
|
+
data.tar.gz: 023cecb35cb44427703009c992b95a1f291c99c8d106337f87678adac1d71dd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b718749642d0a462c5781403ae152b7a2bd7c3e732a437d9599e2ac87781aecd4ac87b3e321272557125915f5ff982661a5c2683973cbe0e7ee39a701737aa12
|
|
7
|
+
data.tar.gz: 10376b14d725a7feeaeb64f92e01d26f175f6d6694460bbd76015a305649e47603909c3d0fb7963d9da0172d2b3fe14f166b36dc9229877c06062605500edded
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.59.0] - 2026-10-16
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Canonicalizing several subschemas of one prepared document, where a `$ref` in a later output could point at another subschema.
|
|
10
|
+
- `canonicalize` leaving `unevaluatedProperties` or `unevaluatedItems` beside `anyOf` or `oneOf` raw.
|
|
11
|
+
- `canonicalize` giving a different form for a `oneOf` depending on the order of its branches.
|
|
12
|
+
- `canonicalize` output changing when canonicalized again, for a `not` over a `$ref` it cannot fully negate.
|
|
13
|
+
- `canonicalize` output changing when canonicalized again, for a `oneOf` whose branches reduce to the same `$ref`.
|
|
14
|
+
- `canonicalize` leaving an `anyOf` over many overlapping objects raw.
|
|
15
|
+
- `canonicalize` leaving `dependencies` or `dependentRequired` raw when their keys form a long chain or cycle.
|
|
16
|
+
- Regex matches the engine cannot finish, such as on reaching the backtrack limit, counted as non-matches, letting `not` or `patternProperties` accept invalid instances. [#1715](https://github.com/Stranger6667/jsonschema/issues/1715)
|
|
17
|
+
- `canonicalize` treating regex matches the engine cannot finish as non-matches.
|
|
18
|
+
|
|
19
|
+
### Performance
|
|
20
|
+
|
|
21
|
+
- `canonicalize` giving up sooner on an `allOf` over unions too wide to model.
|
|
22
|
+
|
|
5
23
|
## [0.58.6] - 2026-10-06
|
|
6
24
|
|
|
7
25
|
### Fixed
|
|
@@ -652,7 +670,8 @@
|
|
|
652
670
|
|
|
653
671
|
- Initial public release
|
|
654
672
|
|
|
655
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.
|
|
673
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.59.0...HEAD
|
|
674
|
+
[0.59.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.6...ruby-v0.59.0
|
|
656
675
|
[0.58.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.5...ruby-v0.58.6
|
|
657
676
|
[0.58.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.4...ruby-v0.58.5
|
|
658
677
|
[0.58.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.3...ruby-v0.58.4
|
data/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.59.0"
|
|
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.
|
|
17
|
+
jsonschema = { version = "0.59.0", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
|
|
18
18
|
magnus = { version = "0.9", 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.
|
|
696
|
+
version = "0.59.0"
|
|
697
697
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
-
checksum = "
|
|
698
|
+
checksum = "1b320ad34c177093d21622edc9215bb608294c2333ff296672c0c8265a5ee60c"
|
|
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.
|
|
730
|
+
version = "0.59.0"
|
|
731
731
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
732
|
-
checksum = "
|
|
732
|
+
checksum = "d51afbb8ac4451efcb123f2071e007cabb3de0eff1bc2293c8d64259c42ca58c"
|
|
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.
|
|
740
|
+
version = "0.59.0"
|
|
741
741
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
742
|
-
checksum = "
|
|
742
|
+
checksum = "f6428834471c2bbb8d3ba2199fb927e504b02879ae8090550470ecbccfd9224a"
|
|
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.
|
|
759
|
+
version = "0.59.0"
|
|
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.
|
|
773
|
+
version = "0.59.0"
|
|
774
774
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
775
|
-
checksum = "
|
|
775
|
+
checksum = "1472f7be79026f79e01a9b172263311e829d7c210d57b39cb57037abc0ce0500"
|
|
776
776
|
dependencies = [
|
|
777
777
|
"regex-syntax",
|
|
778
778
|
]
|
|
779
779
|
|
|
780
780
|
[[package]]
|
|
781
781
|
name = "jsonschema-value"
|
|
782
|
-
version = "0.
|
|
782
|
+
version = "0.59.0"
|
|
783
783
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
784
|
-
checksum = "
|
|
784
|
+
checksum = "e5a7550a7a84787e715ead0b47e01fa8c6bb7c3413630f91a8f2094c06c2078a"
|
|
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.
|
|
1139
|
+
version = "0.59.0"
|
|
1140
1140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1141
|
-
checksum = "
|
|
1141
|
+
checksum = "473f4dcca28ead7ee0f8e5b5d0bbae2549f4fc4c958fb20af328961b6c174be3"
|
|
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.
|
|
3
|
+
version = "0.59.0"
|
|
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.
|
|
13
|
+
jsonschema = { version = "0.59.0", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
|
|
14
14
|
magnus = { version = "0.9", features = ["rb-sys"] }
|
|
15
15
|
rb-sys = "0.9"
|
|
16
|
-
referencing = "0.
|
|
16
|
+
referencing = "0.59.0"
|
|
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
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.
|
|
4
|
+
version: 0.59.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dygalo
|
|
@@ -80,7 +80,7 @@ metadata:
|
|
|
80
80
|
homepage_uri: https://github.com/Stranger6667/jsonschema/tree/master/crates/jsonschema-rb
|
|
81
81
|
source_code_uri: https://github.com/Stranger6667/jsonschema
|
|
82
82
|
changelog_uri: https://github.com/Stranger6667/jsonschema/blob/master/crates/jsonschema-rb/CHANGELOG.md
|
|
83
|
-
documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.
|
|
83
|
+
documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.59.0/crates/jsonschema-rb/README.md
|
|
84
84
|
bug_tracker_uri: https://github.com/Stranger6667/jsonschema/issues
|
|
85
85
|
funding_uri: https://github.com/sponsors/Stranger6667
|
|
86
86
|
rubygems_mfa_required: 'true'
|