From cd71b148d87de2e59a9b0804c8086c232dfc066a Mon Sep 17 00:00:00 2001 From: Stuart Chinery Date: Wed, 18 Oct 2023 09:14:48 +0100 Subject: [PATCH] Bumped to 1.9.0 and updated UPGRADING.md --- CHANGELOG.md | 11 ++++++++--- README.md | 4 ++-- UPGRADING.md | 14 ++++++++++++++ lib/grape/version.rb | 2 +- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eacba39b7e..4968c50856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,19 @@ -### 1.8.1 (Next) +### 1.9.1 (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) diff --git a/README.md b/README.md index b0fe3375f5..365bd1b7ea 100644 --- a/README.md +++ b/README.md @@ -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.8.1**. +You're reading the documentation for the next release of Grape, which should be **1.9.1**. Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version. -The current stable release is [1.8.0](https://github.com/ruby-grape/grape/blob/v1.8.0/README.md). +The current stable release is [1.9.0](https://github.com/ruby-grape/grape/blob/v1.9.0/README.md). ## Project Resources diff --git a/UPGRADING.md b/UPGRADING.md index 620e1d6ec9..329dd35315 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,6 +1,20 @@ Upgrading Grape =============== +### Upgrading to >= 1.9.0 + +#### Response Headers + +For Rack >= 3 the following response headers are returned lowercase: + +* `content-type` +* `x-cascade` + +For Rack < 3 the following response headers are returned capitalized: + +* `Content-Type` +* `X-Cascade` + ### Upgrading to >= 1.7.0 #### Exceptions renaming diff --git a/lib/grape/version.rb b/lib/grape/version.rb index d0632f9dfd..9b8501a1ed 100644 --- a/lib/grape/version.rb +++ b/lib/grape/version.rb @@ -2,5 +2,5 @@ module Grape # The current version of Grape. - VERSION = '1.8.1' + VERSION = '1.9.0' end