Skip to content

Commit

Permalink
Bumped to 1.9.0 and updated UPGRADING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery committed Oct 18, 2023
1 parent 3237433 commit 8c10933
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 32 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
57 changes: 29 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

## Table of Contents

- [Table of Contents](#table-of-contents)
- [What is Grape?](#what-is-grape)
- [Stable Release](#stable-release)
- [Project Resources](#project-resources)
Expand All @@ -24,7 +25,7 @@
- [Rails 5+](#rails-5)
- [Alongside Sinatra (or other frameworks)](#alongside-sinatra-or-other-frameworks)
- [Rails](#rails)
- [Rails < 5.2](#rails--52)
- [Rails \< 5.2](#rails--52)
- [Rails 6.0](#rails-60)
- [Modules](#modules)
- [Remounting](#remounting)
Expand All @@ -47,37 +48,37 @@
- [Integer/Fixnum and Coercions](#integerfixnum-and-coercions)
- [Custom Types and Coercions](#custom-types-and-coercions)
- [Multipart File Parameters](#multipart-file-parameters)
- [First-Class JSON Types](#first-class-json-types)
- [First-Class `JSON` Types](#first-class-json-types)
- [Multiple Allowed Types](#multiple-allowed-types)
- [Validation of Nested Parameters](#validation-of-nested-parameters)
- [Dependent Parameters](#dependent-parameters)
- [Group Options](#group-options)
- [Renaming](#renaming)
- [Built-in Validators](#built-in-validators)
- [allow_blank](#allow_blank)
- [values](#values)
- [except_values](#except_values)
- [same_as](#same_as)
- [regexp](#regexp)
- [mutually_exclusive](#mutually_exclusive)
- [exactly_one_of](#exactly_one_of)
- [at_least_one_of](#at_least_one_of)
- [all_or_none_of](#all_or_none_of)
- [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)
- [`allow_blank`](#allow_blank)
- [`values`](#values)
- [`except_values`](#except_values)
- [`same_as`](#same_as)
- [`regexp`](#regexp)
- [`mutually_exclusive`](#mutually_exclusive)
- [`exactly_one_of`](#exactly_one_of)
- [`at_least_one_of`](#at_least_one_of)
- [`all_or_none_of`](#all_or_none_of)
- [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)
- [Namespace Validation and Coercion](#namespace-validation-and-coercion)
- [Custom Validators](#custom-validators)
- [Validation Errors](#validation-errors)
- [I18n](#i18n)
- [Custom Validation messages](#custom-validation-messages)
- [presence, allow_blank, values, regexp](#presence-allow_blank-values-regexp)
- [same_as](#same_as-1)
- [all_or_none_of](#all_or_none_of-1)
- [mutually_exclusive](#mutually_exclusive-1)
- [exactly_one_of](#exactly_one_of-1)
- [at_least_one_of](#at_least_one_of-1)
- [Coerce](#coerce)
- [With Lambdas](#with-lambdas)
- [Pass symbols for i18n translations](#pass-symbols-for-i18n-translations)
- [`presence`, `allow_blank`, `values`, `regexp`](#presence-allow_blank-values-regexp)
- [`same_as`](#same_as-1)
- [`all_or_none_of`](#all_or_none_of-1)
- [`mutually_exclusive`](#mutually_exclusive-1)
- [`exactly_one_of`](#exactly_one_of-1)
- [`at_least_one_of`](#at_least_one_of-1)
- [`Coerce`](#coerce)
- [`With Lambdas`](#with-lambdas)
- [`Pass symbols for i18n translations`](#pass-symbols-for-i18n-translations)
- [Overriding Attribute Names](#overriding-attribute-names)
- [With Default](#with-default)
- [Headers](#headers)
Expand Down Expand Up @@ -139,11 +140,11 @@
- [Reloading in Rails Applications](#reloading-in-rails-applications)
- [Performance Monitoring](#performance-monitoring)
- [Active Support Instrumentation](#active-support-instrumentation)
- [endpoint_run.grape](#endpoint_rungrape)
- [endpoint_render.grape](#endpoint_rendergrape)
- [endpoint_run_filters.grape](#endpoint_run_filtersgrape)
- [endpoint_run_validators.grape](#endpoint_run_validatorsgrape)
- [format_response.grape](#format_responsegrape)
- [endpoint\_run.grape](#endpoint_rungrape)
- [endpoint\_render.grape](#endpoint_rendergrape)
- [endpoint\_run\_filters.grape](#endpoint_run_filtersgrape)
- [endpoint\_run\_validators.grape](#endpoint_run_validatorsgrape)
- [format\_response.grape](#format_responsegrape)
- [Monitoring Products](#monitoring-products)
- [Contributing to Grape](#contributing-to-grape)
- [Security](#security)
Expand All @@ -160,9 +161,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
Expand Down
14 changes: 14 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/grape/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Grape
# The current version of Grape.
VERSION = '1.8.1'
VERSION = '1.9.0'
end

0 comments on commit 8c10933

Please sign in to comment.