Skip to content

Commit 8c10933

Browse files
committed
Bumped to 1.9.0 and updated UPGRADING.md
1 parent 3237433 commit 8c10933

File tree

4 files changed

+52
-32
lines changed

4 files changed

+52
-32
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
### 1.8.1 (Next)
1+
### 1.9.1 (Next)
22

33
#### Features
44

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

97
#### Fixes
108

119
* Your contribution here.
10+
*
11+
### 1.9.0 (2023/10/18)
12+
13+
#### Features
14+
15+
* [#2353](https://github.com/ruby-grape/grape/pull/2353): Added Rails 7.1 support - [@ericproulx](https://github.com/ericproulx).
16+
* [#2355](https://github.com/ruby-grape/grape/pull/2355): Set response headers based on Rack version - [@schinery](https://github.com/schinery).
1217

1318
### 1.8.0 (2023/08/30)
1419

README.md

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
## Table of Contents
1111

12+
- [Table of Contents](#table-of-contents)
1213
- [What is Grape?](#what-is-grape)
1314
- [Stable Release](#stable-release)
1415
- [Project Resources](#project-resources)
@@ -24,7 +25,7 @@
2425
- [Rails 5+](#rails-5)
2526
- [Alongside Sinatra (or other frameworks)](#alongside-sinatra-or-other-frameworks)
2627
- [Rails](#rails)
27-
- [Rails < 5.2](#rails--52)
28+
- [Rails \< 5.2](#rails--52)
2829
- [Rails 6.0](#rails-60)
2930
- [Modules](#modules)
3031
- [Remounting](#remounting)
@@ -47,37 +48,37 @@
4748
- [Integer/Fixnum and Coercions](#integerfixnum-and-coercions)
4849
- [Custom Types and Coercions](#custom-types-and-coercions)
4950
- [Multipart File Parameters](#multipart-file-parameters)
50-
- [First-Class JSON Types](#first-class-json-types)
51+
- [First-Class `JSON` Types](#first-class-json-types)
5152
- [Multiple Allowed Types](#multiple-allowed-types)
5253
- [Validation of Nested Parameters](#validation-of-nested-parameters)
5354
- [Dependent Parameters](#dependent-parameters)
5455
- [Group Options](#group-options)
5556
- [Renaming](#renaming)
5657
- [Built-in Validators](#built-in-validators)
57-
- [allow_blank](#allow_blank)
58-
- [values](#values)
59-
- [except_values](#except_values)
60-
- [same_as](#same_as)
61-
- [regexp](#regexp)
62-
- [mutually_exclusive](#mutually_exclusive)
63-
- [exactly_one_of](#exactly_one_of)
64-
- [at_least_one_of](#at_least_one_of)
65-
- [all_or_none_of](#all_or_none_of)
66-
- [Nested mutually_exclusive, exactly_one_of, at_least_one_of, all_or_none_of](#nested-mutually_exclusive-exactly_one_of-at_least_one_of-all_or_none_of)
58+
- [`allow_blank`](#allow_blank)
59+
- [`values`](#values)
60+
- [`except_values`](#except_values)
61+
- [`same_as`](#same_as)
62+
- [`regexp`](#regexp)
63+
- [`mutually_exclusive`](#mutually_exclusive)
64+
- [`exactly_one_of`](#exactly_one_of)
65+
- [`at_least_one_of`](#at_least_one_of)
66+
- [`all_or_none_of`](#all_or_none_of)
67+
- [Nested `mutually_exclusive`, `exactly_one_of`, `at_least_one_of`, `all_or_none_of`](#nested-mutually_exclusive-exactly_one_of-at_least_one_of-all_or_none_of)
6768
- [Namespace Validation and Coercion](#namespace-validation-and-coercion)
6869
- [Custom Validators](#custom-validators)
6970
- [Validation Errors](#validation-errors)
7071
- [I18n](#i18n)
7172
- [Custom Validation messages](#custom-validation-messages)
72-
- [presence, allow_blank, values, regexp](#presence-allow_blank-values-regexp)
73-
- [same_as](#same_as-1)
74-
- [all_or_none_of](#all_or_none_of-1)
75-
- [mutually_exclusive](#mutually_exclusive-1)
76-
- [exactly_one_of](#exactly_one_of-1)
77-
- [at_least_one_of](#at_least_one_of-1)
78-
- [Coerce](#coerce)
79-
- [With Lambdas](#with-lambdas)
80-
- [Pass symbols for i18n translations](#pass-symbols-for-i18n-translations)
73+
- [`presence`, `allow_blank`, `values`, `regexp`](#presence-allow_blank-values-regexp)
74+
- [`same_as`](#same_as-1)
75+
- [`all_or_none_of`](#all_or_none_of-1)
76+
- [`mutually_exclusive`](#mutually_exclusive-1)
77+
- [`exactly_one_of`](#exactly_one_of-1)
78+
- [`at_least_one_of`](#at_least_one_of-1)
79+
- [`Coerce`](#coerce)
80+
- [`With Lambdas`](#with-lambdas)
81+
- [`Pass symbols for i18n translations`](#pass-symbols-for-i18n-translations)
8182
- [Overriding Attribute Names](#overriding-attribute-names)
8283
- [With Default](#with-default)
8384
- [Headers](#headers)
@@ -139,11 +140,11 @@
139140
- [Reloading in Rails Applications](#reloading-in-rails-applications)
140141
- [Performance Monitoring](#performance-monitoring)
141142
- [Active Support Instrumentation](#active-support-instrumentation)
142-
- [endpoint_run.grape](#endpoint_rungrape)
143-
- [endpoint_render.grape](#endpoint_rendergrape)
144-
- [endpoint_run_filters.grape](#endpoint_run_filtersgrape)
145-
- [endpoint_run_validators.grape](#endpoint_run_validatorsgrape)
146-
- [format_response.grape](#format_responsegrape)
143+
- [endpoint\_run.grape](#endpoint_rungrape)
144+
- [endpoint\_render.grape](#endpoint_rendergrape)
145+
- [endpoint\_run\_filters.grape](#endpoint_run_filtersgrape)
146+
- [endpoint\_run\_validators.grape](#endpoint_run_validatorsgrape)
147+
- [format\_response.grape](#format_responsegrape)
147148
- [Monitoring Products](#monitoring-products)
148149
- [Contributing to Grape](#contributing-to-grape)
149150
- [Security](#security)
@@ -160,9 +161,9 @@ content negotiation, versioning and much more.
160161

161162
## Stable Release
162163

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

167168

168169
## Project Resources

UPGRADING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Upgrading Grape
22
===============
33

4+
### Upgrading to >= 1.9.0
5+
6+
#### Response Headers
7+
8+
For Rack >= 3 the following response headers are returned lowercase:
9+
10+
* `content-type`
11+
* `x-cascade`
12+
13+
For Rack < 3 the following response headers are returned capitalized:
14+
15+
* `Content-Type`
16+
* `X-Cascade`
17+
418
### Upgrading to >= 1.7.0
519

620
#### Exceptions renaming

lib/grape/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
module Grape
44
# The current version of Grape.
5-
VERSION = '1.8.1'
5+
VERSION = '1.9.0'
66
end

0 commit comments

Comments
 (0)