Skip to content

Commit 0221502

Browse files
committed
Adds CHANGELOG and UPGRADE entries.
1 parent 1a9cbc4 commit 0221502

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#### Fixes
88

9+
* Your contribution here.
10+
* [#340](https://github.com/ruby-grape/grape-entity/pull/340): Preparations for 3.0 - [@LeFnord](https://github.com/LeFnord).
911
* [#338](https://github.com/ruby-grape/grape-entity/pull/338): Fix ruby 2.7 deprecation warning - [@begotten63](https://github.com/begotten63).
1012

1113
### 0.8.1 (2020-07-15)

UPGRADING.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
Upgrading Grape Entity
22
===============
33

4+
### Upgrading to >= 0.8.2
5+
6+
In Ruby 3.0: the block handling will be changed
7+
[language-changes point 3, Proc](https://github.com/ruby/ruby/blob/v3_0_0_preview1/NEWS.md#language-changes).
8+
This:
9+
```ruby
10+
expose :that_method_without_args, &:method_without_args
11+
```
12+
will be deprecated.
13+
14+
Prefer to use this pattern for simple setting a value
15+
```ruby
16+
expose :method_without_args, as: :that_method_without_args
17+
```
18+
419
### Upgrading to >= 0.6.0
520

621
#### Changes in Grape::Entity#inspect

0 commit comments

Comments
 (0)