Skip to content

Commit 048b00c

Browse files
authored
Documented caveat from #1451, incremented version to 0.17.0. (#1452)
1 parent 8b72144 commit 048b00c

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0.16.3 (Next)
1+
0.17.0 (Next)
22
=============
33

44
#### Features

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ content negotiation, versioning and much more.
103103

104104
## Stable Release
105105

106-
You're reading the documentation for the next release of Grape, which should be 0.16.3.
106+
You're reading the documentation for the next release of Grape, which should be 0.17.0.
107107
Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version.
108108
The current stable release is [0.16.2](https://github.com/ruby-grape/grape/blob/v0.16.2/README.md).
109109

UPGRADING.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
Upgrading Grape
22
===============
33

4-
### Upgrading to >= 0.16.0
4+
### Upgrading to >= 0.17.0
55

66
#### Removed official support for Ruby < 2.2.2
77

8-
Since 0.16.3 Grape is no longer automatically tested against versions of Ruby prior to 2.2.2.
9-
This is because of its dependency on activesupport which, with version 5.0.0, now requires
10-
at least Ruby 2.2.2.
8+
Grape is no longer automatically tested against versions of Ruby prior to 2.2.2. This is because of its dependency on activesupport which, with version 5.0.0, now requires at least Ruby 2.2.2.
9+
10+
See [#1441](https://github.com/ruby-grape/grape/pull/1441) for nmore information.
1111

1212
#### Changed priority of `rescue_from` clauses applying
1313

14-
Since 0.16.3 `rescue_from` clauses declared inside namespace would take a priority over ones declared in the root scope.
14+
The `rescue_from` clauses declared inside a namespace would take a priority over ones declared in the root scope.
1515
This could possibly affect those users who use different `rescue_from` clauses in root scope and in namespaces.
1616

17+
See [#1405](https://github.com/ruby-grape/grape/pull/1405) for more inforomation.
18+
19+
#### Helper methods injected inside `rescue_from` in middleware
20+
21+
Helper methods are injected inside `rescue_from` may cause undesirable effects. For example, definining a helper method called `error!` will take precendence over the built-in `error!` method and should be renamed.
22+
23+
See [#1451](https://github.com/ruby-grape/grape/issues/1451) for an example.
24+
25+
### Upgrading to >= 0.16.0
26+
1727
#### Replace rack-mount with new router
1828

1929
The `Route#route_xyz` methods have been deprecated since 0.15.1.

lib/grape/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Grape
22
# The current version of Grape.
3-
VERSION = '0.16.3'.freeze
3+
VERSION = '0.17.0'.freeze
44
end

0 commit comments

Comments
 (0)