jsonschema_rs 0.49.0-aarch64-linux → 0.49.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: 30cf2dd3523b8236e0174b8428b54dd5be86de34f3ba139afd88a0fe89cd5f07
4
- data.tar.gz: ecb2e8de4b3188c94572d658e24ba39846431d4c9a2d7e48a9ed0a0b0c80117e
3
+ metadata.gz: b38e6d0dece8af64ba6d9c2b98e254f511365b68c301d7377fa3650a13249a76
4
+ data.tar.gz: 2a13adb7f480905c249f289161271fd6ab4601cfa3dd8f4a82d08910baffd849
5
5
  SHA512:
6
- metadata.gz: be97e1d4b66273b68874d74a48386047b5504800ed679a434013db70d92d3a7178bf86d8f9bd9e5099d8aff2913ef809130644cb3e8ba3ead95142f3bf3d476c
7
- data.tar.gz: 3d60a91a48228513758279430d71b100301e6b54d6631fe15b7ec7835bcfe83e0b29d5d530e66df324790385afd0255598f70cfdce4c94c3858bf5934352e6a7
6
+ metadata.gz: 7edd8a93e3d5d96c4e856d99bc236f85ad611d048a1099a0e09754b6f0e1cf68069897b3335dfd36af5f8b00930957e462b975a85a717a7b02797feae7a43888
7
+ data.tar.gz: 5145679726e875e58abf257ff0e8551e25b941335c5cfab8a6bee51a17ec0008af0e85fd32f2ee03c599787310b130fa425ea24ab100b8a3f6838bfce0c4c2f5
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.49.2] - 2026-07-28
6
+
7
+ ### Performance
8
+
9
+ - Faster serialization of canonicalized schemas.
10
+
11
+ ## [0.49.1] - 2026-07-25
12
+
13
+ ### Fixed
14
+
15
+ - `JSONSchema.canonicalize` rejecting `pattern_options` (it should take the same regex configuration as validators).
16
+ - `InvalidPattern` failures raising the base `CanonicalizationError` (they should raise `JSONSchema::Canonical::InvalidPattern`).
17
+
5
18
  ## [0.49.0] - 2026-07-25
6
19
 
7
20
  ### Added
@@ -219,7 +232,9 @@
219
232
 
220
233
  - Initial public release
221
234
 
222
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.0...HEAD
235
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.2...HEAD
236
+ [0.49.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.1...ruby-v0.49.2
237
+ [0.49.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.49.0...ruby-v0.49.1
223
238
  [0.49.0]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.5...ruby-v0.49.0
224
239
  [0.48.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.2...ruby-v0.48.5
225
240
  [0.48.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.48.1...ruby-v0.48.2
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.49.0"
4
+ VERSION = "0.49.2"
5
5
  end
data/sig/jsonschema.rbs CHANGED
@@ -29,6 +29,9 @@ module JSONSchema
29
29
  class InvalidSchemaType < CanonicalizationError
30
30
  end
31
31
 
32
+ class InvalidPattern < CanonicalizationError
33
+ end
34
+
32
35
  # A schema reduced to canonical form: schemas accepting the same values share one form.
33
36
  class CanonicalSchema
34
37
  def to_json_schema: () -> untyped
@@ -164,7 +167,8 @@ module JSONSchema
164
167
  def self.canonicalize: (
165
168
  untyped schema,
166
169
  ?draft: draft?,
167
- ?validate_formats: bool?
170
+ ?validate_formats: bool?,
171
+ ?pattern_options: (RegexOptions | FancyRegexOptions)?
168
172
  ) -> Canonical::CanonicalSchema
169
173
 
170
174
  # Create a validator with auto-detected draft version.
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.49.0
4
+ version: 0.49.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-07-25 00:00:00.000000000 Z
11
+ date: 2026-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal