Skip to content

Commit

Permalink
releng v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Mar 23, 2023
1 parent 2df61fa commit ae6a0a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## [Unreleased]

## [0.2.0] - 2023-03-24

- `Apigatewayv2Rack.handle_request` now takes a block and pass rack env and `Apigatewayv2Rack::Request` object to allow final modification before passing env to a Rack app.
- `Apigatewayv2Rack.generate_handler` and `handler_from_rack_config_file` propagates given block to `handle_request` for the enhancement above.
- Introduce `Apigatewayv2Rack::Middlewares::CloudfrontXff` and `Apigatewayv2Rack::Middlewares::CloudfrontVerify` as a helper middleware.

## [0.1.3] - 2023-03-22

- Fixed Errno::EACCES from StringIO when a streaming body (body does not respond to `#each`) is returned
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
apigatewayv2_rack (0.1.3)
apigatewayv2_rack (0.2.0)
rack

GEM
Expand Down Expand Up @@ -33,4 +33,4 @@ DEPENDENCIES
rspec (~> 3.0)

BUNDLED WITH
2.3.16
2.3.21
2 changes: 1 addition & 1 deletion lib/apigatewayv2_rack/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Apigatewayv2Rack
VERSION = "0.1.3"
VERSION = "0.2.0"
end

0 comments on commit ae6a0a6

Please sign in to comment.