From 4a2b6b5d684805aa2b559079393d9233132f9ec0 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 25 Sep 2024 18:34:31 +0200 Subject: [PATCH] Add CHANGELOG.md and UPGRADING.md --- CHANGELOG.md | 1 + UPGRADING.md | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa56c6c119..09b7d2e88e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ #### Features * [#2497](https://github.com/ruby-grape/grape/pull/2497): Update RuboCop to 1.66.1 - [@ericproulx](https://github.com/ericproulx). +* [#2500](https://github.com/ruby-grape/grape/pull/2500): Remove deprecated `file` method - [@ericproulx](https://github.com/ericproulx). * Your contribution here. #### Fixes diff --git a/UPGRADING.md b/UPGRADING.md index cba4774bbe..acc74fbac8 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,6 +1,14 @@ Upgrading Grape =============== +### Upgrading to >= 2.3.0 + +#### Remove deprecated methods + +Deprecated `file` method has been removed. Use `send_file` or `stream`. + +See [#2500](https://github.com/ruby-grape/grape/pull/2500) + ### Upgrading to >= 2.2.0 ### `Length` validator