Skip to content

Commit 12c737d

Browse files
committed
Merge branch '28184-upgrade-and-fix-Vulnerability' into 'master'
bump version to `1.4.0` Closes #13 See merge request kdanmobile/shared-code-base/gems/error_response!51
2 parents aec409e + 5e02886 commit 12c737d

4 files changed

Lines changed: 15 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
## [1.3.2.beta] - 2026-06-16
2-
- Relax `activesupport` dependency constraint from `~> 7.1.6` to `>= 7.1.6, < 9.0` to unblock services upgrading to Rails 7.2 / 8.x.
3-
4-
## [1.3.1.beta] - 2026-06-03
1+
## [1.4.0] - 2026-06-23
2+
- Drop the `activesupport` lower-bound; constraint is now `< 9.0` (was `~> 7.1.6`).
53
- Prevent `ErrorResponse::RequestError` from being swallowed by broad handlers such as `rescue_from Exception`.
64
- Handle `RequestError` through `ErrorResponse::Helper#rescue_with_handler` before falling back to generic rescue flow.
75
- Add RSpec coverage for rescue order behavior with both `RequestError` and non-`RequestError` exceptions.
86
- Update README to document the rescue order guarantee and usage notes with broad exception handlers.
7+
- Released as minor bump (1.4.0) so downstream services pinned to `~> 1.3` or earlier are not auto-updated; upgrade to `~> 1.4` is opt-in per service.
98

109
## [1.3.0] - 2026-06-02
1110
- Add `config.error_message_resolver` extension hook to customize `ErrorResponse::Helper#error_response` without monkey patching.

Gemfile.lock

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PATH
22
remote: .
33
specs:
4-
error_response (1.3.2.beta)
5-
activesupport (>= 7.1.6, < 9.0)
4+
error_response (1.4.0)
5+
activesupport (< 9.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -24,20 +24,20 @@ GEM
2424
public_suffix (>= 2.0.2, < 8.0)
2525
ast (2.4.3)
2626
base64 (0.3.0)
27-
bigdecimal (3.2.2)
28-
concurrent-ruby (1.3.5)
29-
connection_pool (2.5.3)
27+
bigdecimal (4.1.2)
28+
concurrent-ruby (1.3.7)
29+
connection_pool (3.0.2)
3030
diff-lcs (1.6.2)
3131
drb (2.2.3)
32-
i18n (1.14.7)
32+
i18n (1.15.2)
3333
concurrent-ruby (~> 1.0)
3434
io-console (0.8.1)
3535
irb (1.17.0)
3636
pp (>= 0.6.0)
3737
prism (>= 1.3.0)
3838
rdoc (>= 4.0.0)
3939
reline (>= 0.4.2)
40-
json (2.19.2)
40+
json (2.19.9)
4141
json-schema (6.2.0)
4242
addressable (~> 2.8)
4343
bigdecimal (>= 3.1, < 5)
@@ -46,7 +46,9 @@ GEM
4646
logger (1.7.0)
4747
mcp (0.9.2)
4848
json-schema (>= 4.1)
49-
minitest (5.25.5)
49+
minitest (6.0.6)
50+
drb (~> 2.0)
51+
prism (~> 1.5)
5052
parallel (1.27.0)
5153
parser (3.3.10.2)
5254
ast (~> 2.4.1)

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.2.beta
1+
1.4.0

error_response.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Gem::Specification.new do |s|
1818
"rubygems_mfa_required" => "true"
1919
}
2020

21-
s.add_dependency "activesupport", ">= 7.1.6", "< 9.0"
21+
s.add_dependency "activesupport", "< 9.0"
2222
end

0 commit comments

Comments
 (0)