jsonschema_rs 0.46.5 → 0.46.6
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 +10 -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: 0bbcc3736dc754c24e4cb71aa588e64dab39a7720bcc02449672dd2cab4e1bef
|
|
4
|
+
data.tar.gz: 3e546c7525c5954349811c7b84c3a63f8208cb6239436a0dd4070dd269c796d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be16c584122902c2417544a97a61fe9f88434a5cf2fed9cc4d00cd57cc0c6ef2b734b16679020d86c5dac3d8d8d80ef477897c58c7e26da8bc6975d13c79bf9c
|
|
7
|
+
data.tar.gz: 0e666013edfb898f61a5fad7a8b7c3a13db4f9a41016b249d77043c73acc61e7deb7abbce323664b7394ac2eb76454bce5b5d02bd3f0932694d5572d84d6e1fc
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.46.6] - 2026-06-24
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `prefixItems` incorrectly recognised as a known keyword in Draft 2019-09 and earlier (it is 2020-12 only).
|
|
10
|
+
- `pattern` validation errors displayed the internally translated regex instead of the original schema pattern. [#1149](https://github.com/Stranger6667/jsonschema/issues/1149)
|
|
11
|
+
- Reuse registry retrievers when only `registry` is passed.
|
|
12
|
+
|
|
5
13
|
## [0.46.5] - 2026-05-13
|
|
6
14
|
|
|
7
15
|
### Fixed
|
|
@@ -116,7 +124,8 @@
|
|
|
116
124
|
|
|
117
125
|
- Initial public release
|
|
118
126
|
|
|
119
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.
|
|
127
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.6...HEAD
|
|
128
|
+
[0.46.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.5...ruby-v0.46.6
|
|
120
129
|
[0.46.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.4...ruby-v0.46.5
|
|
121
130
|
[0.46.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.3...ruby-v0.46.4
|
|
122
131
|
[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.6"
|
|
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.6", 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.6"
|
|
697
697
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
-
checksum = "
|
|
698
|
+
checksum = "8374249b1bdce1c1773a09fa294347e19e4bfeb86d845c2d8ebaf8a8dbf11233"
|
|
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.6"
|
|
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.6"
|
|
1068
1068
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1069
|
-
checksum = "
|
|
1069
|
+
checksum = "65a910f9d63351f9c9d7dc3053d02b214ea3a005917140c70087d7b59cbc5bb1"
|
|
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.6"
|
|
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.6", 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.6"
|
|
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
|
}
|