jsonschema_rs 0.45.1 → 0.46.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: bf316227af9f64c9419dc4de15e24d28bef5c27bc6840d12cce7488cc855c67c
4
- data.tar.gz: d64c25673255e39cb1cb0ccf9068081f959c1701df07642494bce118cd2eb296
3
+ metadata.gz: 0f8a801713b8f12c2c34a1a9925ab2ac51b31ebb8f74a0394481aa7f59b2ca87
4
+ data.tar.gz: 94cfc9e90477c3eb3178bf4b37ca7b16b931b7954afff8c54376752e40d43a20
5
5
  SHA512:
6
- metadata.gz: 0b09605ef0cf0326a7ed3fdc0b4caebdc4f064a6d0c0d0d2bcd097651b9462ea6d2e40014eeb813aeb634047dec4401e28c2d21f7df9944960cdf45113fab3ea
7
- data.tar.gz: 28c4c6d3d24d4b73acd431a648e042e7be92be80d7c6be20b90bdae38849f03bd16f8ddd3478263e5496561044e631d8a68b3971c1fab12850d5499a9577263e
6
+ metadata.gz: 144c6e273ce1c59dd1f6d855d158da47f73f7fa5cf9b3238bdafbd252635d5f0923de3fb63c860dee9e6e2f8efcb734daa68ddd1ca330c3841f2c46dbf75b68d
7
+ data.tar.gz: 998204d7ad6e3b6c0f4551ba7062718125bc2be0b2aaf556d11521d5315a1e612f89dfe287ed497910375a99af1e0474c73d7aaa1c4b989709f9112a3d3f49b7
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.46.0] - 2026-04-10
6
+
7
+ ### Added
8
+
9
+ - Accept JSON strings in `validator_cls_for`.
10
+ - `Resolver` and `Resolved` types for programmatic schema resolution.
11
+ - `dereference` function to recursively inline `$ref` references. [#422](https://github.com/Stranger6667/jsonschema/issues/422)
12
+ - `ValidatorMap` for validating instances against subschemas identified by URI-fragment JSON pointer. [#1075](https://github.com/Stranger6667/jsonschema/pull/1075)
13
+
14
+ ### Performance
15
+
16
+ - Avoid registry clones and document clones during validator construction. This improves real-world schema compilation by roughly 10-20% in internal benchmarks.
17
+
5
18
  ## [0.45.1] - 2026-04-06
6
19
 
7
20
  ### Fixed
@@ -73,7 +86,8 @@
73
86
 
74
87
  - Initial public release
75
88
 
76
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.1...HEAD
89
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.0...HEAD
90
+ [0.46.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.1...ruby-v0.46.0
77
91
  [0.45.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.45.0...ruby-v0.45.1
78
92
  [0.45.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.44.1...ruby-v0.45.0
79
93
  [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.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.45.1", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
16
+ jsonschema = { version = "0.46.0", 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 }