jsonschema_rs 0.45.1 → 0.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf316227af9f64c9419dc4de15e24d28bef5c27bc6840d12cce7488cc855c67c
4
- data.tar.gz: d64c25673255e39cb1cb0ccf9068081f959c1701df07642494bce118cd2eb296
3
+ metadata.gz: e3800aeb828372be04a3ea49601ad6620269ff9c5098e64f4ec2659aa8ca8f34
4
+ data.tar.gz: 3fa9bed791dd78c6b55b230a58da9b5967b9e494f76b7a71453ae8bc694c0498
5
5
  SHA512:
6
- metadata.gz: 0b09605ef0cf0326a7ed3fdc0b4caebdc4f064a6d0c0d0d2bcd097651b9462ea6d2e40014eeb813aeb634047dec4401e28c2d21f7df9944960cdf45113fab3ea
7
- data.tar.gz: 28c4c6d3d24d4b73acd431a648e042e7be92be80d7c6be20b90bdae38849f03bd16f8ddd3478263e5496561044e631d8a68b3971c1fab12850d5499a9577263e
6
+ metadata.gz: b094d06cd419ff9bd3d3b35fa14318fb8258fe7f778e19c9a55cac0a7c504bdda03d269fe005fa86c85820f2180e6e9459888da8f8c46fd84d728676c25b081e
7
+ data.tar.gz: db3a8534f45a1ecc9ea48311eff65ec38373e2fd96e171fe008f090ee72fd53cae6ba31468c4b3e5b3d27e2bf3c451f9f81e626c33772581d9c0ac1e98562bb7
data/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.46.1] - 2026-04-18
6
+
7
+ ### Fixed
8
+
9
+ - `required` not enforced when `properties` has 15 or more entries and `required` lists exactly 2 keys.
10
+
11
+ ## [0.46.0] - 2026-04-10
12
+
13
+ ### Added
14
+
15
+ - Accept JSON strings in `validator_cls_for`.
16
+ - `Resolver` and `Resolved` types for programmatic schema resolution.
17
+ - `dereference` function to recursively inline `$ref` references. [#422](https://github.com/Stranger6667/jsonschema/issues/422)
18
+ - `ValidatorMap` for validating instances against subschemas identified by URI-fragment JSON pointer. [#1075](https://github.com/Stranger6667/jsonschema/pull/1075)
19
+
20
+ ### Performance
21
+
22
+ - Avoid registry clones and document clones during validator construction. This improves real-world schema compilation by roughly 10-20% in internal benchmarks.
23
+
5
24
  ## [0.45.1] - 2026-04-06
6
25
 
7
26
  ### Fixed
@@ -73,7 +92,9 @@
73
92
 
74
93
  - Initial public release
75
94
 
76
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.1...HEAD
95
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.1...HEAD
96
+ [0.46.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.0...ruby-v0.46.1
97
+ [0.46.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.1...ruby-v0.46.0
77
98
  [0.45.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.0...ruby-v0.45.1
78
99
  [0.45.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.44.1...ruby-v0.45.0
79
100
  [0.44.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.44.0...ruby-v0.44.1
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.45.1"
3
+ version = "0.46.1"
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.45.1", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
16
+ jsonschema = { version = "0.46.1", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
17
17
  magnus = { version = "0.8", features = ["rb-sys"] }
18
18
  rb-sys = "0.9"
19
19
  serde = { workspace = true }