jsonschema_rs 0.49.8 → 0.49.9

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: 2726e09118128e3f655111bf1b598a9ad6eabbc57c6de875212f67a0d232cb7a
4
- data.tar.gz: 462a1ecc3ba3fa5298a72286e5ed4baf2ca9d665e70f497ae2cf770810d0e15b
3
+ metadata.gz: 968f65f7d26fc9a7e97240b37a09de918bfcc8b8e9df8838298637836e34936b
4
+ data.tar.gz: 92301af7adc4c52111553735274aee5311d8b6a24c99c5530ed4c6ed6f3d7139
5
5
  SHA512:
6
- metadata.gz: 763651ab2dae890e18e6385b0695e2d49062b347a88cd42ac4abf98f018317630621e448a38a93f79e9430eae40262c58101dbc7017ca173f5637e0bcd9cbdd9
7
- data.tar.gz: e342552be283edd162de5125ddad5d7004c07da66612eeb98134039ca7a0cbdcfdbe2c0a4addd87deb788ac97a73d6f216c4e1518ea2f38230e60605b8b9f5c3
6
+ metadata.gz: 55edc52371748802513a6b1b70eca2d3def405cda0caa2cccaadf4bbd0e7d3910830d97f965e4df8fa16ed829db9199299ae6cf325a43a32871558f8dca607fa
7
+ data.tar.gz: 3d0dc3033bf542529b078d0ec96b61f1dc2682485bfeb7403ff284de81fe2c0c753baf4d1bb12570edc1b1842e08c928c4ad39f99841bd29244779da13dad7c3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.49.9] - 2026-08-10
6
+
7
+ ### Added
8
+
9
+ - Canonicalization of a `oneOf` whose branches name object targets a required constant tells apart, which degrades to a union.
10
+
11
+ ### Changed
12
+
13
+ - `CanonicalSchema#to_json_schema` on a definition emits only the definitions that one names, not the whole document's.
14
+
15
+ ### Fixed
16
+
17
+ - Canonicalization running without end on a conjunction over unions; past a ceiling on the meets it takes, the document stays unmodeled.
18
+
5
19
  ## [0.49.8] - 2026-08-08
6
20
 
7
21
  ### Performance
@@ -373,7 +387,8 @@
373
387
 
374
388
  - Initial public release
375
389
 
376
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.8...HEAD
390
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.9...HEAD
391
+ [0.49.9]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.8...ruby-v0.49.9
377
392
  [0.49.8]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.7...ruby-v0.49.8
378
393
  [0.49.7]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.6...ruby-v0.49.7
379
394
  [0.49.6]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.5...ruby-v0.49.6
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.49.8"
3
+ version = "0.49.9"
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.49.8", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros"] }
16
+ jsonschema = { version = "0.49.9", default-features = false, features = ["magnus", "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 }
@@ -693,9 +693,9 @@ dependencies = [
693
693
 
694
694
  [[package]]
695
695
  name = "jsonschema"
696
- version = "0.49.8"
696
+ version = "0.49.9"
697
697
  source = "registry+https://github.com/rust-lang/crates.io-index"
698
- checksum = "ce93912abc8220a3fdb768b2c4a826a7a9a4b1599cfb4d760d422eaa1faf88c7"
698
+ checksum = "59ec8a241beed129f06114aa68007e905ca350e7baeb6e17a7631bb7978d91b2"
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.49.8"
729
+ version = "0.49.9"
730
730
  source = "registry+https://github.com/rust-lang/crates.io-index"
731
- checksum = "21a56a2c2e88a55fe7a5cc7f4a301c8dbe2233d644f9a94080b654b465951e14"
731
+ checksum = "6ba6d64053e49c693c9f3fbdc97d0b50011b381fd2653756c783b483b9ca7bfb"
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.49.8"
739
+ version = "0.49.9"
740
740
  source = "registry+https://github.com/rust-lang/crates.io-index"
741
- checksum = "77aee4c5172942212e46bf8d61cc1ca8b37d5263b1cfa0b74e1490b52bdef0e9"
741
+ checksum = "660a4d9630fc867a0e5260f520f3c0dde13e8e83d3d63df50b3c6593188be4da"
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.49.8"
758
+ version = "0.49.9"
759
759
  dependencies = [
760
760
  "jsonschema",
761
761
  "magnus",
@@ -768,18 +768,18 @@ dependencies = [
768
768
 
769
769
  [[package]]
770
770
  name = "jsonschema-regex"
771
- version = "0.49.8"
771
+ version = "0.49.9"
772
772
  source = "registry+https://github.com/rust-lang/crates.io-index"
773
- checksum = "8165657ebed4d32c50f3c250c1986d8428b16fbfeac355222e8fec50aa26eb1d"
773
+ checksum = "91994f45017ed5e66aa8e59b8415f4cb033a6380d7200387b7cf117595fbdf85"
774
774
  dependencies = [
775
775
  "regex-syntax",
776
776
  ]
777
777
 
778
778
  [[package]]
779
779
  name = "jsonschema-value"
780
- version = "0.49.8"
780
+ version = "0.49.9"
781
781
  source = "registry+https://github.com/rust-lang/crates.io-index"
782
- checksum = "b069c5fdda3e9c2242bba49d811d5bbdb488abd8d234ed44a6312fd2891113e1"
782
+ checksum = "7ec7637f83e510868ae6ed625f7ebfbbde4554ee8ce49854caa5126a8b9b9ecb"
783
783
  dependencies = [
784
784
  "ahash",
785
785
  "bytecount",
@@ -1132,9 +1132,9 @@ dependencies = [
1132
1132
 
1133
1133
  [[package]]
1134
1134
  name = "referencing"
1135
- version = "0.49.8"
1135
+ version = "0.49.9"
1136
1136
  source = "registry+https://github.com/rust-lang/crates.io-index"
1137
- checksum = "f39f4c36ce0f50e96fb740d895f1cad34cfa76c4ab5c36934d6590bcd7029087"
1137
+ checksum = "6efa2154ea6f5ce0fdecdd2a8d18f2fa1a39a8fbba91564f555a592e4dce8278"
1138
1138
  dependencies = [
1139
1139
  "ahash",
1140
1140
  "fluent-uri",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb-ext"
3
- version = "0.49.8"
3
+ version = "0.49.9"
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.49.8", default-features = false, features = ["magnus", "arbitrary-precision", "resolve-http", "resolve-file", "tls-ring", "macros"] }
13
+ jsonschema = { version = "0.49.9", default-features = false, features = ["magnus", "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.49.8"
16
+ referencing = "0.49.9"
17
17
  serde = { version = "1", features = ["derive"] }
18
18
  serde_json = { version = "1", features = ["arbitrary_precision"] }
19
19
  zmij = "1"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.49.8"
4
+ VERSION = "0.49.9"
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.49.8
4
+ version: 0.49.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dygalo