jsonschema_rs 0.47.0 → 0.48.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 +13 -1
- data/Cargo.toml +2 -2
- data/ext/jsonschema/Cargo.lock +11 -11
- 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: 14584b5d0ec590243477a7bef7bd5e1cc81e4c6e356ab92b7db8669514259313
|
|
4
|
+
data.tar.gz: 4f8e74e0e509692872c01cc1937e7543b9c06baad0d67f10429fc90aa4497513
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddc6f15c3bc5fabc4215b0157ab46375cdd46b158f23f41dd908e23861aa4c9f810805354722c65852b19b271e6b7a5c91174eebb37e949ae270f2acec3d90fb
|
|
7
|
+
data.tar.gz: a6258ba5efa9ab56a0ec3428a89f5f5d0a3683903a73e03458d895bfba6e9d3336f59a0ebbbb59797c17123e14576e149ec2b57122eee173f625caad8290400f
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.48.0] - 2026-07-16
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `JSONSchema::Meta.valid?` and `JSONSchema::Meta.validate!` incorrectly accepted some Draft 2019-09 schemas that the meta-schema rejects.
|
|
10
|
+
- Integers just outside the `i64`/`u64` range incorrectly compared against numeric bounds through lossy `f64` rounding (e.g. `{"minimum" => -9223372036854775808}` accepted `-9223372036854775809`).
|
|
11
|
+
|
|
12
|
+
### Performance
|
|
13
|
+
|
|
14
|
+
- Faster `multipleOf` validation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.
|
|
15
|
+
|
|
5
16
|
## [0.47.0] - 2026-07-08
|
|
6
17
|
|
|
7
18
|
### Added
|
|
@@ -164,7 +175,8 @@
|
|
|
164
175
|
|
|
165
176
|
- Initial public release
|
|
166
177
|
|
|
167
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.
|
|
178
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.0...HEAD
|
|
179
|
+
[0.48.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.47.0...ruby-v0.48.0
|
|
168
180
|
[0.47.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.10...ruby-v0.47.0
|
|
169
181
|
[0.46.10]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.9...ruby-v0.46.10
|
|
170
182
|
[0.46.9]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.8...ruby-v0.46.9
|
data/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "jsonschema-rb"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.48.0"
|
|
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.
|
|
16
|
+
jsonschema = { version = "0.48.0", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros"] }
|
|
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
|
@@ -687,9 +687,9 @@ dependencies = [
|
|
|
687
687
|
|
|
688
688
|
[[package]]
|
|
689
689
|
name = "jsonschema"
|
|
690
|
-
version = "0.
|
|
690
|
+
version = "0.48.0"
|
|
691
691
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
692
|
-
checksum = "
|
|
692
|
+
checksum = "aef8d91fd7994744fd927438d8a642528d989c4a0248fb3f6208f47bffcefb0d"
|
|
693
693
|
dependencies = [
|
|
694
694
|
"ahash",
|
|
695
695
|
"bytecount",
|
|
@@ -718,9 +718,9 @@ dependencies = [
|
|
|
718
718
|
|
|
719
719
|
[[package]]
|
|
720
720
|
name = "jsonschema-macros"
|
|
721
|
-
version = "0.
|
|
721
|
+
version = "0.48.0"
|
|
722
722
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
723
|
-
checksum = "
|
|
723
|
+
checksum = "17fb29ec60ebce38c9bdab49e2980cf590905f74989464ef07dc443d37f92e17"
|
|
724
724
|
dependencies = [
|
|
725
725
|
"jsonschema-macros-core",
|
|
726
726
|
"proc-macro2",
|
|
@@ -728,9 +728,9 @@ dependencies = [
|
|
|
728
728
|
|
|
729
729
|
[[package]]
|
|
730
730
|
name = "jsonschema-macros-core"
|
|
731
|
-
version = "0.
|
|
731
|
+
version = "0.48.0"
|
|
732
732
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
733
|
-
checksum = "
|
|
733
|
+
checksum = "bd95fd822e8990a734b9b222cf96f4f65c28b210598b0b0deaface517178d8cb"
|
|
734
734
|
dependencies = [
|
|
735
735
|
"fancy-regex",
|
|
736
736
|
"indexmap",
|
|
@@ -747,7 +747,7 @@ dependencies = [
|
|
|
747
747
|
|
|
748
748
|
[[package]]
|
|
749
749
|
name = "jsonschema-rb-ext"
|
|
750
|
-
version = "0.
|
|
750
|
+
version = "0.48.0"
|
|
751
751
|
dependencies = [
|
|
752
752
|
"jsonschema",
|
|
753
753
|
"magnus",
|
|
@@ -759,9 +759,9 @@ dependencies = [
|
|
|
759
759
|
|
|
760
760
|
[[package]]
|
|
761
761
|
name = "jsonschema-regex"
|
|
762
|
-
version = "0.
|
|
762
|
+
version = "0.48.0"
|
|
763
763
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
764
|
-
checksum = "
|
|
764
|
+
checksum = "794a08daa4c4b0e566fae7f2787090d793082eed95e4b46bfdec9817b533df22"
|
|
765
765
|
dependencies = [
|
|
766
766
|
"regex-syntax",
|
|
767
767
|
]
|
|
@@ -1106,9 +1106,9 @@ dependencies = [
|
|
|
1106
1106
|
|
|
1107
1107
|
[[package]]
|
|
1108
1108
|
name = "referencing"
|
|
1109
|
-
version = "0.
|
|
1109
|
+
version = "0.48.0"
|
|
1110
1110
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1111
|
-
checksum = "
|
|
1111
|
+
checksum = "d4967fa93675ff599754790711e2f19b6a910739784ac357bd10f34e146616f9"
|
|
1112
1112
|
dependencies = [
|
|
1113
1113
|
"ahash",
|
|
1114
1114
|
"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.48.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.48.0", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros"] }
|
|
14
14
|
magnus = { version = "0.8", features = ["rb-sys"] }
|
|
15
15
|
rb-sys = "0.9"
|
|
16
|
-
referencing = "0.
|
|
16
|
+
referencing = "0.48.0"
|
|
17
17
|
serde = { version = "1", features = ["derive"] }
|
|
18
18
|
serde_json = { version = "1", features = ["arbitrary_precision"] }
|
|
19
19
|
|
data/lib/jsonschema/version.rb
CHANGED