Grape v0.10.0 Release Notes

Release Date: 2014-12-19 // over 9 years ago
    • #803, #820: Added all_or_none_of parameter validator - @loveltyoic, @natecj.
    • #774: Extended mutually_exclusive, exactly_one_of, at_least_one_of to work inside any kind of group: requires or optional, Hash or Array - @ShPakvel.
    • ๐Ÿ’Ž #743: Added allow_blank parameter validator to validate non-empty strings - @elado.
    • ๐Ÿšš #745: Removed atom+xml, rss+xml, and jsonapi content-types - @akabraham.
    • ๐Ÿ’Ž #745: Added :binary, application/octet-stream content-type - @akabraham.
    • ๐Ÿ’Ž #757: Changed desc can now be used with a block syntax - @dspaeth-faber.
    • 0๏ธโƒฃ #779: Fixed using values with a default proc - @ShPakvel.
    • ๐Ÿ’Ž #799: Fixed custom validators with required Hash, Array types - @bwalex.
    • ๐Ÿ’Ž #784: Fixed present to not overwrite the previously added contents of the response body whebn called more than once - @mfunaro.
    • ๐Ÿšš #809: Removed automatic (.:format) suffix on paths if you're using only one format (e.g., with format :json, /path will respond with JSON but /path.xml will be a 404) - @ajvondrak.
    • ๐Ÿ’Ž #816: Added ability to filter out missing params if params is a nested hash with declared(params, include_missing: false) - @georgimitev.
    • ๐Ÿ’Ž #819: Allowed both desc and description in the params DSL - @mzikherman.
    • ๐Ÿ’Ž #821: Fixed passing string value when hash is expected in params - @rebelact.
    • ๐Ÿ’Ž #824: Validate array params against list of acceptable values - @dnd.
    • ๐Ÿ”จ #813: Routing methods dsl refactored to get rid of explicit paths parameter - @AlexYankee.
    • ๐Ÿ’Ž #826: Find coerce_type for Array when not specified - @manovotn.
    • ๐Ÿ’Ž #645: Invoking body false will return 204 No Content - @dblock.
    • 0๏ธโƒฃ #801: Only evaluate permitted parameter values and default lazily on each request when declared as a proc - @dblock.
    • ๐Ÿ’Ž #679: Fixed OPTIONS method returning 404 when combined with prefix - @dblock.
    • ๐Ÿ’Ž #679: Fixed unsupported methods returning 404 instead of 405 when combined with prefix - @dblock.