Grape v1.2.5 Release Notes

Release Date: 2019-12-01 // over 4 years ago
  • ๐Ÿ”‹ Features

    • ๐Ÿ’Ž #1931: Introduces LazyBlock to generate expressions that will executed at mount time - @myxoh.
    • ๐Ÿ’Ž #1918: Helper methods to access controller context from middleware - @NikolayRys.
    • ๐Ÿ’Ž #1915: Micro optimizations in allocating hashes and arrays - @dnesteryuk.
    • ๐Ÿ’Ž #1904: Allows Grape to load files on startup rather than on the first call - @myxoh.
    • ๐Ÿ”ง #1907: Adds outside configuration to Grape with configure - @unleashy.
    • ๐Ÿ’Ž #1914: Run specs in random order - @splattael.

    ๐Ÿ›  Fixes

    • โšก๏ธ #1917: Update access to rack constant - @NikolayRys.
    • ๐Ÿ’Ž #1916: Drop old appraisals - @NikolayRys.
    • ๐Ÿ’Ž #1911: Make sure Grape::Valiations::AtLeastOneOfValidator properly treats nested params in errors - @dnesteryuk.
    • ๐Ÿ’Ž #1893: Allows Grape::API to behave like a Rack::app in some instances where it was misbehaving - @myxoh.
    • ๐Ÿ”จ #1898: Refactor ValidatorFactory to improve memory allocation - @Bhacaz.
    • ๐Ÿ’Ž #1900: Define boolean for Grape::Api::Instance - @Bhacaz.
    • ๐Ÿ’Ž #1903: Allow nested params renaming (Hash/Array) - @bikolya.
    • ๐Ÿ’Ž #1913: Fix multiple params validators to return correct messages for nested params - @bikolya.
    • ๐Ÿ”ง #1926: Fixes configuration within given or mounted blocks - @myxoh.
    • ๐Ÿš€ #1937: Fix bloat in released gem - @dblock.