aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md114
1 files changed, 36 insertions, 78 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 147e5b47db..86e20ad202 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,103 +1,61 @@
-* Allow custom `:host` option to be passed to `asset_url` helper that
- overwrites `config.action_controller.asset_host` for particular asset.
+* Fixed a dependency tracker bug that caused template dependencies not
+ count layouts as dependencies for partials.
- *Hubert Łępicki*
+ *Juho Leinonen*
-* Deprecate `AbstractController::Base.parent_prefixes`.
- Override `AbstractController::Base.local_prefixes` when you want to change
- where to find views.
+* Extracted `ActionView::Helpers::RecordTagHelper` to external gem
+ (`record_tag_helper`) and added removal notices.
- *Nick Sutterer*
+ *Todd Bealmear*
-* Take label values into account when doing I18n lookups for model attributes.
+* Allow to pass a string value to `size` option in `image_tag` and `video_tag`.
- The following:
+ This makes the behavior more consistent with `width` or `height` options.
- # form.html.erb
- <%= form_for @post do |f| %>
- <%= f.label :type, value: "long" %>
- <% end %>
+ *Mehdi Lahmam*
- # en.yml
- en:
- activerecord:
- attributes:
- post/long: "Long-form Post"
+* Partial template name does no more have to be a valid Ruby identifier.
- Used to simply return "long", but now it will return "Long-form
- Post".
+ There used to be a naming rule that the partial name should start with
+ underscore, and should be followed by any combination of letters, numbers
+ and underscores.
+ But now we can give our partials any name starting with underscore, such as
+ _🍔.html.erb.
- *Joshua Cody*
+ *Akira Matsuda*
-* Change `asset_path` to use File.join to create proper paths:
+* Change the default template handler from `ERB` to `Raw`.
- Before:
+ Files without a template handler in their extension will be rendered using the raw
+ handler instead of ERB.
- https://some.host.com//assets/some.js
+ *Rafael Mendonça França*
- After:
+* Remove deprecated `AbstractController::Base::parent_prefixes`.
- https://some.host.com/assets/some.js
+ *Rafael Mendonça França*
- *Peter Schröder*
+* Default translations that have a lower precedence than a html safe default,
+ but are not themselves safe, should not be marked as html_safe.
-* Change `favicon_link_tag` default mimetype from `image/vnd.microsoft.icon` to
- `image/x-icon`.
+ *Justin Coyne*
- Before:
+* Make possible to use blocks with short version of `render "partial"` helper.
- #=> favicon_link_tag 'myicon.ico'
- <link href="/assets/myicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
+ *Nikolay Shebanov*
- After:
+* Add a `hidden_field` on the `file_field` to avoid raise a error when the only
+ input on the form is the `file_field`.
- #=> favicon_link_tag 'myicon.ico'
- <link href="/assets/myicon.ico" rel="shortcut icon" type="image/x-icon" />
+ *Mauro George*
- *Geoffroy Lorieux*
+* Add an explicit error message, in `ActionView::PartialRenderer` for partial
+ `rendering`, when the value of option `as` has invalid characters.
-* Remove wrapping div with inline styles for hidden form fields.
+ *Angelo Capilleri*
- We are dropping HTML 4.01 and XHTML strict compliance since input tags directly
- inside a form are valid HTML5, and the absense of inline styles help in validating
- for Content Security Policy.
+* Allow entries without a link tag in AtomFeedHelper.
- *Joost Baaij*
+ *Daniel Gomez de Souza*
-* `collection_check_boxes` respects `:index` option for the hidden filed name.
-
- Fixes #14147.
-
- *Vasiliy Ermolovich*
-
-* `date_select` helper with option `with_css_classes: true` does not overwrite other classes.
-
- *Izumi Wong-Horiuchi*
-
-* `number_to_percentage` does not crash with `Float::NAN` or `Float::INFINITY`
- as input.
-
- Fixes #14405.
-
- *Yves Senn*
-
-* Add `include_hidden` option to `collection_check_boxes` helper.
-
- *Vasiliy Ermolovich*
-
-* Fixed a problem where the default options for the `button_tag` helper is not
- applied correctly.
-
- Fixes #14254.
-
- *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.
+Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/actionview/CHANGELOG.md) for previous changes.