-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated except and proc in values validator #2501
Remove deprecated except and proc in values validator #2501
Conversation
Generated by 🚫 Danger |
Fix rubocop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPGRADING nits, thanks!
There's some inconsistent capitalization in other lines of UPGRADING, appreciate if you could make those the same too :)
UPGRADING.md
Outdated
#### Remove deprecated methods | ||
|
||
Deprecated `file` method has been removed. Use `send_file` or `stream`. | ||
#### Remove deprecated methods and options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#### Remove deprecated methods and options | |
#### Remove Deprecated Methods and Options |
UPGRADING.md
Outdated
|
||
- Deprecated `file` method has been removed. Use `send_file` or `stream`. | ||
See [#2500](https://github.com/ruby-grape/grape/pull/2500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See [#2500](https://github.com/ruby-grape/grape/pull/2500) | |
See [#2500](https://github.com/ruby-grape/grape/pull/2500) for more information. |
UPGRADING.md
Outdated
See [#2500](https://github.com/ruby-grape/grape/pull/2500) | ||
|
||
- `except` and `proc` options have been removed from the `values` validator. Use `except validator` or assign `proc` directly to `values`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `except` and `proc` options have been removed from the `values` validator. Use `except validator` or assign `proc` directly to `values`. | |
- The `except` and `proc` options have been removed from the `values` validator. Use `except_values` validator or assign `proc` directly to `values`. |
UPGRADING.md
Outdated
See [#2500](https://github.com/ruby-grape/grape/pull/2500) | ||
|
||
- `except` and `proc` options have been removed from the `values` validator. Use `except validator` or assign `proc` directly to `values`. | ||
See [#2501](https://github.com/ruby-grape/grape/pull/2501) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See [#2501](https://github.com/ruby-grape/grape/pull/2501) | |
See [#2501](https://github.com/ruby-grape/grape/pull/2501) for more information. |
This PR removes the option
proc
andexcept
in the values validator. It's been deprecated since version 1.0.0