Skip to content

Commit 19cb350

Browse files
[skip ci] ActiveStorage notable changes added to 7.1 release note
Request changes updated
1 parent 4f33e65 commit 19cb350

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

guides/source/7_1_release_notes.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,19 @@ Please refer to the [Changelog][active-storage] for detailed changes.
349349

350350
### Notable changes
351351

352+
* `ActiveStorage::Analyzer::AudioAnalyzer` now outputs `sample_rate` and `tags` in the output `metadata` hash.
353+
354+
* Add the option to utilize predefined variants when invoking the `preview` or `representation` methods on an
355+
attachment.
356+
357+
* `preprocessed` option is added when declaring variants to preprocess variants.
358+
359+
* Add the ability to destroy active storage variants.
360+
361+
```ruby
362+
User.first.avatar.variant(resize_to_limit: [100, 100]).destroy
363+
```
364+
352365
Active Model
353366
------------
354367

0 commit comments

Comments
 (0)