Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery committed Oct 19, 2023
1 parent cd71b14 commit 6bfc616
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
13 changes: 4 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
### 1.9.1 (Next)
### 1.9.0 (Next)

#### Features

* [#2353](https://github.com/ruby-grape/grape/pull/2353): Added Rails 7.1 support - [@ericproulx](https://github.com/ericproulx).
* [#2355](https://github.com/ruby-grape/grape/pull/2355): Set response headers based on Rack version - [@schinery](https://github.com/schinery).
* Your contribution here.

#### Fixes

* Your contribution here.
*
### 1.9.0 (2023/10/18)

#### Features

* [#2353](https://github.com/ruby-grape/grape/pull/2353): Added Rails 7.1 support - [@ericproulx](https://github.com/ericproulx).
* [#2355](https://github.com/ruby-grape/grape/pull/2355): Set response headers based on Rack version - [@schinery](https://github.com/schinery).

### 1.8.0 (2023/08/30)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ content negotiation, versioning and much more.

## Stable Release

You're reading the documentation for the next release of Grape, which should be **1.9.1**.
You're reading the documentation for the next release of Grape, which should be **1.9.0**.
Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version.
The current stable release is [1.9.0](https://github.com/ruby-grape/grape/blob/v1.9.0/README.md).
The current stable release is [1.8.0](https://github.com/ruby-grape/grape/blob/v1.8.0/README.md).


## Project Resources
Expand Down
6 changes: 4 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ Upgrading Grape

#### Response Headers

For Rack >= 3 the following response headers are returned lowercase:
As per [rack/rack#1592](https://github.com/rack/rack/issues/1592) Rack 3.0 is enforcing the HTTP/2 semantics, and thus treats all headers as lowercase. Starting with Grape 1.9.0, the following headers are now lowercase:

* `content-type`
* `x-cascade`

For Rack < 3 the following response headers are returned capitalized:
For Rack < 3 the following response headers are returned using HTTP/1 semantics, like so:

* `Content-Type`
* `X-Cascade`

See [#2355](https://github.com/ruby-grape/grape/pull/2355) for more information.

### Upgrading to >= 1.7.0

#### Exceptions renaming
Expand Down

0 comments on commit 6bfc616

Please sign in to comment.