diff options
author | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-01 18:59:56 +0100 |
---|---|---|
committer | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-04 15:02:58 +0100 |
commit | 1858cc60701dcfb801b9634a1da0177eaeba3807 (patch) | |
tree | 046085ccdd7c97b46e2694429ecb45642ad41008 /actionview/CHANGELOG.md | |
parent | 8ed0f542ddd1f38b0b42f595d828d2e4db9b6682 (diff) | |
download | rails-1858cc60701dcfb801b9634a1da0177eaeba3807.tar.gz rails-1858cc60701dcfb801b9634a1da0177eaeba3807.tar.bz2 rails-1858cc60701dcfb801b9634a1da0177eaeba3807.zip |
Variants in ActionView::Digestor
Take variants into account when calculating template digests in
ActionView::Digest.
Digestor#digest now takes a hash as an argument to support variants and
allow more flexibility in the future. Old-style arguments have been
deprecated.
Fixes #14242
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r-- | actionview/CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 67b953a782..e46f55a875 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -5,4 +5,13 @@ *Sergey Prikhodko* +* Take variants into account when calculating template digests in ActionView::Digestor. + + The arguments to ActionView::Digestor#digest are now being passed as a hash + to support variants and allow more flexibility in the future. The support for + regular (required) arguments is deprecated and will be removed in Rails 5.0 or later. + + *Piotr Chmolowski, Łukasz Strzałkowski* + + Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionview/CHANGELOG.md) for previous changes. |