jsonschema_rs 0.42.2-aarch64-linux → 0.43.0-aarch64-linux
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 +4 -4
- data/CHANGELOG.md +17 -1
- data/lib/jsonschema/3.2/jsonschema_rb.so +0 -0
- data/lib/jsonschema/3.3/jsonschema_rb.so +0 -0
- data/lib/jsonschema/3.4/jsonschema_rb.so +0 -0
- data/lib/jsonschema/4.0/jsonschema_rb.so +0 -0
- data/lib/jsonschema/version.rb +1 -1
- data/sig/jsonschema.rbs +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d4195c753bb191b2bcceaaaf0d76c15cd23e5ea653202c072d132d196d61f86
|
|
4
|
+
data.tar.gz: 9d18e23218199f65519e5606740a29d804052b83d36af4d3cd555d3fea34321c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a1f2be03d76f8eca400a5c6b46738229aad03cf49b79b34b36ba8f1a1c068add17e6a3f13751ef0ba74898863a18df1e69c3431591cf463cdfd5140e762cb43
|
|
7
|
+
data.tar.gz: 817ab7546486552b78f91abb7bb16ad9edc866150c59503f2bf3bffc04f68cdc7a46417948b2239e5c70b67f95d5422bc7bf67c7219607c8d56f9b14ed915383
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.43.0] - 2026-02-28
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `validator_cls_for(schema)` function to detect and return the appropriate validator class for a schema.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `anyOf`, `format`, `unevaluatedProperties`, and `unevaluatedItems` now correctly collect annotations per spec.
|
|
14
|
+
|
|
15
|
+
### Performance
|
|
16
|
+
|
|
17
|
+
- Optimize `pattern` and `patternProperties` for `^(a|b|c)$` alternations via linear array scan.
|
|
18
|
+
- Optimize `^\S*$` patterns by replacing regex with a direct ECMA-262 whitespace check.
|
|
19
|
+
|
|
5
20
|
## [0.42.2] - 2026-02-26
|
|
6
21
|
|
|
7
22
|
### Changed
|
|
@@ -28,6 +43,7 @@
|
|
|
28
43
|
|
|
29
44
|
- Initial public release
|
|
30
45
|
|
|
31
|
-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.
|
|
46
|
+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.43.0...HEAD
|
|
47
|
+
[0.43.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.42.2...ruby-v0.43.0
|
|
32
48
|
[0.42.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.42.1...ruby-v0.42.2
|
|
33
49
|
[0.42.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.42.0...ruby-v0.42.1
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/jsonschema/version.rb
CHANGED
data/sig/jsonschema.rbs
CHANGED
|
@@ -32,6 +32,10 @@ module JSONSchema
|
|
|
32
32
|
?http_options: HttpOptions?
|
|
33
33
|
) -> Validator
|
|
34
34
|
|
|
35
|
+
# Detect the JSON Schema draft for a schema and return the corresponding validator class.
|
|
36
|
+
# Draft is detected automatically from the `$schema` field. Defaults to Draft202012Validator.
|
|
37
|
+
def self.validator_cls_for: (untyped schema) -> (singleton(Draft4Validator) | singleton(Draft6Validator) | singleton(Draft7Validator) | singleton(Draft201909Validator) | singleton(Draft202012Validator))
|
|
38
|
+
|
|
35
39
|
# One-off validation returning boolean.
|
|
36
40
|
def self.valid?: (
|
|
37
41
|
untyped schema,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jsonschema_rs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.43.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dygalo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigdecimal
|