1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/CHANGELOG.md
kami-zh 9431529011 Change Active Storage destroy callbacks
There is concern that only blob are deleted depending on
the `before_destroy` definition order which throws abort.
2018-01-09 22:47:02 +09:00

663 B

  • 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.

    Yuji Yaginuma

Rails 5.2.0.beta1 (November 27, 2017)

  • Added to Rails.

    DHH