---
title: Shrine 3.0.1
---

## Regressions

* Fixed `metadata_attributes` plugin raising an exception when the attachment
  is removed (assigned to `nil`).

## Improvements

* Simplified `UploadedFile#inspect` output:

  ```rb
  # before
  uploaded_file.inspect
  #=> #<Shrine::UploadedFile:0x00007fa4e4140d30 @id="cda84bbdab12b2bd41ea34590060a807", @storage_key=:memory, @metadata={"filename"=>nil, "size"=>0, "mime_type"=>nil}>

  # after
  uploaded_file.inspect
  #=> #<Shrine::UploadedFile id="488b887dd792b4c82d3fc445140c5a38" storage=:memory metadata={"filename"=>nil, "size"=>0, "mime_type"=>nil}>
  ```
