jsonschema_rs 0.60.0 → 0.60.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25fd2e3cf1682bcd3ab82dfdbb8b86bf179da24c3d7304b95fa102b5af609962
4
- data.tar.gz: 9db1b4260c437bdd9223982a9e1a74338a9e9269d584b17435411c8f0783d3ea
3
+ metadata.gz: a56307e439b329704bd7a8e29e55cb2b2dd935f565a5b8d3d30da1d480947ce2
4
+ data.tar.gz: 391a89618435402034a4b0bd164ff8ef38d3863ff7b3e69e1ff965c54b7c6620
5
5
  SHA512:
6
- metadata.gz: 59f09bf535a7254818879ee7f9e71d95156ba2ad102e08f4c58ec3a930fd432c4220b67171b070d91b8ee7b65a96d8d0580412b8cc145bd77c42deda370de23e
7
- data.tar.gz: 880758c4c57ef503d6ccb50d8864a02d13ae132ba807b6db0874fac100aac1d9812468fca5d014cf8f9b12db0bf035240584e8ca416a3e6efb226e6caa44a0e4
6
+ metadata.gz: bd4784bf8572a56fa98533d18ee8cfca8b6de65abf687db51944e5dd5dfaf19f24ac35d1cf74fd7dff0d7533e3874df9c79d1af9745d31ba6b5f6f9f6834ba78
7
+ data.tar.gz: b5593af7f28c81f4e84114ddabe6fc6553c1f6902b78d418f2bc570eec6dd82e3d2e08101ec86ea95f2e5088a7f75f1fcbb0bddffca331c6efd5f8f150971e80
data/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.60.2] - 2026-10-27
6
+
7
+ ### Fixed
8
+
9
+ - Stack overflow when building validators for `unevaluated*` schemas with `$ref` cycles across `$id` resources.
10
+
11
+ ## [0.60.1] - 2026-10-24
12
+
13
+ ### Fixed
14
+
15
+ - Wrong results in `type: integer`, `const`, `enum`, `uniqueItems`, `multipleOf`, `minimum`, `maximum`, `exclusiveMinimum` and `exclusiveMaximum` for numbers with exponents past one million, such as `1e-2000000`.
16
+
17
+ ### Performance
18
+
19
+ - Validation of numbers with many digits or large exponents in `const`, `enum`, `uniqueItems`, `type: integer`, `multipleOf`, `minimum`, `maximum`, `exclusiveMinimum` and `exclusiveMaximum` taking time growing faster than the square of the digit count, instead of at most the square.
20
+ - Validation of numbers with more than ten thousand digits, written or implied by their exponent, taking time linear in their written length instead of quadratic in their digit count.
21
+
5
22
  ## [0.60.0] - 2026-10-22
6
23
 
7
24
  ### Performance
@@ -680,7 +697,9 @@
680
697
 
681
698
  - Initial public release
682
699
 
683
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.0...HEAD
700
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.2...HEAD
701
+ [0.60.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.1...ruby-v0.60.2
702
+ [0.60.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.0...ruby-v0.60.1
684
703
  [0.60.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.59.0...ruby-v0.60.0
685
704
  [0.59.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.6...ruby-v0.59.0
686
705
  [0.58.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.5...ruby-v0.58.6
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.60.0"
3
+ version = "0.60.2"
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.60.0", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
17
+ jsonschema = { version = "0.60.2", 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 }
@@ -693,9 +693,9 @@ dependencies = [
693
693
 
694
694
  [[package]]
695
695
  name = "jsonschema"
696
- version = "0.60.0"
696
+ version = "0.60.2"
697
697
  source = "registry+https://github.com/rust-lang/crates.io-index"
698
- checksum = "7e7305938cac5ee144352ceb71583ffc6cfeac7d20fcb20ef865a4d5c314e499"
698
+ checksum = "a42a11b47492e6a2cc76e9c7bcc8077776cb31dac444e0795d7f61bcc6441c08"
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.60.0"
730
+ version = "0.60.2"
731
731
  source = "registry+https://github.com/rust-lang/crates.io-index"
732
- checksum = "d3317cf86d77fe02157600b2119e5b9ad1eff1784f928f886ac109b1e62c724b"
732
+ checksum = "2b70c94dc0ea54d4a8f4b42becc5356a33dc203a421f99fdc551f72b6b8b8457"
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.60.0"
740
+ version = "0.60.2"
741
741
  source = "registry+https://github.com/rust-lang/crates.io-index"
742
- checksum = "cc42605fdff4c9d16e0be653d0527a85e939486f4aa06656e426b3692bb18823"
742
+ checksum = "20fd89a50cb8da14c3a7be6bb6ba6b79e439723381008dece905b72412176b52"
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.60.0"
759
+ version = "0.60.2"
760
760
  dependencies = [
761
761
  "jsonschema",
762
762
  "magnus",
@@ -770,24 +770,25 @@ dependencies = [
770
770
 
771
771
  [[package]]
772
772
  name = "jsonschema-regex"
773
- version = "0.60.0"
773
+ version = "0.60.2"
774
774
  source = "registry+https://github.com/rust-lang/crates.io-index"
775
- checksum = "99991ee391af622bda42f01a8727e12fcddbc5ace6f116eef766f060242a36a0"
775
+ checksum = "107aeb6ff14b8deb5610096a8ce5c554ec89806b521147eaeb3cae05b07edb7a"
776
776
  dependencies = [
777
777
  "regex-syntax",
778
778
  ]
779
779
 
780
780
  [[package]]
781
781
  name = "jsonschema-value"
782
- version = "0.60.0"
782
+ version = "0.60.2"
783
783
  source = "registry+https://github.com/rust-lang/crates.io-index"
784
- checksum = "31581ee58bb3f9a56c0413dd8560d4bdda6b05be0751fa6a533d5b609beb1aae"
784
+ checksum = "e281d6b177bb4834f2ffd6f92aa0443cffe29c996b251c8d94eb6f456186feba"
785
785
  dependencies = [
786
786
  "ahash",
787
787
  "bytecount",
788
788
  "fraction",
789
789
  "getrandom 0.3.4",
790
790
  "magnus",
791
+ "memchr",
791
792
  "num-bigint",
792
793
  "num-cmp",
793
794
  "num-traits",
@@ -1136,9 +1137,9 @@ dependencies = [
1136
1137
 
1137
1138
  [[package]]
1138
1139
  name = "referencing"
1139
- version = "0.60.0"
1140
+ version = "0.60.2"
1140
1141
  source = "registry+https://github.com/rust-lang/crates.io-index"
1141
- checksum = "fd75db0e860de35f9b7fb4b05fe13ba057f2548db080178009067f9ea9751d32"
1142
+ checksum = "f42818036d3b37cda6bd4c494543158a36e431cb717015ef7c93acc6ba214d3b"
1142
1143
  dependencies = [
1143
1144
  "ahash",
1144
1145
  "fluent-uri",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb-ext"
3
- version = "0.60.0"
3
+ version = "0.60.2"
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.60.0", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
13
+ jsonschema = { version = "0.60.2", 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.60.0"
16
+ referencing = "0.60.2"
17
17
  serde = { version = "1", features = ["derive"] }
18
18
  serde_json = { version = "1", features = ["arbitrary_precision"] }
19
19
  strum = "0.28.0"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.60.0"
4
+ VERSION = "0.60.2"
5
5
  end
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.60.0
4
+ version: 0.60.2
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.60.0/crates/jsonschema-rb/README.md
83
+ documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.60.2/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'