multi_json gem is no longer a runtime dependency. Applications that relied on a configured MultiJson adapter should add it to their own Gemfile.
expose :x, &:missing_method no longer raises ArgumentError at definition time. Unknown methods now raise a native NoMethodError at call time.
If you rescue ArgumentError around entity rendering to catch typos in method names, update those rescue clauses to NoMethodError.
Official support for FetchableObject was removed.
See #352 for more information.
Official support for ruby < 2.5 removed, ruby 2.5 only in testing mode, but no support.
In Ruby 3.0: the block handling will be changed language-changes point 3, Proc. This:
expose :that_method_without_args, &:method_without_argswill be deprecated.
Prefer to use this pattern for simple setting a value
expose :method_without_args, as: :that_method_without_argsThe Grape::Entity#inspect method will no longer serialize the entity presenter with its options and delegator, but the exposed entity itself, using #serializable_hash.
See #250 for more information.
Grape::Entity::Exposure::NestingExposure::NestedExposures.delete_if always returns exposures, regardless of delete result (used to be nil in negative case).
See #203 for more information.