title: Shrine 3.7.1

New features

rb uploaded_file.derivation_url(:thumbnail, format: "jpg") #=> ".../thumbnail/eyJpZCI6ImZvbyIsInN.jpg?signature=..."

The extension is included in the URL signature, so it cannot be tampered with.

rb response = uploaded_file.to_rack_response(etag: "my-custom-etag") response[1]["ETag"] #=> "my-custom-etag"

Bug fixes

ArgumentError: wrong number of arguments (given 2, expected 1; required keyword: plugin)

The seems to be triggered by a special combination of method signatures, where keyword arguments get converted into positional arguments under Bootsnap. To work around this issue, method signatures of some plugin methods have been updated.