Skip to content

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahx committed Apr 7, 2024
1 parent fff5a31 commit 833c6e2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

## Unreleased

## 1.4.0

### Changed

Some redundant methods to validate or inspect requests/responsens will be removed in 2.0. So this release deprecates these methods.

- Deprecate `OpenapiFirst::RuntimeRequest#validate`, `#validate!`, `#validate_response`, `#response`.
Use `OpenapiFirst.load('openapi.yaml').validate_request(rack_request, raise_error: true/false)` instead
- Deprecate `OpenapiFirst::RuntimeResponse#validate`.
Use `OpenapiFirst.load('openapi.yaml').validate_response(rack_request, rack_response, raise_error: true/false)` instead.

These deprecated methods will be removed in version 2.0.

## 1.3.6

- FIx Rack 2 / Rails 6 compatibility ([#246](https://github.com/ahx/openapi_first/issues/246)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
openapi_first (1.3.6)
openapi_first (1.4.0)
hana (~> 1.3)
json_schemer (~> 2.1.0)
multi_json (~> 1.15)
Expand Down Expand Up @@ -51,7 +51,7 @@ GEM
hana (1.3.7)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
json_schemer (2.1.1)
hana (~> 1.3)
regexp_parser (~> 2.0)
Expand Down Expand Up @@ -91,7 +91,7 @@ GEM
loofah (~> 2.21)
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.13.0)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.rack2.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
openapi_first (1.3.6)
openapi_first (1.4.0)
hana (~> 1.3)
json_schemer (~> 2.1.0)
multi_json (~> 1.15)
Expand Down Expand Up @@ -51,7 +51,7 @@ GEM
hana (1.3.7)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
json_schemer (2.1.1)
hana (~> 1.3)
regexp_parser (~> 2.0)
Expand Down Expand Up @@ -92,7 +92,7 @@ GEM
loofah (~> 2.21)
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.13.0)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.rails6.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
openapi_first (1.3.6)
openapi_first (1.4.0)
hana (~> 1.3)
json_schemer (~> 2.1.0)
multi_json (~> 1.15)
Expand Down Expand Up @@ -40,7 +40,7 @@ GEM
hana (1.3.7)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
json_schemer (2.1.1)
hana (~> 1.3)
regexp_parser (~> 2.0)
Expand Down Expand Up @@ -85,7 +85,7 @@ GEM
loofah (~> 2.21)
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.13.0)
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
openapi_first (1.3.6)
openapi_first (1.4.0)
hana (~> 1.3)
json_schemer (~> 2.1.0)
multi_json (~> 1.15)
Expand Down Expand Up @@ -33,7 +33,7 @@ GEM
openapi_parameters (0.3.2)
rack (>= 2.2)
zeitwerk (~> 2.6)
openapi_parser (2.0.0)
openapi_parser (2.1.0)
puma (6.4.2)
nio4r (~> 2.0)
rack (3.0.10)
Expand Down
2 changes: 1 addition & 1 deletion lib/openapi_first/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OpenapiFirst
VERSION = '1.3.6'
VERSION = '1.4.0'
end

0 comments on commit 833c6e2

Please sign in to comment.