Shrine v3.2.0 Release Notes

Release Date: 2019-12-17 // almost 2 years ago
    • validation – Run validation on Attacher#attach & Attacher#attach_cached instead of Attacher#change (@janko)

    • 🚚 remove_invalid – Activate also when Attacher#validate is run manually (@janko)

    • 🚚 remove_invalid – Fix incompatibility with derivatives plugin (@janko)

    • 🔌 type_predicates – Add new plugin with convenient UploadedFile predicate methods based on MIME type (@janko)

    • core – Allow assigning back current attached file data (@janko)

    • derivatives – Fix :derivative value inconsistency when derivatives are being promoted (@janko)

    • 📇 add_metadata – Add #add_metadata method for adding metadata to uploaded files (@janko)

    • 🛰 derivatives – Add :io and :attacher values to instrumentation event payload (@janko)