Shrine v2.17.0 Release Notes

Release Date: 2019-05-06 // over 2 years ago
    • data_uri – Add Attacher#assign_data_uri which accepts additional Shrine#upload options (@janko)

    • remote_url – Accept additional Shrine#upload options in Attacher#assign_remote_url (@janko)

    • download_endpoint – Allow passing options to Shrine.download_endpoint (@janko)

    • download_endpoint – Fix Shrine.download_endpoint not being accepted by Rails' #mount (@janko)

    • 🚚 download_endpoint – Remove Roda dependency (@janko)

    • 🔌 presign_endpoint – Soft-rename Shrine::Plugins::PresignEndpoint::App class to Shrine::PresignEndpoint (@janko)

    • 🔌 upload_endpoint – Soft-rename Shrine::Plugins::UploadEndpoint::App class to Shrine::UploadEndpoint (@janko)

    • processing – Fix defining process blocks being applied to Shrine superclasses (@ksol)

    • derivation_endpoint – Add ETag header to prevent Rack::ETag from buffering file content (@janko)

    • rack_response – Add ETag header to prevent Rack::ETag from buffering file content (@janko)

    • download_endpoint – Add ETag header to prevent Rack::ETag from buffering file content (@janko)

    • 0️⃣ default_url – Add :host for specifying the URL host (@janko)

    • versions – Fix uploaded versions being deleted when string version names are used (@janko)

    • versions – Allow Attacher#url to accept version name indifferently (@FunkyloverOne)

    • 👌 Improve performance of cleaning empty directories on deletion in FileSystem storage (@adamniedzielski)

    • ⬇️ Drop MRI 2.3 support (@janko)

    • 📇 metadata_attributes – Fix Attacher#assign not accepting additional options anymore (@janko)

    • 👍 derivation_endpoint – Add support for Rack < 2 (@Antsiscool)

    • 🔌 derivation_endpoint – Fix :upload option being incompatible with moving plugin (@speedo-spin)

    • determine_mime_type – Allow passing options to analzyers (Marcel accepts :filename_fallback option) (@hmistry)

    • determine_mime_type – Revert "Extended determine MIME type with Marcel" (@hmistry)

    • 🐎 rack_response – improve performance for upper bounded Range header values (@zarqman)

    • rack_response – prevent response body from yielding nil-chunks (@zarqman)

    • 📜 parsed_json – Accepts hashes with symbols keys (@aglushkov)