aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/CHANGELOG.md')
-rw-r--r--activestorage/CHANGELOG.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md
index c5171e7490..061898d143 100644
--- a/activestorage/CHANGELOG.md
+++ b/activestorage/CHANGELOG.md
@@ -1,3 +1,26 @@
+* Preserve display aspect ratio when extracting width and height from videos
+ with rectangular samples in `ActiveStorage::Analyzer::VideoAnalyzer`.
+
+ When a video contains a display aspect ratio, emit it in metadata as
+ `:display_aspect_ratio` rather than the ambiguous `:aspect_ratio`. Compute
+ its height by scaling its encoded frame width according to the DAR.
+
+ *George Claghorn*
+
+* Use `after_destroy_commit` instead of `before_destroy` for purging
+ attachments when a record is destroyed.
+
+ *Hiroki Zenigami*
+
+
+* Force `:attachment` disposition for specific, configurable content types.
+ This mitigates possible security issues such as XSS or phishing when
+ serving them inline. A list of such content types is included by default,
+ and can be configured via `content_types_to_serve_as_binary`.
+
+ *Rosa Gutierrez*
+
+
## Rails 5.2.0.beta2 (November 28, 2017) ##
* Fix the gem adding the migrations files to the package.