jsonschema_rs 0.61.1-aarch64-linux → 0.61.2-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64311699493559c8983f925330212f21474f79956ed4afa8250dfb7932022b98
4
- data.tar.gz: bb4227ed83cf0c343e008c2d23af17a572c6340ed1cf593052e562074e56f57d
3
+ metadata.gz: 4d55c945ed0c875fcf6fd682a845695eb98a71b36eefebb7406c9c031db29a4a
4
+ data.tar.gz: 9f64df93feca397edbebcf3db6efc477d36e5494fa4d8d3d9da510a4946f9cc8
5
5
  SHA512:
6
- metadata.gz: 6bb031635ebe5c15d9c1b5bf8eec2c9e3480f1881227f44562d556b72561dfac017cedd929a926197123ab93491e2d8b4483e31b03ebbfd300cb7652b6edf7ec
7
- data.tar.gz: ac571d977c35134d869f08d8420950f545aa6ddeb25c556f34219386dba0dff73c689ac1fabe0b272a65d7431e342fb5dbcce910f6677bce902e0ff280dff5e0
6
+ metadata.gz: 1eabc5729139de8cf02ab57604431bdb47d12e77903e4900c261eda6c6f6a3176bb32fac0c51ad97c0290992ca02d811f70b536bfab32f5fbf2d3c5605ec4caa
7
+ data.tar.gz: 44916314a6519ecea8b2877c620d5b92b9346f9329f242917da592ff9e8b618305aa2694257725d206071bc09bca84eab6dc3d88c5dc9ecc0cc050b34bebb602
data/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.61.2] - 2026-11-12
6
+
7
+ ### Fixed
8
+
9
+ - References inside a registered resource resolving against the URI it was registered under instead of its `$id`. [#1862](https://github.com/Stranger6667/jsonschema/issues/1862)
10
+
11
+ ### Performance
12
+
13
+ - Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
14
+ - `unevaluatedProperties` next to `if`, `dependentSchemas`, `anyOf` or `oneOf` checked in one pass over the object by `is_valid`, without validating those subschemas again.
15
+ - `allOf` branches that only check `properties`, `required` or `type: object` checked in one pass over the object by `is_valid`.
16
+ - `required` beside `properties` and `additionalProperties: false` checked in the same pass over the object by `is_valid`.
17
+ - `$ref`s to a subschema another `$ref` already compiled dispatched once instead of twice.
18
+ - `unevaluatedProperties` matching property names by their first and last bytes instead of hashing them.
19
+ - `additionalProperties` that only checks `type` decided without entering the subschema for each value by `is_valid`.
20
+ - Literal-prefix patterns rejecting a property name on its first byte before comparing the rest.
21
+ - Integer `const` and `enum` values compared directly instead of through their decimal forms.
22
+ - `propertyNames` validating each `String` key itself instead of a new string built from its text.
23
+
5
24
  ## [0.61.1] - 2026-11-10
6
25
 
7
26
  ### Fixed
@@ -747,7 +766,8 @@
747
766
 
748
767
  - Initial public release
749
768
 
750
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.61.1...HEAD
769
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.61.2...HEAD
770
+ [0.61.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.61.1...ruby-v0.61.2
751
771
  [0.61.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.61.0...ruby-v0.61.1
752
772
  [0.61.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.2...ruby-v0.61.0
753
773
  [0.60.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.60.1...ruby-v0.60.2
data/README.md CHANGED
@@ -726,9 +726,9 @@ Valid draft symbols: `:draft4`, `:draft6`, `:draft7`, `:draft201909`, `:draft202
726
726
 
727
727
  Compared with other Ruby validators:
728
728
 
729
- - **95-1,241x** faster than `json_schemer` for complex schemas and large instances
730
- - **960-1,033x** faster than `json-schema` where supported
731
- - **24-179x** faster than `rj_schema` (RapidJSON/C++)
729
+ - **96-1,189x** faster than `json_schemer` for complex schemas and large instances
730
+ - **987-1,081x** faster than `json-schema` where supported
731
+ - **25-161x** faster than `rj_schema` (RapidJSON/C++)
732
732
 
733
733
  Full results and methodology are in [BENCHMARKS.md](https://github.com/Stranger6667/jsonschema/blob/master/crates/jsonschema-rb/BENCHMARKS.md).
734
734
 
@@ -737,7 +737,7 @@ Full results and methodology are in [BENCHMARKS.md](https://github.com/Stranger6
737
737
  If you ship your own extension and know the schema at build time, the Rust crate's
738
738
  `#[jsonschema::validator(..., backend = Magnus)]` macro compiles it into a validator that reads
739
739
  Ruby objects directly, so nothing is parsed or compiled when your extension is loaded, and
740
- validation runs up to 3.5x faster than with a validator built at run time. See the
740
+ validation runs up to 2.6x faster than with a validator built at run time. See the
741
741
  [macro documentation](https://docs.rs/jsonschema/latest/jsonschema/#ruby-extension-modules).
742
742
 
743
743
  This is not available from the `jsonschema_rs` gem, which takes its schemas at run time.
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.61.1"
4
+ VERSION = "0.61.2"
5
5
  end
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.61.1
4
+ version: 0.61.2
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-11-10 00:00:00.000000000 Z
11
+ date: 2026-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal
@@ -56,7 +56,7 @@ metadata:
56
56
  homepage_uri: https://github.com/Stranger6667/jsonschema/tree/master/crates/jsonschema-rb
57
57
  source_code_uri: https://github.com/Stranger6667/jsonschema
58
58
  changelog_uri: https://github.com/Stranger6667/jsonschema/blob/master/crates/jsonschema-rb/CHANGELOG.md
59
- documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.61.1/crates/jsonschema-rb/README.md
59
+ documentation_uri: https://github.com/Stranger6667/jsonschema/blob/ruby-v0.61.2/crates/jsonschema-rb/README.md
60
60
  bug_tracker_uri: https://github.com/Stranger6667/jsonschema/issues
61
61
  funding_uri: https://github.com/sponsors/Stranger6667
62
62
  rubygems_mfa_required: 'true'