jsonschema_rs 0.46.5 → 0.46.7
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 +17 -1
- data/Cargo.toml +2 -2
- data/ext/jsonschema/Cargo.lock +5 -5
- data/ext/jsonschema/Cargo.toml +3 -3
- data/lib/jsonschema/version.rb +1 -1
- data/src/lib.rs +4 -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: 607556b93712d32879c45b3113f207453a87be2cab37e341d025b80c6cd3a3ec
|
|
4
|
+
data.tar.gz: fd940bf8e5995bdf4bc32938aadbd354e863e130d8672e9c1a2b174cd90edc30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e59bfd166e25ede4b570f8124a79a240a1a0aefa122b79a3ca917b708b069570af5271b2798759ef3d1712062d14fbb5de25c807a54a0d22fd07ee606c822eda
|
|
7
|
+
data.tar.gz: 574f9f0700861e358832c4ab3e2afd5012ff8a544ceefb712385a0142ee4a861b4d062df9b357d0450964f6710afe57169cc906307c20ec6007594605485ad3a
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.46.7] - 2026-06-30
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `idn-hostname` format accepted A-labels that decode to a disallowed code point (e.g. `xn--7a`).
|
|
10
|
+
|
|
11
|
+
## [0.46.6] - 2026-06-24
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `prefixItems` incorrectly recognised as a known keyword in Draft 2019-09 and earlier (it is 2020-12 only).
|
|
16
|
+
- `pattern` validation errors displayed the internally translated regex instead of the original schema pattern. [#1149](https://github.com/Stranger6667/jsonschema/issues/1149)
|
|
17
|
+
- Reuse registry retrievers when only `registry` is passed.
|
|
18
|
+
|
|
5
19
|
## [0.46.5] - 2026-05-13
|
|
6
20
|
|
|
7
21
|
### Fixed
|
|
@@ -116,7 +130,9 @@
|
|
|
116
130
|
|
|
117
131
|
- Initial public release
|
|
118
132
|
|
|
119
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.
|
|
133
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.7...HEAD
|
|
134
|
+
[0.46.7]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.6...ruby-v0.46.7
|
|
135
|
+
[0.46.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.5...ruby-v0.46.6
|
|
120
136
|
[0.46.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.4...ruby-v0.46.5
|
|
121
137
|
[0.46.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.3...ruby-v0.46.4
|
|
122
138
|
[0.46.3]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.2...ruby-v0.46.3
|
data/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb"
|
|
3
|
-
version = "0.46.
|
|
3
|
+
version = "0.46.7"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -13,7 +13,7 @@ publish = false
|
|
|
13
13
|
crate-type = ["cdylib"]
|
|
14
14
|
|
|
15
15
|
[dependencies]
|
|
16
|
-
jsonschema = { version = "0.46.
|
|
16
|
+
jsonschema = { version = "0.46.7", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
|
|
17
17
|
magnus = { version = "0.8", features = ["rb-sys"] }
|
|
18
18
|
rb-sys = "0.9"
|
|
19
19
|
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.46.
|
|
696
|
+
version = "0.46.7"
|
|
697
697
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
-
checksum = "
|
|
698
|
+
checksum = "185abd1edcef44ac028ec6588ad1360155fbd0a8baa20243a28f5b2a05537a48"
|
|
699
699
|
dependencies = [
|
|
700
700
|
"ahash",
|
|
701
701
|
"bytecount",
|
|
@@ -723,7 +723,7 @@ dependencies = [
|
|
|
723
723
|
|
|
724
724
|
[[package]]
|
|
725
725
|
name = "jsonschema-rb-ext"
|
|
726
|
-
version = "0.46.
|
|
726
|
+
version = "0.46.7"
|
|
727
727
|
dependencies = [
|
|
728
728
|
"jsonschema",
|
|
729
729
|
"magnus",
|
|
@@ -1064,9 +1064,9 @@ dependencies = [
|
|
|
1064
1064
|
|
|
1065
1065
|
[[package]]
|
|
1066
1066
|
name = "referencing"
|
|
1067
|
-
version = "0.46.
|
|
1067
|
+
version = "0.46.7"
|
|
1068
1068
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1069
|
-
checksum = "
|
|
1069
|
+
checksum = "c335a4796e6081e384712c269f29ed8d2f6613e7afdd54a8467bb7d48f99859f"
|
|
1070
1070
|
dependencies = [
|
|
1071
1071
|
"ahash",
|
|
1072
1072
|
"fluent-uri",
|
data/ext/jsonschema/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb-ext"
|
|
3
|
-
version = "0.46.
|
|
3
|
+
version = "0.46.7"
|
|
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.46.
|
|
13
|
+
jsonschema = { version = "0.46.7", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
|
|
14
14
|
magnus = { version = "0.8", features = ["rb-sys"] }
|
|
15
15
|
rb-sys = "0.9"
|
|
16
|
-
referencing = "0.46.
|
|
16
|
+
referencing = "0.46.7"
|
|
17
17
|
serde = { version = "1", features = ["derive"] }
|
|
18
18
|
serde_json = { version = "1", features = ["arbitrary_precision"] }
|
|
19
19
|
|
data/lib/jsonschema/version.rb
CHANGED
data/src/lib.rs
CHANGED
|
@@ -937,7 +937,10 @@ fn bundle(ruby: &Ruby, args: &[Value]) -> Result<Value, Error> {
|
|
|
937
937
|
|
|
938
938
|
let json_schema = to_schema_value(ruby, schema)?;
|
|
939
939
|
let parsed = build_parsed_options(ruby, kw, None)?;
|
|
940
|
-
let mut options = parsed.
|
|
940
|
+
let mut options = match parsed.retriever {
|
|
941
|
+
Some(ret) => parsed.options.with_retriever(ret),
|
|
942
|
+
None => parsed.options,
|
|
943
|
+
};
|
|
941
944
|
if let Some(registry) = parsed.registry {
|
|
942
945
|
options = options.with_registry(registry);
|
|
943
946
|
}
|