提交 269e1159 编写于 作者: J Jon Moss

Add Action View info to 5.1 release notes

[ci skip]
上级 295b2025
...@@ -314,10 +314,33 @@ Please refer to the [Changelog][action-view] for detailed changes. ...@@ -314,10 +314,33 @@ Please refer to the [Changelog][action-view] for detailed changes.
### Removals ### Removals
* Removed deprecated `#original_exception` in `ActionView::Template::Error`.
([commit](https://github.com/rails/rails/commit/b9ba263e5aaa151808df058f5babfed016a1879f))
* Remove the option `encode_special_chars` misnomer from `strip_tags`.
([Pull Request](https://github.com/rails/rails/pull/28061))
### Deprecations ### Deprecations
* Deprecated Erubis ERB handler in favor of Erubi.
([Pull Request](https://github.com/rails/rails/pull/27757))
### Notable changes ### Notable changes
* Raw template handler (the default template handler in Rails 5) now outputs
HTML-safe strings.
([commit](https://github.com/rails/rails/commit/1de0df86695f8fa2eeae6b8b46f9b53decfa6ec8))
* Change `datetime_field` and `datetime_field_tag` to generate `datetime-local`
fields.
([Pull Request](https://github.com/rails/rails/pull/28061))
* New Builder-style syntax for HTML tags (`tag.div`, `tag.br`, etc.)
([Pull Request](https://github.com/rails/rails/pull/25543))
* Add `form_with` to unify `form_tag` and `form_for` usage.
([Pull Request](https://github.com/rails/rails/pull/26976))
Action Mailer Action Mailer
------------- -------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册