Skip to content

Commit

Permalink
update UPGRADING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dgasper committed Oct 14, 2016
1 parent 62d8696 commit f4f7279
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
Upgrading Grape
===============

### Upgrading to >= 0.18.0

#### Changed endpoint params validation

Grape now returns validation errors for all params when multiple params are passed to a requires.
The following code will return `one is missing, two is missing` when calling the endpoint without parameters.

```ruby
params do
requires :one, :two
end
```

Prior to this version the response would be `one is missing`.

### Upgrading to >= 0.17.0

#### Removed official support for Ruby < 2.2.2
Expand Down

0 comments on commit f4f7279

Please sign in to comment.