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 on Grape::Exceptions::Validation - @mkou.
    • #1398: Added rescue_from :grape_exceptions - allow Grape to use the built-in Grape::Exception handing and use rescue :all behavior for everything else - @mmclead.
    • ๐Ÿ’Ž #1443: Extended given to receive a Proc - @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 inside before when using not allowed method - @leifg.
    • 0๏ธโƒฃ #1438: Try to dup non-frozen default params with each use - @jlfaber.
    • ๐Ÿ’Ž #1430: Fix for declared(params) inside route_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 for Time attributes with valid values causes NoMethodError - @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.