[skip ci] ActiveStorage notable changes added to 7.1 release note

Request changes updated
This commit is contained in:
Akhil G Krishnan 2023-08-29 14:47:50 +05:30
parent 4f33e65fc5
commit 19cb350296

@ -349,6 +349,19 @@ Please refer to the [Changelog][active-storage] for detailed changes.
### Notable changes
* `ActiveStorage::Analyzer::AudioAnalyzer` now outputs `sample_rate` and `tags` in the output `metadata` hash.
* Add the option to utilize predefined variants when invoking the `preview` or `representation` methods on an
attachment.
* `preprocessed` option is added when declaring variants to preprocess variants.
* Add the ability to destroy active storage variants.
```ruby
User.first.avatar.variant(resize_to_limit: [100, 100]).destroy
```
Active Model
------------