jsonschema_rs 0.52.0 → 0.52.1
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 +16 -15
- 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: a1b985c89ea47ecfdf5bcfce42e1eee6b420bff2bf5bb7a30175f17c75c542c6
|
|
4
|
+
data.tar.gz: e59a5c4d4c9ad4643cef049998eae36e24c889c490cb432f11122da9f1fafc71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d44404bfc81af2055756a57e797375750f16a6175726ddbfa6a0f97876362db8135033d510c774e2bb0d06986c425cd19ed7335363a9eacf868e93965b248de
|
|
7
|
+
data.tar.gz: 21edaa37efe2a9697c6908bf785e90effaa6112979edced4a614000838f169d53c932b8929a86af9dc9ad0fe41816fbad66641468a1a035fb575fe84a64fa341
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.52.1] - 2026-08-30
|
|
6
|
+
|
|
7
|
+
### Performance
|
|
8
|
+
|
|
9
|
+
- `minLength` and `maxLength` together now scan the string once.
|
|
10
|
+
- `unevaluatedProperties` is up to 2.9x faster.
|
|
11
|
+
- `evaluate` is up to 27% faster on reference-heavy schemas.
|
|
12
|
+
|
|
5
13
|
## [0.52.0] - 2026-08-27
|
|
6
14
|
|
|
7
15
|
### Added
|
|
@@ -479,7 +487,8 @@
|
|
|
479
487
|
|
|
480
488
|
- Initial public release
|
|
481
489
|
|
|
482
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.
|
|
490
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.1...HEAD
|
|
491
|
+
[0.52.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.52.0...ruby-v0.52.1
|
|
483
492
|
[0.52.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.51.0...ruby-v0.52.0
|
|
484
493
|
[0.51.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.50.1...ruby-v0.51.0
|
|
485
494
|
[0.50.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.50.0...ruby-v0.50.1
|
data/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb"
|
|
3
|
-
version = "0.52.
|
|
3
|
+
version = "0.52.1"
|
|
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.52.
|
|
17
|
+
jsonschema = { version = "0.52.1", 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.52.
|
|
696
|
+
version = "0.52.1"
|
|
697
697
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
-
checksum = "
|
|
698
|
+
checksum = "93e842fa72fd1e50ca4676a527641c13f5ee0d423ac699bfe1cd2afa3a4fdbac"
|
|
699
699
|
dependencies = [
|
|
700
700
|
"ahash",
|
|
701
701
|
"bytecount",
|
|
@@ -726,9 +726,9 @@ dependencies = [
|
|
|
726
726
|
|
|
727
727
|
[[package]]
|
|
728
728
|
name = "jsonschema-macros"
|
|
729
|
-
version = "0.52.
|
|
729
|
+
version = "0.52.1"
|
|
730
730
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
731
|
-
checksum = "
|
|
731
|
+
checksum = "488df32998a7b8e9294ddd99dec9007c0a14fbba6b70f04a872c03d0cd18b9e4"
|
|
732
732
|
dependencies = [
|
|
733
733
|
"jsonschema-macros-core",
|
|
734
734
|
"proc-macro2",
|
|
@@ -736,9 +736,9 @@ dependencies = [
|
|
|
736
736
|
|
|
737
737
|
[[package]]
|
|
738
738
|
name = "jsonschema-macros-core"
|
|
739
|
-
version = "0.52.
|
|
739
|
+
version = "0.52.1"
|
|
740
740
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
741
|
-
checksum = "
|
|
741
|
+
checksum = "b96d8a816ba94060e2308b3d2bb01f3e7179ddeabf96555a7d1f9e84ec2f5baf"
|
|
742
742
|
dependencies = [
|
|
743
743
|
"fancy-regex",
|
|
744
744
|
"indexmap",
|
|
@@ -755,7 +755,7 @@ dependencies = [
|
|
|
755
755
|
|
|
756
756
|
[[package]]
|
|
757
757
|
name = "jsonschema-rb-ext"
|
|
758
|
-
version = "0.52.
|
|
758
|
+
version = "0.52.1"
|
|
759
759
|
dependencies = [
|
|
760
760
|
"jsonschema",
|
|
761
761
|
"magnus",
|
|
@@ -769,18 +769,18 @@ dependencies = [
|
|
|
769
769
|
|
|
770
770
|
[[package]]
|
|
771
771
|
name = "jsonschema-regex"
|
|
772
|
-
version = "0.52.
|
|
772
|
+
version = "0.52.1"
|
|
773
773
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
774
|
-
checksum = "
|
|
774
|
+
checksum = "f5d90ea83fa606c96f0b4737ecedf1fa6b624272022edc42039565f8d8af0b78"
|
|
775
775
|
dependencies = [
|
|
776
776
|
"regex-syntax",
|
|
777
777
|
]
|
|
778
778
|
|
|
779
779
|
[[package]]
|
|
780
780
|
name = "jsonschema-value"
|
|
781
|
-
version = "0.52.
|
|
781
|
+
version = "0.52.1"
|
|
782
782
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
783
|
-
checksum = "
|
|
783
|
+
checksum = "da4ab4cbe58181a117d8c3582844ce20b07184319b51ba6d756596c1c451aebc"
|
|
784
784
|
dependencies = [
|
|
785
785
|
"ahash",
|
|
786
786
|
"bytecount",
|
|
@@ -791,6 +791,7 @@ dependencies = [
|
|
|
791
791
|
"num-traits",
|
|
792
792
|
"rb-sys",
|
|
793
793
|
"serde_json",
|
|
794
|
+
"zmij",
|
|
794
795
|
]
|
|
795
796
|
|
|
796
797
|
[[package]]
|
|
@@ -1133,9 +1134,9 @@ dependencies = [
|
|
|
1133
1134
|
|
|
1134
1135
|
[[package]]
|
|
1135
1136
|
name = "referencing"
|
|
1136
|
-
version = "0.52.
|
|
1137
|
+
version = "0.52.1"
|
|
1137
1138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1138
|
-
checksum = "
|
|
1139
|
+
checksum = "d38a014525040cdc9893361b7419bcf1f43b7ba7055eabaf6d91d6b75caa8b3f"
|
|
1139
1140
|
dependencies = [
|
|
1140
1141
|
"ahash",
|
|
1141
1142
|
"fluent-uri",
|
|
@@ -2131,6 +2132,6 @@ dependencies = [
|
|
|
2131
2132
|
|
|
2132
2133
|
[[package]]
|
|
2133
2134
|
name = "zmij"
|
|
2134
|
-
version = "1.0.
|
|
2135
|
+
version = "1.0.23"
|
|
2135
2136
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2136
|
-
checksum = "
|
|
2137
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
data/ext/jsonschema/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb-ext"
|
|
3
|
-
version = "0.52.
|
|
3
|
+
version = "0.52.1"
|
|
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.52.
|
|
13
|
+
jsonschema = { version = "0.52.1", 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.52.
|
|
16
|
+
referencing = "0.52.1"
|
|
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