jsonschema_rs 0.46.3 → 0.46.5

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: 268f57f678cd1431690a140b219bc7fa586f52863312c788567ee50108f51101
4
- data.tar.gz: 81e59793da8b023e9d7b5305449051b70037c5627ac2173ef6c77b921b6594ec
3
+ metadata.gz: 6f9a8ff5b64452157dd1c4ba76dd082f5b2de15dc0847cb2931e80a5718fe79c
4
+ data.tar.gz: bf4cfd3f2003a8deb30eac275b4e8faeb18eeff3163c8ae0e9583071b8d6f796
5
5
  SHA512:
6
- metadata.gz: b66c00e4fe30e0a6ffb168db4e2ee1d2e9008be398ff495b553e1155f792d6855a21456d16981a3c7e683481b37c09cfc5b24440089db4be4d705d9dfe11e956
7
- data.tar.gz: 46d9160b91436e9334b7d0d3707f45121c5a8b46e01423f6505794cc2a922cd548c1443341fd6089260481250c256e7452a3fb37db2e8a3381bd04daae726bc9
6
+ metadata.gz: 215c2b3d8dc2411ee02ea5bc3c322447506497e2a11e39cc54769abdd30146e766f1638d6f7d7d75f4c098156256d73f074c99eb9d15c6e655491be6bad3b2a6
7
+ data.tar.gz: a7a660e10f144346d97f0ad902486aa3f2b81eed188eecd4704fa336cbcb5027e31e4a01ee4867ec0fc245f828384fdb0054d911350c82aae5b2aadbd983fac6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.46.5] - 2026-05-13
6
+
7
+ ### Fixed
8
+
9
+ - Percent-encoded characters in `$ref` URI fragments (e.g. `#/$defs/Request%20class`) are now decoded when stored as `schema_path`.
10
+
11
+ ## [0.46.4] - 2026-05-02
12
+
13
+ ### Fixed
14
+
15
+ - Panic in the regex engine when matching against patterns with very large `{0,N}` quantifiers.
16
+
5
17
  ## [0.46.3] - 2026-04-28
6
18
 
7
19
  ### Fixed
@@ -104,7 +116,9 @@
104
116
 
105
117
  - Initial public release
106
118
 
107
- [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.3...HEAD
119
+ [Unreleased]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.5...HEAD
120
+ [0.46.5]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.4...ruby-v0.46.5
121
+ [0.46.4]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.3...ruby-v0.46.4
108
122
  [0.46.3]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.2...ruby-v0.46.3
109
123
  [0.46.2]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.1...ruby-v0.46.2
110
124
  [0.46.1]: https://github.com/Stranger6667/jsonschema/compare/ruby-v0.46.0...ruby-v0.46.1
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb"
3
- version = "0.46.3"
3
+ version = "0.46.5"
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.46.3", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
16
+ jsonschema = { version = "0.46.5", 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 }
@@ -693,9 +693,9 @@ dependencies = [
693
693
 
694
694
  [[package]]
695
695
  name = "jsonschema"
696
- version = "0.46.3"
696
+ version = "0.46.5"
697
697
  source = "registry+https://github.com/rust-lang/crates.io-index"
698
- checksum = "cbe92a2f8b00686061eab5cdcfd6f382c27f2084456e7be90ae9f0fe4a30552a"
698
+ checksum = "6a5fe5206f06e589caf25e79fc05ccdf91fca745685fe9fe1a13bbdfb479a631"
699
699
  dependencies = [
700
700
  "ahash",
701
701
  "bytecount",
@@ -723,7 +723,7 @@ dependencies = [
723
723
 
724
724
  [[package]]
725
725
  name = "jsonschema-rb-ext"
726
- version = "0.46.3"
726
+ version = "0.46.5"
727
727
  dependencies = [
728
728
  "jsonschema",
729
729
  "magnus",
@@ -1064,9 +1064,9 @@ dependencies = [
1064
1064
 
1065
1065
  [[package]]
1066
1066
  name = "referencing"
1067
- version = "0.46.3"
1067
+ version = "0.46.5"
1068
1068
  source = "registry+https://github.com/rust-lang/crates.io-index"
1069
- checksum = "e125f10bdcd507598c702daada18c47fe5bfba4d7a9545b015b5d432f7168ca3"
1069
+ checksum = "69e4e17ef386c5383591d07623d3de49cbc601156e7582973e6db98d66a57de2"
1070
1070
  dependencies = [
1071
1071
  "ahash",
1072
1072
  "fluent-uri",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonschema-rb-ext"
3
- version = "0.46.3"
3
+ version = "0.46.5"
4
4
  edition = "2021"
5
5
  publish = false
6
6
 
@@ -10,10 +10,10 @@ name = "jsonschema_rb"
10
10
  path = "../../src/lib.rs"
11
11
 
12
12
  [dependencies]
13
- jsonschema = { version = "0.46.3", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
13
+ jsonschema = { version = "0.46.5", default-features = false, features = ["arbitrary-precision", "resolve-http", "resolve-file", "tls-ring"] }
14
14
  magnus = { version = "0.8", features = ["rb-sys"] }
15
15
  rb-sys = "0.9"
16
- referencing = "0.46.3"
16
+ referencing = "0.46.5"
17
17
  serde = { version = "1", features = ["derive"] }
18
18
  serde_json = { version = "1", features = ["arbitrary_precision"] }
19
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSONSchema
4
- VERSION = "0.46.3"
4
+ VERSION = "0.46.5"
5
5
  end
data/src/error_kind.rs CHANGED
@@ -164,7 +164,7 @@ impl ValidationErrorKind {
164
164
  ID_CONTENT_MEDIA_TYPE.to_symbol(),
165
165
  ruby.into_value(content_media_type.as_str()),
166
166
  )?,
167
- K::Custom { message, .. } => rb_hash1(
167
+ K::Custom { message, .. } | K::RegexEngineFailure { message } => rb_hash1(
168
168
  ruby,
169
169
  ID_MESSAGE.to_symbol(),
170
170
  ruby.into_value(message.as_str()),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonschema_rs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.3
4
+ version: 0.46.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dygalo