Grape v0.17.0 Release Notes
-
๐ Features
- 0๏ธโฃ #1393: Middleware can be inserted before or after default Grape middleware - @ridiculous.
- ๐ #1390: Allowed inserting middleware at arbitrary points in the middleware stack - @rosa.
- ๐ #1366: Stored
message_key
onGrape::Exceptions::Validation
- @mkou. - #1398: Added
rescue_from :grape_exceptions
- allow Grape to use the built-inGrape::Exception
handing and userescue :all
behavior for everything else - @mmclead. - ๐ #1443: Extended
given
to receive aProc
- @glaucocustodio. - ๐ #1455: Added an automated PR linter - @orta.
๐ Fixes
- ๐ #1463: Fix array indicies in error messages - @ffloyd.
- ๐ #1465: Fix 'before' being called twice when using not allowed method - @jsteinberg.
- ๐ #1446: Fix for
env
insidebefore
when using not allowed method - @leifg. - 0๏ธโฃ #1438: Try to dup non-frozen default params with each use - @jlfaber.
- ๐ #1430: Fix for
declared(params)
insideroute_param
- @Arkanain. - ๐ #1405: Fix priority of
rescue_from
clauses applying - @hedgesky. - ๐ #1365: Fix finding exception handler in error middleware - @ktimothy.
- ๐ #1380: Fix
allow_blank: false
forTime
attributes with valid values causesNoMethodError
- @ipkes. - ๐ #1384: Fix parameter validation with an empty optional nested
Array
- @ipkes. - ๐ #1414: Fix multiple version definitions for path versioning - @304.
- #1415: Fix
declared(params, include_parent_namespaces: false)
- @304. - ๐ #1421: Avoid polluting
Grape::Middleware::Error
- @namusyaka. - ๐ #1422: Concat parent declared params with current one - @plukevdh, @rnubel, @namusyaka.