Skip to content

Commit f28bb25

Browse files
committed
chore(python): Release 0.42.2
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent eb099bb commit f28bb25

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

crates/jsonschema-py/BENCHMARKS.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ Sources:
4747
### Comparison with Other Libraries
4848

4949
| Benchmark | fastjsonschema | jsonschema | jsonschema-rs (validate) |
50-
|---------------|----------------|---------------|----------------|
51-
| OpenAPI | - (1) | 552.20 ms (**x84.32**) | 6.55 ms |
52-
| Swagger | - (1) | 961.80 ms (**x239.85**)| 4.01 ms |
53-
| Canada (GeoJSON) | 9.21 ms (**x1.89**) | 723.56 ms (**x148.27**) | 4.88 ms |
54-
| CITM Catalog | 4.11 ms (**x2.42**) | 76.44 ms (**x44.96**) | 1.70 ms |
55-
| Fast (Valid) | 1.91 µs (**x6.02**) | 31.46 µs (**x99.05**) | 317.60 ns |
56-
| Fast (Invalid)| 2.15 µs (**x4.10**) | 32.56 µs (**x61.96**) | 525.50 ns |
57-
| FHIR | 1.96 ms (**x433.15**) | 11.74 ms (**x2593.73**) | 4.53 µs |
58-
| Recursive | - (2) | 1.17 s (**x111,522**) | 10.50 µs |
50+
|---------------|----------------|---------------|--------------------------|
51+
| OpenAPI | - (1) | 536.05 ms (**x83.35**) | 6.43 ms |
52+
| Swagger | - (1) | 950.95 ms (**x240.16**) | 3.96 ms |
53+
| Canada (GeoJSON) | 9.05 ms (**x1.82**) | 732.78 ms (**x147.36**) | 4.97 ms |
54+
| CITM Catalog | 4.32 ms (**x2.51**) | 75.00 ms (**x43.58**) | 1.72 ms |
55+
| Fast (Valid) | 2.00 µs (**x5.83**) | 32.60 µs (**x94.87**) | 343.65 ns |
56+
| Fast (Invalid)| 2.13 µs (**x3.83**) | 31.97 µs (**x57.44**) | 556.55 ns |
57+
| FHIR | 1.97 ms (**x440.25**) | 11.78 ms (**x2630**) | 4.48 µs |
58+
| Recursive | - (2) | 1.16 s (**x116,115**) | 9.95 µs |
5959

6060
Notes:
6161

crates/jsonschema-py/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.42.2] - 2026-02-26
6+
57
### Fixed
68

79
- SWAR digit parser accepted bytes `:``?` (0x3A–0x3F) as valid digits during `date`, `time`, and `date-time` format validation, potentially allowing malformed values to pass.
@@ -925,7 +927,8 @@
925927
## 0.1.0 - 2020-06-09
926928
- Initial public release
927929

928-
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/python-v0.42.1...HEAD
930+
[Unreleased]: https://github.com/Stranger6667/jsonschema/compare/python-v0.42.2...HEAD
931+
[0.42.2]: https://github.com/Stranger6667/jsonschema/compare/python-v0.42.1...python-v0.42.2
929932
[0.42.1]: https://github.com/Stranger6667/jsonschema/compare/python-v0.42.0...python-v0.42.1
930933
[0.42.0]: https://github.com/Stranger6667/jsonschema/compare/python-v0.41.0...python-v0.42.0
931934
[0.41.0]: https://github.com/Stranger6667/jsonschema/compare/python-v0.40.4...python-v0.41.0

crates/jsonschema-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "jsonschema-py"
3-
version = "0.42.1"
3+
version = "0.42.2"
44
description = "A high-performance JSON Schema validator for Python"
55
keywords = ["jsonschema", "validation"]
66
categories = ["web-programming"]

crates/jsonschema-py/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,8 @@ On instance["api_key"]:
681681

682682
`jsonschema-rs` is designed for high performance, outperforming other Python JSON Schema validators in most scenarios:
683683

684-
- **45-240x** faster than `jsonschema` for complex schemas and large instances
685-
- **1.9-433x** faster than `fastjsonschema` on CPython
684+
- **43-240x** faster than `jsonschema` for complex schemas and large instances
685+
- **1.8-440x** faster than `fastjsonschema` on CPython
686686

687687
For detailed benchmarks, see our [full performance comparison](https://github.com/Stranger6667/jsonschema/blob/master/crates/jsonschema-py/BENCHMARKS.md).
688688

0 commit comments

Comments
 (0)