Grape v0.14.0 Release Notes
Release Date: 2015-12-07 // over 8 years ago-
๐ Features
- ๐ #1218: Provide array index context in errors - @towanda.
- ๐ #1196: Allow multiple
before_each
blocks - @huynhquancam. - ๐ #1190: Bypass formatting for statuses with no entity-body - @tylerdooling.
- ๐ #1188: Allow parameters with more than one type - @dslh.
- ๐ #1179: Allow all RFC6838 valid characters in header vendor - @suan.
- ๐ #1170: Allow dashes and periods in header vendor - @suan.
- ๐ #1167: Convenience wrapper
type: File
for validating multipart file parameters - @dslh. - ๐จ #1167: Refactor and extend coercion and type validation system - @dslh.
- ๐ #1163: First-class
JSON
parameter type - @dslh. - ๐ #1161: Custom parameter coercion using
coerce_with
- @dslh.
๐ Fixes
- ๐ #1194: Redirect as plain text with message - @tylerdooling.
- ๐ #1185: Use formatters for custom vendored content types - @tylerdooling.
- ๐ #1156: Fixed
no implicit conversion of Symbol into Integer
with nestedvalues
validation - @quickpay. - ๐ #1153: Fixes boolean declaration in an external file - @towanda.
- ๐ #1142: Makes #declared unavailable to before filters - @jrforrest.
- ๐ #1114: Fix regression which broke identical endpoints with different versions - @suan.
- ๐ #1109: Memoize Virtus attribute and fix memory leak - @marshall-lee.
- ๐ #1101: Fix: Incorrect media-type
Accept
header now correctly returns 406 withstrict: true
- @elliotlarson. - โ #1108: Raise a warning when
desc
is called with options hash and block - @rngtng.