Delegate
ActiveStorage::Filename#to_str
to#to_s
Supports checking String equality:
filename = ActiveStorage::Filename.new("file.txt") filename == "file.txt" # => true filename in "file.txt" # => true "file.txt" == filename # => true
Sean Doyle
Add support for alternative MD5 implementation through
config.active_storage.checksum_implementation
.Also automatically degrade to using the slower
Digest::MD5
implementation ifOpenSSL::Digest::MD5
is found to be disabled because of OpenSSL FIPS mode.Matt Pasquini, Jean Boussier
A Blob will no longer autosave associated Attachment.
This fixes an issue where a record with an attachment would have its dirty attributes reset, preventing your
after commit
callbacks on that record to behave as expected.Note that this change doesn't require any changes on your application and is supposed to be internal. Active Storage Attachment will continue to be autosaved (through a different relation).
Edouard-chin
Please check [8-0-stable]) for previous changes.