diff options
author | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-23 21:27:28 +0200 |
---|---|---|
committer | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-23 21:27:28 +0200 |
commit | 151167eb3d9510bfb0f1408c150b5564b44cb2e6 (patch) | |
tree | 861a95b5754c526b6df113b160a87492229e2c21 | |
parent | 7e4ad3f13daa227d4cbf860dbc5399ddb807a35b (diff) | |
download | rails-151167eb3d9510bfb0f1408c150b5564b44cb2e6.tar.gz rails-151167eb3d9510bfb0f1408c150b5564b44cb2e6.tar.bz2 rails-151167eb3d9510bfb0f1408c150b5564b44cb2e6.zip |
Add CHANGELOG entry
-rw-r--r-- | activestorage/CHANGELOG.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md index d794afb0e6..60d7d19540 100644 --- a/activestorage/CHANGELOG.md +++ b/activestorage/CHANGELOG.md @@ -1,3 +1,22 @@ +* Use the [ImageProcessing](https://github.com/janko-m/image_processing) gem + for Active Storage variants, and deprecate the MiniMagick backend. + + This means that variants are now automatically oriented if the original + image was rotated. Also, in addition to the existing ImageMagick + operations, variants can now use `:resize_to_fit`, `:resize_to_fill`, and + other ImageProcessing macros. These are now recommended over raw `:resize`, + as they also sharpen the thumbnail after resizing. + + The ImageProcessing gem also comes with a backend implemented on + [libvips](http://jcupitt.github.io/libvips/), an alternative to + ImageMagick which has significantly better performance than + ImageMagick in most cases, both in terms of speed and memory usage. In + Active Storage it's now possible to switch to the libvips backend by + changing `Rails.application.config.active_storage.variant_processor` to + `:vips`. + + *Janko Marohnić* + * Rails 6 requires Ruby 2.4.1 or newer. *Jeremy Daer* |