jsonschema_rs 0.58.6 → 0.59.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b25395d60b68d6b1cf5ba985b3bf9b106d35ed5eae9c55e9fe4e6b5e8fa3922f
4
- data.tar.gz: 7e9969c56323ed91d5de92ecd67a9917f3a1bf78d8c52723983f1b7dee67c960
3
+ metadata.gz: 103822ad4a54d121d77b6dc1255893c0a4bc014485bf9d5f19a08a32d5942ff1
4
+ data.tar.gz: 023cecb35cb44427703009c992b95a1f291c99c8d106337f87678adac1d71dd6
5
5
  SHA512:
6
- metadata.gz: 02ef05adaa4770f7d9e205fac904f60892648f254e715038daaf5fe54e661fa22c19bcf2c805c0ba82242825de7ad1e89882a785b56e23774cb5c7a7f9b344b4
7
- data.tar.gz: bb3df4f91bc5b3a18ff98c946aded63eee0571ddd7e3612b82b86f745a503ddb74eaaba91a917216839b4f11dc515f7ce2503d52d143a61b8d9d0fdabe9c209c
6
+ metadata.gz: b718749642d0a462c5781403ae152b7a2bd7c3e732a437d9599e2ac87781aecd4ac87b3e321272557125915f5ff982661a5c2683973cbe0e7ee39a701737aa12
7
+ data.tar.gz: 10376b14d725a7feeaeb64f92e01d26f175f6d6694460bbd76015a305649e47603909c3d0fb7963d9da0172d2b3fe14f166b36dc9229877c06062605500edded
data/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.59.0] - 2026-10-16
6
+
7
+ ### Fixed
8
+
9
+ - Canonicalizing several subschemas of one prepared document, where a `$ref` in a later output could point at another subschema.
10
+ - `canonicalize` leaving `unevaluatedProperties` or `unevaluatedItems` beside `anyOf` or `oneOf` raw.
11
+ - `canonicalize` giving a different form for a `oneOf` depending on the order of its branches.
12
+ - `canonicalize` output changing when canonicalized again, for a `not` over a `$ref` it cannot fully negate.
13
+ - `canonicalize` output changing when canonicalized again, for a `oneOf` whose branches reduce to the same `$ref`.
14
+ - `canonicalize` leaving an `anyOf` over many overlapping objects raw.
15
+ - `canonicalize` leaving `dependencies` or `dependentRequired` raw when their keys form a long chain or cycle.
16
+ - Regex matches the engine cannot finish, such as on reaching the backtrack limit, counted as non-matches, letting `not` or `patternProperties` accept invalid instances. [#1715](https://github.com/Stranger6667/jsonschema/issues/1715)
17
+ - `canonicalize` treating regex matches the engine cannot finish as non-matches.
18
+
19
+ ### Performance
20
+
21
+ - `canonicalize` giving up sooner on an `allOf` over unions too wide to model.
22
+
5
23
  ## [0.58.6] - 2026-10-06
6
24
 
7
25
  ### Fixed
@@ -652,7 +670,8 @@
652
670
 
653
671
  - Initial public release
654
672
 
655
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.6...HEAD
673
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.59.0...HEAD
674
+ [0.59.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.6...ruby-v0.59.0
656
675
  [0.58.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.5...ruby-v0.58.6
657
676
  [0.58.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.4...ruby-v0.58.5
658
677
  [0.58.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.58.3...ruby-v0.58.4
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.58.6"
3
+ version = "0.59.0"
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.58.6", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
17
+ jsonschema = { version = "0.59.0", 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.58.6"
696
+ version = "0.59.0"
697
697
  source = "registry+https://github.com/rust-lang/crates.io-index"
698
- checksum = "f622c574a29fb3034a0a90645afee194dfedc75fc124228801b6e77041075bd1"
698
+ checksum = "1b320ad34c177093d21622edc9215bb608294c2333ff296672c0c8265a5ee60c"
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.58.6"
730
+ version = "0.59.0"
731
731
  source = "registry+https://github.com/rust-lang/crates.io-index"
732
- checksum = "5553b59276ad81f2f49c80cd381a6d6d873e74139cdeb2bef0f9eb28a2ded2b6"
732
+ checksum = "d51afbb8ac4451efcb123f2071e007cabb3de0eff1bc2293c8d64259c42ca58c"
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.58.6"
740
+ version = "0.59.0"
741
741
  source = "registry+https://github.com/rust-lang/crates.io-index"
742
- checksum = "bf3ebe067f2c25a981a7d1b2f696fc213e10dbf80ba5fe997f7dc2e4fe261f26"
742
+ checksum = "f6428834471c2bbb8d3ba2199fb927e504b02879ae8090550470ecbccfd9224a"
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.58.6"
759
+ version = "0.59.0"
760
760
  dependencies = [
761
761
  "jsonschema",
762
762
  "magnus",
@@ -770,18 +770,18 @@ dependencies = [
770
770
 
771
771
  [[package]]
772
772
  name = "jsonschema-regex"
773
- version = "0.58.6"
773
+ version = "0.59.0"
774
774
  source = "registry+https://github.com/rust-lang/crates.io-index"
775
- checksum = "a968fffd387b2ab005bf00c1851f5d26e90df05b6f7ad609ed0d620033cca5e7"
775
+ checksum = "1472f7be79026f79e01a9b172263311e829d7c210d57b39cb57037abc0ce0500"
776
776
  dependencies = [
777
777
  "regex-syntax",
778
778
  ]
779
779
 
780
780
  [[package]]
781
781
  name = "jsonschema-value"
782
- version = "0.58.6"
782
+ version = "0.59.0"
783
783
  source = "registry+https://github.com/rust-lang/crates.io-index"
784
- checksum = "39b7670345e5ce87371339d13705dbb9276b7e3e934bbe1efa2c6734a1f65a96"
784
+ checksum = "e5a7550a7a84787e715ead0b47e01fa8c6bb7c3413630f91a8f2094c06c2078a"
785
785
  dependencies = [
786
786
  "ahash",
787
787
  "bytecount",
@@ -1136,9 +1136,9 @@ dependencies = [
1136
1136
 
1137
1137
  [[package]]
1138
1138
  name = "referencing"
1139
- version = "0.58.6"
1139
+ version = "0.59.0"
1140
1140
  source = "registry+https://github.com/rust-lang/crates.io-index"
1141
- checksum = "558f3855529c0a7e78a48e409fa653456e55f1b167eab4109c16a255b7727e3f"
1141
+ checksum = "473f4dcca28ead7ee0f8e5b5d0bbae2549f4fc4c958fb20af328961b6c174be3"
1142
1142
  dependencies = [
1143
1143
  "ahash",
1144
1144
  "fluent-uri",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb-ext"
3
- version = "0.58.6"
3
+ version = "0.59.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.58.6", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros", "idna"] }
13
+ jsonschema = { version = "0.59.0", 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.58.6"
16
+ referencing = "0.59.0"
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.58.6"
4
+ VERSION = "0.59.0"
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.58.6
4
+ version: 0.59.0
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.58.6/crates/jsonschema-rb/README.md
83
+ documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.59.0/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'