Skip to content

Commit 47aee9a

Browse files
Add Release Notes for Active Storage [ci skip]
Co-authored-by: Abhay Nikam <[email protected]>
1 parent 7575242 commit 47aee9a

File tree

1 file changed

+60
-2
lines changed

1 file changed

+60
-2
lines changed

guides/source/6_0_release_notes.md

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,68 @@ Please refer to the [Changelog][active-storage] for detailed changes.
605605

606606
### Deprecations
607607

608+
* Deprecate `config.active_storage.queue` in favor of `config.active_storage.queues.analysis`
609+
and `config.active_storage.queues.purge`.
610+
([Pull Request](https://github.com/rails/rails/pull/34838))
611+
612+
* Deprecate `ActiveStorage::Downloading` in favor of `ActiveStorage::Blob#open`.
613+
([Commit](https://github.com/rails/rails/commit/ee21b7c2eb64def8f00887a9fafbd77b85f464f1))
614+
615+
* Deprecate using `mini_magick` directly for generating image variants in favor of
616+
`image_processing`.
617+
([Commit](https://github.com/rails/rails/commit/697f4a93ad386f9fb7795f0ba68f815f16ebad0f))
618+
619+
* Deprecate `:combine_options` in Active Storage's ImageProcessing transformer
620+
without replacement.
621+
([Commit](https://github.com/rails/rails/commit/697f4a93ad386f9fb7795f0ba68f815f16ebad0f))
622+
608623
### Notable changes
609624

610-
* Updating an attached model via `update` or `update!` with, say,
611-
`@user.update!(images: [ … ])` now replaces the existing images instead of merely adding to them.
625+
* Add support for generating BMP image variants.
626+
([Pull Request](https://github.com/rails/rails/pull/36051))
627+
628+
* Add support for generating TIFF image variants.
629+
([Pull Request](https://github.com/rails/rails/pull/34824))
630+
631+
* Add support for generating progressive JPEG image variants.
632+
([Pull Request](https://github.com/rails/rails/pull/34455))
633+
634+
* Add `ActiveStorage.routes_prefix` for configuring the Active Storage generated routes.
635+
([Pull Request](https://github.com/rails/rails/pull/33883))
636+
637+
* Generate a 404 Not Found response on `ActiveStorage::DiskController#show` when
638+
the requested file is missing from the disk service.
639+
([Pull Request](https://github.com/rails/rails/pull/33666))
640+
641+
* Raise `ActiveStorage::FileNotFoundError` when the requested file is missing for
642+
`ActiveStorage::Blob#download` and `ActiveStorage::Blob#open`.
643+
([Pull Request](https://github.com/rails/rails/pull/33666))
644+
645+
* Add a generic `ActiveStorage::Error` class that Active Storage exceptions inherit from.
646+
([Commit](https://github.com/rails/rails/commit/18425b837149bc0d50f8d5349e1091a623762d6b))
647+
648+
* Persist uploaded files assigned to a record to storage when the record
649+
is saved instead of immediately.
650+
([Pull Request](https://github.com/rails/rails/pull/33303))
651+
652+
* Add the ability to reflect on defined attachments using the existing
653+
Active Record reflection mechanism.
654+
([Pull Request](https://github.com/rails/rails/pull/33018))
655+
656+
* Add `ActiveStorage::Blob#open`, which downloads a blob to a tempfile on disk
657+
and yields the tempfile.
658+
([Commit](https://github.com/rails/rails/commit/ee21b7c2eb64def8f00887a9fafbd77b85f464f1))
659+
660+
* Support streaming downloads from Google Cloud Storage. Require version 1.11+
661+
of the `google-cloud-storage` gem.
662+
([Pull Request](https://github.com/rails/rails/pull/32788))
663+
664+
* Use the `image_processing` gem for Active Storage variants. This replaces using
665+
`mini_magick` directly.
666+
([Pull Request](https://github.com/rails/rails/pull/32471)
667+
668+
* Replace existing images instead of adding to them when updating an
669+
attached model via `update` or `update!` with, say, `@user.update!(images: [ … ])`.
612670
([Pull Request](https://github.com/rails/rails/pull/33303))
613671

614672
Active Model

0 commit comments

Comments
 (0)