Grape v1.2.5 Release Notes

Release Date: 2019-12-01 // 12 days 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.